# manuelcan-do-it/auto-ecole-ya-ngone architecture

> Architecture diagram of the GitHub repository manuelcan-do-it/auto-ecole-ya-ngone, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/manuelcan-do-it/auto-ecole-ya-ngone
- Repository: https://github.com/manuelcan-do-it/auto-ecole-ya-ngone

## Overview

Auto école Ya Ngoné is a public-facing driving-school website. Visitors explore training categories, prices, enrollment requirements and practical advice, then contact the school or submit a pre-registration that opens WhatsApp. Its editorial branch supports category/search filtering, article pages and related reading. The sampled code shows the page and editorial component relationships; SEO metadata, sitemap and robots behavior are documented by the source index, but their details were not inspected here.

Main entry points: [`app/conseils/[slug]/page.tsx`](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/conseils/%5Bslug%5D/page.tsx) (Article page), [`app/page.tsx`](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/page.tsx) (School homepage), [`app/editorial-content.ts`](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/editorial-content.ts) (Article content), [`app/site-url.ts`](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/site-url.ts) (Canonical site URL)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_public["School website"]
  node_home["School homepage<br/>[page.tsx]"]
  node_whatsapp_icon["WhatsApp icon<br/>[WhatsAppIcon.tsx]"]
  node_layout["Site layout<br/>[layout.tsx]"]
end

subgraph group_editorial["Advice publishing"]
  node_editorial_listing["Advice listing<br/>[page.tsx]"]
  node_article_directory["Article directory"]
  node_article_card["Article card<br/>[ArticleCard.tsx]"]
  node_article_page["Article page<br/>[page.tsx]"]
  node_article_toc["Article contents"]
  node_editorial_chrome["Editorial header/footer"]
end

subgraph group_content["Site content"]
  node_school_content["School information<br/>[site-content.ts]"]
  node_editorial_content["Article content"]
  node_site_url["Canonical site URL<br/>[site-url.ts]"]
end

subgraph group_discovery["SEO discovery"]
  node_robots["Robots rules<br/>[robots.ts]"]
  node_sitemap["Sitemap<br/>[sitemap.ts]"]
end

node_visitor(("Site visitor"))
node_whatsapp(("WhatsApp"))
node_search_engine(("Search engine"))
node_maps(("Google Maps"))

node_visitor -->|"visits"| node_home
node_home -->|"reads"| node_school_content
node_home -->|"renders"| node_whatsapp_icon
node_home -->|"opens pre-registration"| node_whatsapp
node_whatsapp_icon -.-> node_whatsapp
node_visitor -->|"visits"| node_editorial_listing
node_editorial_listing -->|"renders"| node_article_directory
node_editorial_listing -->|"renders"| node_editorial_chrome
node_article_directory -->|"filters"| node_editorial_content
node_article_directory -->|"renders"| node_article_card
node_article_card -->|"reads"| node_editorial_content
node_visitor -->|"opens article"| node_article_page
node_article_page -->|"loads article"| node_editorial_content
node_article_page -->|"renders related articles"| node_article_card
node_article_page -->|"renders"| node_article_toc
node_article_page -->|"renders"| node_editorial_chrome
node_article_page -->|"builds article schema"| node_site_url
node_layout -->|"uses canonical URL"| node_site_url
node_robots -->|"uses site URL"| node_site_url
node_sitemap -->|"uses site URL"| node_site_url
node_sitemap -->|"lists articles"| node_editorial_content
node_search_engine -.->|"reads rules"| node_robots
node_search_engine -.->|"discovers pages"| node_sitemap
node_home -->|"embeds location map"| node_maps

