From Static v1 to Full-Stack Application
This Darius Pizza site rewrite is a complete overhaul of the original site built in 2021.
While v1 aimed to deliver something useful quickly, v2 prioritizes long-term quality:
- structured content
- multilingual support
- real analytics
- and a clear path toward CMS and e-commerce
This project sits at the intersection of client site and product architecture — and is directly aligned with the WebOustaou ecosystem.
Objectives
- Deliver a fast, modern customer experience
- Support multiple languages without duplicating pages
- Clearly display real-time opening status and exceptions
- Properly measure usage and interactions
- Prepare the site for CMS and e-commerce features
Public Website
The site is designed as a content-driven marketing site, not a static brochure.
It includes:
- Dynamic opening hours and current status
- Featured products and menu access
- Clear contact and location information
- SEO-optimized pages per locale
All pages are server-rendered and optimized for performance.
Dynamic Opening Status
Opening hours are no longer just text on a page.
The system handles:
- Weekly schedules
- Exceptional closures
- Temporary messages
- Timezone-aware "open / closed" status
This removes ambiguity for customers and reduces calls for basic questions.
Multilingual Architecture
The site supports six languages: French, English, German, Italian, Spanish, and Dutch.
Key points:
- Locale-prefixed routing
- Shared structure, localized content
- Per-locale SEO metadata and sitemap entries
- Language switching without page duplication
This design allows scaling without increasing maintenance costs.
Analytics and Measurement
Unlike v1, analytics are treated as a priority.
The site includes:
- Consent-based analytics
- Event tracking for key interactions
- Clear separation between necessary and optional scripts
This enables understanding how the site is actually used while remaining compliant.
Connection to WebOustaou
This version is designed to be open to WebOustaou.
Architectural choices reflect this:
- Structured content loaders instead of hardcoded data
- Environment variables already aligned with a backend
- Feature flags for future actions (ordering, booking)
In practice:
- Darius Pizza is the client layer
- WebOustaou is the owner dashboard
Both share the same technical philosophy and can evolve together.
Technical Overview
- Framework: Next.js
- Language: TypeScript
- Rendering: Server Components + dynamic routes
- Styling: Tailwind CSS
- Internationalization: next-intl
- Analytics: consent-based configuration
- Hosting: Vercel
The architecture favors clarity and evolvability over short-term shortcuts.
What This Project Represents
This project marks a clear step forward:
- from "making a website"
- to "designing a system"
It combines:
- real client needs
- modern full-stack practices
- and a long-term product vision
Outcome
Darius Pizza v2 is live and in use. It replaces the old site while opening the door to future features without another rewrite.
Takeaway
Darius Pizza v2 is not just a redesign — it is a structural upgrade. It demonstrates that a small business site can be built with the same care and architecture as a modern product, while remaining simple to use and maintain.


