The website for Les Affinés — one exceptional cheese from a single maker, four times a year, tasted across three ages. Built with Next.js 16 (App Router), Tailwind CSS 4 and Motion.
npm install
npm run dev # http://localhost:3000
npm run build # production build (all pages are static)
npm run lint
| Route | What it is |
|---|---|
/ |
The home page: hero, the idea, La Sélection No. I, the three ages, the maker, the journal, the year, questions, La Lettre |
/la-selection |
The dossier for No. I — Brie de Meaux AOP from Fromagerie Dongé, and how to taste it |
sitemap.xml, robots.txt, the favicon and the social sharing image are
generated from src/app.
Almost all copy lives in two files:
src/lib/content.ts — the selection, the three ages (with their tasting
notes and the tint used to “age” the wheel photo), principles, maker facts,
FAQ, appellation specs, tasting steps and pairings.src/lib/site.ts — navigation, social links and the Mailchimp audience.When the next selection is announced, update selection, ages, the
Seasons cards in src/components/home/seasons.tsx and the dossier page.
The sign-up form posts to Mailchimp’s JSONP endpoint so it can show the real
result (subscribed, already subscribed, invalid address) without leaving the
page. The audience IDs are in src/lib/site.ts → mailchimp.
Check this before launch. The IDs were carried over from the previous single-page site, and Mailchimp currently answers
404for that audience (even its hosted sign-up page). Copy a fresh embedded-form URL from Mailchimp → Audience → Signup forms → Embedded form, and updatehost,u,idandfidfrom itsactionattribute.
Set NEXT_PUBLIC_SITE_URL (for example https://lesaffines.com) so canonical
URLs, the sitemap and social images point at the right domain. On Vercel the
production URL is picked up automatically.
brie-flatlay.jpg, donge-label.webp — supplied by Les Affinés. The label
engraving (donge-landscape.png) is extracted from the Dongé label.The journal on the home page is drawn in CSS; swap in photographs of the real L’Affiné when they exist.