Website Architecture
The Yemira Services Nettoyages website is built with modern web technologies, leveraging Next.js 15 with the App Router for optimal performance and developer experience.Technology Stack
Core Framework
Next.js 15.3.5
Modern React framework with App Router for server-side rendering and optimal performance
React 19
Latest React version with improved performance and new features
TypeScript 5
Type-safe development with full TypeScript support
Tailwind CSS v4
Utility-first CSS framework for rapid UI development
Key Dependencies
Based on the project’spackage.json, here are the essential dependencies:
UI & Styling
Utility-first CSS framework (version 4.x)
PostCSS plugin for Tailwind CSS v4
Animation utilities for Tailwind CSS
Icon library with React components
Component Libraries
Primitive for composition and slot-based component patterns
CVA for building type-safe component APIs with variants
Utility for constructing className strings conditionally
Merge Tailwind CSS classes without style conflicts
Feature-Specific Libraries
Lightweight carousel library with touch support
React wrapper for Embla Carousel
Responsive masonry layout component
Project Structure
The project follows Next.js 15 App Router conventions:App Router Architecture
Root Layout
The root layout (app/layout.tsx) provides the base structure for all pages:
Layout Components
The layout includes:- NavBar - Fixed navigation with company logo and CTA button
- Main Content - Dynamic page content
- Footer - Site links and contact information
- Whatsapp - Fixed WhatsApp button for customer support
Styling Architecture
Tailwind CSS v4 Configuration
The project uses Tailwind CSS v4 with custom theme configuration:Custom Fonts
The site uses the Circular Std font family:- Circular Std Book - Body text
- Circular Std Medium - Buttons and medium weight text
- Circular Std Bold - Headings
- Usage
- Font Face
Development Workflow
Available Scripts
The development server uses Turbopack (
--turbopack flag) for faster builds and hot module replacement.Performance Optimizations
Image Optimization
Next.js
Image component with automatic optimization and lazy loadingServer Components
React Server Components by default for reduced client-side JavaScript
Code Splitting
Automatic code splitting with dynamic imports
Static Generation
Static page generation where possible for faster page loads
TypeScript Configuration
The project uses strict TypeScript with Next.js-specific configurations:tsconfig.json
Next Steps
Components
Explore component documentation and implementation details
Deployment
Learn about deployment and production configurations