# barnabadaniel7/100fold_website architecture

> Architecture diagram of the GitHub repository barnabadaniel7/100fold_website, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-08-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/barnabadaniel7/100fold_website
- Repository: https://github.com/barnabadaniel7/100fold_website

## Overview

#### Purpose and Runtime
This is a Vite-powered React single-page marketing site, likely for services or consultancy work. The browser client is the primary product; a separate Python server may support local/static hosting. Core runtime files: `src/main.jsx`, `src/App.jsx`, `server.py`, `vite.config.js`.

#### Client Entry and Composition
`src/main.jsx` mounts the React application and imports global styling. `src/App.jsx` is the application composition/root routing boundary, selecting page-level content and shared layout. Styling is split between global CSS and app-level CSS in `src/index.css` and `src/App.css`.

#### Page-Level Content
The site is organized as independently rendered marketing sections/pages:
- `src/pages/HomePage.jsx`
- `src/pages/ServicesPage.jsx`
- `src/pages/HowItWorksPage.jsx`
- `src/pages/CaseStudiesPage.jsx`
- `src/pages/WhyUsPage.jsx`
- `src/pages/ContactPage.jsx`

`App.jsx` is the central control point for navigation state and page selection, rather than a dedicated router package evident in the tree.

#### Shared Navigation and Shell
Reusable site chrome is separated from page content. `src/components/Navbar.jsx` provides navigation and likely drives page selection or anchors; `src/components/Footer.jsx` provides the persistent footer. These components form the main shared UI boundary around page content.

#### Notification Boundary
`src/components/ui/sonner.jsx` encapsulates toast/notification presentation. Pages or the app shell can use this boundary for user feedback—especially relevant to contact or interaction flows—without embedding notification mechanics in each page.

#### Styling and Build Pipeline
Tailwind is configured through `tailwind.config.js`, with PostCSS integration in `postcss.config.js`; authored CSS remains in `src/index.css` and `src/App.css`. Vite handles client development and production bundling via `vite.config.js`, with `index.html` as the HTML host document.

#### Deployment/Serving Boundary
The built frontend can be served through the Vite output workflow or the Python entry point in `server.py`. No backend API, database layer, authentication system, or external service integration is represented in the available tree; contact and other interactive behavior should therefore remain client-side unless `server.py` adds serving behavior outside the visible structure.

