How ergrzaccar/ergr-zaccar works
This is a French/Arabic public-information website for a forestry and land-management organization, rather than the minimal starter described in the README. Visitors enter through routed pages to explore organizational information, activities, nurseries, projects, resources, news, tenders, careers and contact details. Search spans those domains; the careers flow also supports job and internship applications and alert subscriptions. The graph reflects documented routing and sampled imports; unsampled page internals and any server-backed integrations are not inferred.
Main entry points: searchIndex.ts Search index · CareersPage.tsx Careers page · router.tsx Page router · pages Information pages
Components 22
Application shell
- App providers
src/app/providers/AppProviders.tsx - Page router
src/app/router.tsx - Route metadata
src/app/routes.ts - Site shell
src/layouts/RootLayout.tsx - Translations
src/data/i18n
Public information
- Information pages
src/pages - Home content
src/data/home.ts - Organization content
src/data/organization.ts - Territory map
src/components/home/TerritoryMap.tsx - Nursery directory
src/data/nurseries.ts - Projects content
src/data/projectsPage.ts
Visitor engagement
- Search palette
src/components/search/SearchPaletteModal.tsx - Search state
src/context/SearchProvider.tsx - Search index
src/data/searchIndex.ts - Image lightbox
src/context/LightboxContext.tsx - Toast notifications
src/context/ToastContext.tsx
Careers
- Careers page
src/pages/CareersPage.tsx - Career listings
src/data/careersPage.ts - Job listings
src/components/careers/CareersJobsSection.tsx - Application form
src/components/careers/CareersApplicationSection.tsx - Alert subscription
src/components/alerts/AlertSubscriptionCard.tsx
Other components
- Visitor
Connections 29
- Visitor → Page router: opens site
src/app/router.tsx - App providers → Page router: wraps routes
src/App.tsx - Page router → Site shell: renders shell
src/app/router.tsx - Page router → Information pages: routes pages
src/app/router.tsx - Route metadata → Search index: supplies route entries
src/data/searchIndex.ts - Site shell → Search palette: renders palette
src/layouts/RootLayout.tsx - Information pages → Home content: presents home information
- Information pages → Organization content: presents organization information
- Territory map → Home content: reads content
src/components/home/TerritoryMap.tsx - Territory map → Organization content: reads content
src/components/home/TerritoryMap.tsx - Territory map → Nursery directory: reads locations
src/components/home/TerritoryMap.tsx - Search palette → Search index: filters items
src/components/search/SearchPaletteModal.tsx - Search palette → Search state: uses search context
src/components/search/SearchPaletteModal.tsx - Search state → Search index: loads index
src/context/SearchProvider.tsx - Search index → Nursery directory: indexes entries
src/data/searchIndex.ts - Search index → Projects content: indexes entries
src/data/searchIndex.ts - Search index → Career listings: indexes offers
src/data/searchIndex.ts - Search index → Information pages: indexes page routes
src/data/searchIndex.ts - App providers → Image lightbox: provides context
src/app/providers/AppProviders.tsx - App providers → Toast notifications: provides context
src/app/providers/AppProviders.tsx - Page router → Careers page: routes careers
src/app/router.tsx - Careers page → Job listings: renders listings
src/pages/CareersPage.tsx - Careers page → Application form: renders application
src/pages/CareersPage.tsx - Careers page → Alert subscription: renders subscription
src/pages/CareersPage.tsx - Job listings → Career listings: reads offers
src/components/careers/CareersJobsSection.tsx - Application form → Career listings: uses career data
src/components/careers/CareersApplicationSection.tsx - Application form → Toast notifications: shows notifications
src/components/careers/CareersApplicationSection.tsx - Alert subscription → Toast notifications: shows notifications
src/components/alerts/AlertSubscriptionCard.tsx - Careers page → Translations: uses translations