click node_home "https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/page.tsx"
click node_school_content "https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/site-content.ts"
click node_whatsapp_icon "https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/components/WhatsAppIcon.tsx"
click node_editorial_listing "https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/conseils/page.tsx"
click node_article_directory "https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/components/ArticleDirectory.tsx"
click node_article_card "https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/components/ArticleCard.tsx"
click node_article_page "https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/conseils/%5Bslug%5D/page.tsx"
click node_article_toc "https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/components/ArticleTableOfContents.tsx"
click node_editorial_chrome "https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/components/EditorialChrome.tsx"
click node_editorial_content "https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/editorial-content.ts"
click node_site_url "https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/site-url.ts"
click node_layout "https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/layout.tsx"
click node_robots "https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/robots.ts"
click node_sitemap "https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/sitemap.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_home,node_whatsapp_icon,node_layout toneBlue
class node_editorial_listing,node_article_directory,node_article_card,node_article_page,node_article_toc,node_editorial_chrome toneAmber
class node_school_content,node_editorial_content,node_site_url toneMint
class node_robots,node_sitemap toneRose
class node_visitor,node_whatsapp,node_search_engine,node_maps toneIndigo
```

## Components

### School website

- [School homepage](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/page.tsx): `app/page.tsx`
- [WhatsApp icon](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/components/WhatsAppIcon.tsx): `app/components/WhatsAppIcon.tsx`
- [Site layout](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/layout.tsx): `app/layout.tsx`

### Advice publishing

- [Advice listing](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/conseils/page.tsx): `app/conseils/page.tsx`
- [Article directory](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/components/ArticleDirectory.tsx): `app/components/ArticleDirectory.tsx`
- [Article card](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/components/ArticleCard.tsx): `app/components/ArticleCard.tsx`
- [Article page](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/conseils/%5Bslug%5D/page.tsx): `app/conseils/[slug]/page.tsx`
- [Article contents](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/components/ArticleTableOfContents.tsx): `app/components/ArticleTableOfContents.tsx`
- [Editorial header/footer](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/components/EditorialChrome.tsx): `app/components/EditorialChrome.tsx`

### Site content

- [School information](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/site-content.ts): `app/site-content.ts`
- [Article content](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/editorial-content.ts): `app/editorial-content.ts`
- [Canonical site URL](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/site-url.ts): `app/site-url.ts`

### SEO discovery

- [Robots rules](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/robots.ts): `app/robots.ts`
- [Sitemap](https://github.com/manuelcan-do-it/auto-ecole-ya-ngone/blob/main/app/sitemap.ts): `app/sitemap.ts`

### Other components

- **Site visitor**
- **WhatsApp**
- **Search engine**
- **Google Maps**

## Connections

- Site visitor → School homepage: visits (evidence: `README.md`)
- School homepage → School information: reads (evidence: `app/page.tsx`)
- School homepage → WhatsApp icon: renders (evidence: `app/page.tsx`)
- School homepage → WhatsApp: opens pre-registration (evidence: `app/page.tsx`)
- WhatsApp icon → WhatsApp
- Site visitor → Advice listing: visits (evidence: `app/conseils/page.tsx`)
- Advice listing → Article directory: renders (evidence: `app/conseils/page.tsx`)
- Advice listing → Editorial header/footer: renders (evidence: `app/conseils/page.tsx`)
- Article directory → Article content: filters (evidence: `app/components/ArticleDirectory.tsx`)
- Article directory → Article card: renders (evidence: `app/components/ArticleDirectory.tsx`)
- Article card → Article content: reads (evidence: `app/components/ArticleCard.tsx`)
- Site visitor → Article page: opens article (evidence: `app/conseils/[slug]/page.tsx`)
- Article page → Article content: loads article (evidence: `app/conseils/[slug]/page.tsx`)
- Article page → Article card: renders related articles (evidence: `app/conseils/[slug]/page.tsx`)
- Article page → Article contents: renders (evidence: `app/conseils/[slug]/page.tsx`)
- Article page → Editorial header/footer: renders (evidence: `app/conseils/[slug]/page.tsx`)
- Article page → Canonical site URL: builds article schema (evidence: `app/conseils/[slug]/page.tsx`)
- Site layout → Canonical site URL: uses canonical URL (evidence: `app/layout.tsx`)
- Robots rules → Canonical site URL: uses site URL (evidence: `app/robots.ts`)
- Sitemap → Canonical site URL: uses site URL (evidence: `app/sitemap.ts`)
- Sitemap → Article content: lists articles (evidence: `app/sitemap.ts`)
- Search engine → Robots rules: reads rules
- Search engine → Sitemap: discovers pages
- School homepage → Google Maps: embeds location map (evidence: `app/page.tsx`)
