A modern, responsive website for Formula Hellas, a new Formula Student competition, part of the Formula Student World Competition Series, hosted at the Serres Racing Circuit in Northern Greece. The first edition runs 02–07 August 2026.
- Modern Racing-Inspired Design: Clean, modern design with racing-inspired accents and animations
- Enhanced UX: Smooth scroll animations, interactive components, and improved mobile experience
- CMS Integration: Optional content management powered by Sanity.io (news, documents)
- Pages: Home, Competition 2026, About (incl. Classes & Venue), Registration & Fees, Rules & Documents, Join Us, Contact, Team Portal
- SEO Optimized: Built-in SEO features with Next.js
- Type Safe: Full TypeScript support
- Framework: Next.js 16 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS
- CMS: Sanity.io (optional)
- Database: Supabase (contact form, registration quiz)
- Email: Resend
- Deployment: Ready for Vercel, Netlify, or any Node.js hosting
Two files hold everything you are likely to change:
lib/site-config.ts— brand name, production domain, and all contact details. Anything set tonull(emails, social links, the Hub URL) renders as "Coming soon" in the UI with its link/button disabled. Replace anullwith a real value to enable it. Do not invent values — leave themnulluntil known.content/site.ts— all marketing copy (Home, About, Classes, Venue, Rules, Registration, Fees, Contact), in plain editable strings. Dates use DD-MM-YYYY format.
- Node.js 18+ and npm
-
Install dependencies:
npm install
-
(Optional) Set up environment variables in
.env.local— see the*_SETUP.mdfiles for Sanity, Supabase, Resend and Vercel configuration. The site renders without a CMS; CMS-backed sections (news, documents) simply stay empty. -
Run the development server (port 3333):
npm run dev
-
Open http://localhost:3333 in your browser.
Access the Sanity Studio at /studio to manage optional content (news, documents).
app/ # Next.js App Router pages
├── events/[year]/ # Competition 2026 page
├── about/ # About (incl. Classes & Venue)
├── registration/ # Registration, eligibility & fees
├── rules/ # Rules & Documents
├── join-us/ # Join Us (judge / scrutineer / volunteer)
├── contact/ # Contact
├── team-portal/ # Team Portal
└── studio/ # Sanity Studio
components/ # React components
content/site.ts # Editable marketing copy
lib/
├── site-config.ts # Brand, domain & contact constants ("Coming soon" placeholders)
├── sanity.queries.ts # Sanity queries
└── seo.ts # SEO / metadata helpers
public/ # Static assets
npm run build
npm startNEXT_PUBLIC_SITE_URL: Production site URL (used for canonical URLs, sitemap, structured data)NEXT_PUBLIC_SANITY_PROJECT_ID/NEXT_PUBLIC_SANITY_DATASET/SANITY_API_TOKEN: Sanity CMS (optional)STUDIO_PASSWORD: Password to access Sanity StudioREVALIDATE_SECRET: Secret token for on-demand revalidation webhookNEXT_PUBLIC_SUPABASE_URL/NEXT_PUBLIC_SUPABASE_ANON_KEY: Supabase (contact form, quiz)RESEND_API_KEY: Resend API key for sending emailsFROM_EMAIL: Verified sender address for outgoing email (set to a Formula Hellas address once the sending domain is verified in Resend)NOTIFICATION_EMAILS: Comma-separated list of addresses to receive form submission notifications
This project is private and proprietary.