How nutala/lagence-de-scott works
This repository combines a public digital-agency website with a staff-facing operations dashboard. Prospective clients browse service packages and business information, then reach the agency through the contact section; staff sign in to manage clients, projects, tasks, quotes, invoices, planning, and settings. The sampled admin data context confirms Supabase-backed records and refreshes, while the tree identifies additional dashboard modules. Some subsystem links are omitted where the available excerpts do not establish their wiring.
Main entry points: AdminShell.tsx Dashboard shell · App.tsx Agency website · AdminApp.tsx Admin application · AdminDataContext.tsx Admin data context
Components 23
Public website
- Agency website
src/App.tsx - Service packages
src/Packs.tsx - Contact options
src/App.tsx
Staff dashboard
- Admin application
src/admin/AdminApp.tsx - Staff login
src/admin/Login.tsx - MFA challenge
src/admin/MfaChallenge.tsx - Dashboard shell
src/admin/AdminShell.tsx - Dashboard overview
src/admin/pages/Dashboard.tsx - Client records
src/admin/pages/Clients.tsx - Project records
src/admin/pages/Projets.tsx - Task management
src/admin/pages/Taches.tsx - Quote management
src/admin/pages/Devis.tsx - Invoice management
src/admin/pages/Factures.tsx - Planning
src/admin/pages/Planning.tsx - Settings
src/admin/pages/Settings.tsx - Document export
src/admin/pdf.ts
Data and services
- Admin data context
src/admin/AdminDataContext.tsx - Supabase client
src/admin/supabaseClient.ts - Supabase database
supabase/schema.sql
Legal information
- Terms of sale
src/CGV.tsx - Legal notice
src/MentionsLegales.tsx
Other components
- Prospective client
- Agency staff
Connections 25
- Prospective client → Agency website: browses
- Agency website → Service packages: shows offers
- Agency website → Contact options: presents contact
- Agency website → Terms of sale: opens terms
- Agency website → Legal notice: opens notice
- Agency staff → Admin application: opens dashboard
- Admin application → Staff login: shows login
- Admin application → MFA challenge: requests MFA
- Admin application → Dashboard shell: shows workspace
- Dashboard shell → Dashboard overview: shows overview
- Dashboard shell → Client records: dispatches page
- Dashboard shell → Project records: dispatches page
- Dashboard shell → Task management: dispatches page
- Dashboard shell → Quote management: dispatches page
- Dashboard shell → Invoice management: dispatches page
- Dashboard shell → Planning: dispatches page
- Dashboard shell → Settings: dispatches page
- Quote management → Document export: prints document
- Invoice management → Document export: prints document
- Admin application → Admin data context: provides data
- Client records → Admin data context: reads and updates
- Quote management → Admin data context: reads and updates
- Invoice management → Admin data context: reads and updates
- Admin data context → Supabase client: uses client
- Supabase client → Supabase database: connects to