# Noble Code

Website for a Geneva jewelry maison that designs pieces as CAD files and licenses them to jewelers. The brief ruled out a CMS, so the hard parts were letting the client publish designs from the repo without breaking the live site, and running a static Next.js site on Cloudflare.

- **Facts:** 2026, Built for a client, Live, role: Sole developer
- **What I did:** Built the whole website on my own with Claude Code, from the Figma design: the pages, the content and image pipelines, the contact Worker and the Cloudflare deploy.
- **Scope:** fullstack
- **Domain:** lifestyle
- **Stack:** Lemon Squeezy, Polar, Next.js, React, TypeScript, Tailwind CSS, Base UI, SEO, Cloudflare Workers, sharp, GitHub Actions, React Hook Form, Zod, React Compiler, Embla Carousel, T3 Env, nuqs, Ultracite, Biome, dotenvx, Claude Code, Playwright, Figma, shadcn/ui, pnpm, Python, Turbopack
- **Live:** https://www.noblecode.design
- **Page:** https://sergey-petrinich.vercel.app/work/noble-code
- **Screenshot:** https://sergey-petrinich.vercel.app/work/noble-code.webp

Capabilities:

- 11 live URLs: Home, Collection, Licensing, Bespoke gallery, Contact, Legal notice and five product pages
- Bespoke gallery fed by commission files, newest first
- Five filters and three sorts with state kept in the URL
- Product pages with a gallery of up to 8 images and 3 videos, a spec per size and metal, a stones table and a related designs carousel
- License button linking to a Lemon Squeezy checkout, re-bound after client-side navigation
- Form on a Cloudflare Worker with Zod, a honeypot, Cloudflare Turnstile and Resend
- Designs published by the client from the GitHub web editor, checked by a strict Zod schema
- Dev-to-main promotion that runs the production build and fast-forwards only for content paths
- Build-time image pipeline: AVIF and WebP at five widths, blur placeholders, content-hashed file names
- Product, Offer, BreadcrumbList, Organization and WebSite JSON-LD, with indexing only on the production build

Back to the [work archive](https://sergey-petrinich.vercel.app/work.md) · [CV](https://sergey-petrinich.vercel.app/cv.md) · [all of it in one file](https://sergey-petrinich.vercel.app/llms-full.txt)