Main entry points: [`src/App.jsx`](https://github.com/barnabadaniel7/100fold_website/blob/main/src/App.jsx) (App shell), [`src/main.jsx`](https://github.com/barnabadaniel7/100fold_website/blob/main/src/main.jsx) (React entry), [`index.html`](https://github.com/barnabadaniel7/100fold_website/blob/main/index.html) (HTML host), [`vite.config.js`](https://github.com/barnabadaniel7/100fold_website/blob/main/vite.config.js) (Vite)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["React client"]
  node_html["HTML host<br/>document<br/>[index.html]"]
  node_main["React entry<br/>client entry<br/>[main.jsx]"]
  node_styles["Global and app styles<br/>CSS<br/>[index.css]"]
end

subgraph group_ui["UI composition"]
  node_app["App shell<br/>composition root<br/>[App.jsx]"]
  node_navbar["Navbar<br/>shared component<br/>[Navbar.jsx]"]
  node_footer["Footer<br/>shared component<br/>[Footer.jsx]"]
  node_pages["Marketing pages<br/>page set"]
  node_home["Home page<br/>[HomePage.jsx]"]
  node_services["Services page<br/>[ServicesPage.jsx]"]
  node_how["How it works<br/>page<br/>[HowItWorksPage.jsx]"]
  node_cases["Case studies<br/>page"]
  node_why["Why us<br/>page<br/>[WhyUsPage.jsx]"]
  node_contact["Contact page<br/>[ContactPage.jsx]"]
  node_toasts["Toast notifications<br/>feedback component<br/>[sonner.jsx]"]
end

subgraph group_delivery["Build and serving"]
  node_vite{{"Vite<br/>build tool<br/>[vite.config.js]"}}
  node_tailwind{{"Tailwind pipeline<br/>CSS build pipeline<br/>[tailwind.config.js]"}}
  node_server["Python server<br/>static server<br/>[server.py]"]
end

node_html -->|"loads"| node_main
node_main -->|"mounts"| node_app
node_main -->|"imports"| node_styles
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_footer
node_app -->|"selects"| node_pages
node_pages -->|"includes"| node_home
node_pages -->|"includes"| node_services
node_pages -->|"includes"| node_how
node_pages -->|"includes"| node_cases
node_pages -->|"includes"| node_why
node_pages -->|"includes"| node_contact
node_app -->|"hosts feedback"| node_toasts
node_contact -.->|"notifies"| node_toasts
node_vite -->|"builds from"| node_html
node_vite -->|"bundles"| node_main
node_tailwind -->|"processes"| node_styles
node_server -.->|"serves built site"| node_html

click node_html "https://github.com/barnabadaniel7/100fold_website/blob/main/index.html"
click node_main "https://github.com/barnabadaniel7/100fold_website/blob/main/src/main.jsx"
click node_app "https://github.com/barnabadaniel7/100fold_website/blob/main/src/App.jsx"
click node_navbar "https://github.com/barnabadaniel7/100fold_website/blob/main/src/components/Navbar.jsx"
click node_footer "https://github.com/barnabadaniel7/100fold_website/blob/main/src/components/Footer.jsx"
click node_home "https://github.com/barnabadaniel7/100fold_website/blob/main/src/pages/HomePage.jsx"
click node_services "https://github.com/barnabadaniel7/100fold_website/blob/main/src/pages/ServicesPage.jsx"
click node_how "https://github.com/barnabadaniel7/100fold_website/blob/main/src/pages/HowItWorksPage.jsx"
click node_cases "https://github.com/barnabadaniel7/100fold_website/blob/main/src/pages/CaseStudiesPage.jsx"
click node_why "https://github.com/barnabadaniel7/100fold_website/blob/main/src/pages/WhyUsPage.jsx"
click node_contact "https://github.com/barnabadaniel7/100fold_website/blob/main/src/pages/ContactPage.jsx"
click node_toasts "https://github.com/barnabadaniel7/100fold_website/blob/main/src/components/ui/sonner.jsx"
click node_styles "https://github.com/barnabadaniel7/100fold_website/blob/main/src/index.css"
click node_vite "https://github.com/barnabadaniel7/100fold_website/blob/main/vite.config.js"
click node_tailwind "https://github.com/barnabadaniel7/100fold_website/blob/main/tailwind.config.js"
click node_server "https://github.com/barnabadaniel7/100fold_website/blob/main/server.py"

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_html,node_main,node_styles toneBlue
class node_app,node_navbar,node_footer,node_pages,node_home,node_services,node_how,node_cases,node_why,node_contact,node_toasts toneAmber
class node_vite,node_tailwind,node_server toneMint
```

## Components

### React client

Browser-rendered marketing site.

- [HTML host](https://github.com/barnabadaniel7/100fold_website/blob/main/index.html): document · `index.html`
- [React entry](https://github.com/barnabadaniel7/100fold_website/blob/main/src/main.jsx): client entry · Mounts the application and global styles. · `src/main.jsx`
- [Global and app styles](https://github.com/barnabadaniel7/100fold_website/blob/main/src/index.css): CSS · `src/index.css`

### UI composition

Shared shell, pages, and feedback UI.

- [App shell](https://github.com/barnabadaniel7/100fold_website/blob/main/src/App.jsx): composition root · Owns navigation state and page selection. · `src/App.jsx`
- [Navbar](https://github.com/barnabadaniel7/100fold_website/blob/main/src/components/Navbar.jsx): shared component · `src/components/Navbar.jsx`
- [Footer](https://github.com/barnabadaniel7/100fold_website/blob/main/src/components/Footer.jsx): shared component · `src/components/Footer.jsx`
- **Marketing pages**: page set · Home, services, process, case studies, why-us, and contact content.
- [Home page](https://github.com/barnabadaniel7/100fold_website/blob/main/src/pages/HomePage.jsx): page · `src/pages/HomePage.jsx`
- [Services page](https://github.com/barnabadaniel7/100fold_website/blob/main/src/pages/ServicesPage.jsx): page · `src/pages/ServicesPage.jsx`
- [How it works](https://github.com/barnabadaniel7/100fold_website/blob/main/src/pages/HowItWorksPage.jsx): page · `src/pages/HowItWorksPage.jsx`
- [Case studies](https://github.com/barnabadaniel7/100fold_website/blob/main/src/pages/CaseStudiesPage.jsx): page · `src/pages/CaseStudiesPage.jsx`
- [Why us](https://github.com/barnabadaniel7/100fold_website/blob/main/src/pages/WhyUsPage.jsx): page · `src/pages/WhyUsPage.jsx`
- [Contact page](https://github.com/barnabadaniel7/100fold_website/blob/main/src/pages/ContactPage.jsx): page · Client-side contact interactions. · `src/pages/ContactPage.jsx`
- [Toast notifications](https://github.com/barnabadaniel7/100fold_website/blob/main/src/components/ui/sonner.jsx): feedback component · Centralizes notification presentation. · `src/components/ui/sonner.jsx`

### Build and serving

Frontend build and static-serving boundary.

- [Vite](https://github.com/barnabadaniel7/100fold_website/blob/main/vite.config.js): build tool · Develops and bundles the client. · `vite.config.js`
- [Tailwind pipeline](https://github.com/barnabadaniel7/100fold_website/blob/main/tailwind.config.js): CSS build pipeline · Tailwind with PostCSS transforms authored styles. · `tailwind.config.js`
- [Python server](https://github.com/barnabadaniel7/100fold_website/blob/main/server.py): static server · Alternative local or static serving entry point. · `server.py`

## Connections

- HTML host → React entry: loads
- React entry → App shell: mounts
- React entry → Global and app styles: imports
- App shell → Navbar: renders
- App shell → Footer: renders
- App shell → Marketing pages: selects
- Marketing pages → Home page: includes
- Marketing pages → Services page: includes
- Marketing pages → How it works: includes
- Marketing pages → Case studies: includes
- Marketing pages → Why us: includes
- Marketing pages → Contact page: includes
- App shell → Toast notifications: hosts feedback
- Contact page → Toast notifications: notifies
- Vite → HTML host: builds from
- Vite → React entry: bundles
- Tailwind pipeline → Global and app styles: processes
- Python server → HTML host: serves built site
