# kirikanjuguna/archbicon architecture

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

- Interactive diagram: https://gitdiagram.com/kirikanjuguna/archbicon
- Repository: https://github.com/kirikanjuguna/archbicon

## Overview

#### Purpose and Runtime
A Next.js App Router marketing/site application, likely for a construction or professional-services business. It runs as a React/Next.js server application in development via `npm run dev` and is deployable to Vercel. No backend API routes, database integrations, or external business services are present in the tree.

Key runtime/configuration paths: `package.json`, `next.config.ts`, `app/globals.css`.

#### Application Entry and Shell
The App Router root layout establishes the shared document/application shell, global styling, and likely font setup. All routes render beneath it.

- Root shell: `app/layout.tsx`
- Global styles: `app/globals.css`
- Home entry: `app/page.tsx`

#### Route-Level Content
The site is composed of static route pages for the primary business areas. Next.js file-system routing maps each `page.tsx` to its URL.

- About: `app/about/page.tsx`
- Services: `app/services/page.tsx`
- Projects: `app/projects/page.tsx`
- Contact: `app/contact/page.tsx`

Control flow is browser navigation → Next.js route resolution → shared layout → route page content. The repository contains no route handlers or server-side persistence boundary.

#### Shared Site Chrome
Navigation and footer are reusable site-wide presentation boundaries. A construction notice suggests the site may expose a temporary/incomplete state through a reusable component.

- Navigation: `components/Navbar.tsx`
- Footer: `components/Footer.tsx`
- Notice: `components/ConstructionNotice.tsx`
- Page-level layout/transition wrapper: `components/PageWrapper.tsx`

These components isolate common navigation, framing, and page presentation from individual route content.

#### Home-Page Composition
The home page is assembled from focused business-content sections rather than placing all content directly in the route file. These sections model the main conversion flow: introduction, service offering, project proof, and differentiation.

- Hero: `components/sections/HeroSection.tsx`
- Services preview: `components/sections/ServicesSection.tsx`
- Projects preview: `components/sections/ProjectsSection.tsx`
- Differentiators: `components/sections/WhyChooseUsSection.tsx`

Primary flow: `app/page.tsx` composes section components, which direct visitors toward the dedicated services, projects, and contact routes.

#### UI and Styling Boundary
Reusable UI primitives provide consistent interactive and visual building blocks for higher-level components. They include navigation/menu, mobile sheet, form inputs, and cards/buttons; their internal implementation should remain decoupled from business sections.

- Core primitives: `components/ui/button.tsx`, `components/ui/card.tsx`, `components/ui/badge.tsx`
- Navigation/mobile interaction: `components/ui/navigation-menu.tsx`, `components/ui/sheet.tsx`
- Form controls: `components/ui/input.tsx`, `components/ui/textarea.tsx`

Styling is global plus component-local composition, with utility support centralized in `lib/utils.ts` and component conventions indicated by `components.json`.

#### Assets and Deployment Boundary
Static visual assets are served from the Next.js public directory, currently organized under images. The application can be hosted on Vercel per the README; no additional infrastructure is declared.

- Static assets: `public/images`
- Next.js configuration: `next.config.ts`
- Deployment/package boundary: `package.json`

Main entry points: [`app/page.tsx`](https://github.com/kirikanjuguna/archbicon/blob/main/app/page.tsx) (Home page), [`app/layout.tsx`](https://github.com/kirikanjuguna/archbicon/blob/main/app/layout.tsx) (Root layout), [`components/sections/HeroSection.tsx`](https://github.com/kirikanjuguna/archbicon/blob/main/components/sections/HeroSection.tsx) (Hero section), [`components/Navbar.tsx`](https://github.com/kirikanjuguna/archbicon/blob/main/components/Navbar.tsx) (Navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Runtime &amp; Delivery"]
  node_next{{"Next.js App Router<br/>framework runtime"}}
  node_package["Package &amp; scripts<br/>npm package<br/>[package.json]"]
  node_next_config["Next configuration<br/>framework config<br/>[next.config.ts]"]
end

subgraph group_routes["App Router"]
  node_root_layout["Root layout<br/>application shell<br/>[layout.tsx]"]
  node_global_styles["Global styles<br/>stylesheet<br/>[globals.css]"]
  node_home_page["Home page<br/>route page<br/>[page.tsx]"]
  node_about_page["About page<br/>route page<br/>[page.tsx]"]
  node_services_page["Services page<br/>route page<br/>[page.tsx]"]
  node_projects_page["Projects page<br/>route page<br/>[page.tsx]"]
  node_contact_page["Contact page<br/>route page<br/>[page.tsx]"]
end

subgraph group_chrome["Shared Site Chrome"]
  node_navbar["Navigation<br/>shared component<br/>[Navbar.tsx]"]
  node_footer["Footer<br/>shared component<br/>[Footer.tsx]"]
  node_page_wrapper["Page wrapper<br/>presentation wrapper<br/>[PageWrapper.tsx]"]
  node_construction_notice["Construction notice<br/>shared component"]
end

subgraph group_home["Home Composition"]
  node_hero["Hero section<br/>home section<br/>[HeroSection.tsx]"]
  node_services_preview["Services preview<br/>home section"]
  node_projects_preview["Projects preview<br/>home section"]
  node_differentiators["Why choose us<br/>home section"]
end

subgraph group_ui["UI &amp; Assets"]
  node_ui_primitives["UI primitives<br/>component toolkit"]
  node_style_utils["Style utilities<br/>utility module<br/>[utils.ts]"]
  node_static_assets["Static images<br/>public assets"]
end

node_package -->|"runs"| node_next
node_next_config -->|"configures"| node_next
node_next -->|"renders"| node_root_layout
node_root_layout -->|"loads"| node_global_styles
node_root_layout -->|"shares"| node_navbar
node_root_layout -->|"shares"| node_footer
node_next -->|"routes /"| node_home_page
node_next -->|"routes /about"| node_about_page
node_next -->|"routes /services"| node_services_page
node_next -->|"routes /projects"| node_projects_page
node_next -->|"routes /contact"| node_contact_page
node_home_page -->|"frames"| node_page_wrapper
node_home_page -->|"composes"| node_hero
node_home_page -->|"composes"| node_services_preview
node_home_page -->|"composes"| node_projects_preview
node_home_page -->|"composes"| node_differentiators
node_services_preview -.->|"drives to"| node_services_page
node_projects_preview -.->|"drives to"| node_projects_page
node_hero -.->|"drives to"| node_contact_page
node_navbar -->|"uses"| node_ui_primitives
node_ui_primitives -->|"composes styles"| node_style_utils
node_hero -.->|"uses"| node_static_assets

click node_package "https://github.com/kirikanjuguna/archbicon/blob/main/package.json"
click node_next_config "https://github.com/kirikanjuguna/archbicon/blob/main/next.config.ts"
click node_root_layout "https://github.com/kirikanjuguna/archbicon/blob/main/app/layout.tsx"
click node_global_styles "https://github.com/kirikanjuguna/archbicon/blob/main/app/globals.css"
click node_home_page "https://github.com/kirikanjuguna/archbicon/blob/main/app/page.tsx"
click node_about_page "https://github.com/kirikanjuguna/archbicon/blob/main/app/about/page.tsx"
click node_services_page "https://github.com/kirikanjuguna/archbicon/blob/main/app/services/page.tsx"
click node_projects_page "https://github.com/kirikanjuguna/archbicon/blob/main/app/projects/page.tsx"
click node_contact_page "https://github.com/kirikanjuguna/archbicon/blob/main/app/contact/page.tsx"
click node_navbar "https://github.com/kirikanjuguna/archbicon/blob/main/components/Navbar.tsx"
click node_footer "https://github.com/kirikanjuguna/archbicon/blob/main/components/Footer.tsx"
click node_page_wrapper "https://github.com/kirikanjuguna/archbicon/blob/main/components/PageWrapper.tsx"
click node_construction_notice "https://github.com/kirikanjuguna/archbicon/blob/main/components/ConstructionNotice.tsx"
click node_hero "https://github.com/kirikanjuguna/archbicon/blob/main/components/sections/HeroSection.tsx"
click node_services_preview "https://github.com/kirikanjuguna/archbicon/blob/main/components/sections/ServicesSection.tsx"
click node_projects_preview "https://github.com/kirikanjuguna/archbicon/blob/main/components/sections/ProjectsSection.tsx"
click node_differentiators "https://github.com/kirikanjuguna/archbicon/blob/main/components/sections/WhyChooseUsSection.tsx"
click node_style_utils "https://github.com/kirikanjuguna/archbicon/blob/main/lib/utils.ts"
click node_static_assets "https://github.com/kirikanjuguna/archbicon/tree/main/public/images"

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_next,node_package,node_next_config toneBlue
class node_root_layout,node_global_styles,node_home_page,node_about_page,node_services_page,node_projects_page,node_contact_page toneAmber
class node_navbar,node_footer,node_page_wrapper,node_construction_notice toneMint
class node_hero,node_services_preview,node_projects_preview,node_differentiators toneRose
class node_ui_primitives,node_style_utils,node_static_assets toneIndigo
```

## Components

### Runtime & Delivery

- **Next.js App Router**: framework runtime · Resolves file-system routes and renders the application.
- [Package & scripts](https://github.com/kirikanjuguna/archbicon/blob/main/package.json): npm package · Development and deployment dependency boundary. · `package.json`
- [Next configuration](https://github.com/kirikanjuguna/archbicon/blob/main/next.config.ts): framework config · `next.config.ts`

### App Router

- [Root layout](https://github.com/kirikanjuguna/archbicon/blob/main/app/layout.tsx): application shell · Shared document shell for every route. · `app/layout.tsx`
- [Global styles](https://github.com/kirikanjuguna/archbicon/blob/main/app/globals.css): stylesheet · `app/globals.css`
- [Home page](https://github.com/kirikanjuguna/archbicon/blob/main/app/page.tsx): route page · Primary conversion entry point. · `app/page.tsx`
- [About page](https://github.com/kirikanjuguna/archbicon/blob/main/app/about/page.tsx): route page · `app/about/page.tsx`
- [Services page](https://github.com/kirikanjuguna/archbicon/blob/main/app/services/page.tsx): route page · `app/services/page.tsx`
- [Projects page](https://github.com/kirikanjuguna/archbicon/blob/main/app/projects/page.tsx): route page · `app/projects/page.tsx`
- [Contact page](https://github.com/kirikanjuguna/archbicon/blob/main/app/contact/page.tsx): route page · `app/contact/page.tsx`

### Shared Site Chrome

- [Navigation](https://github.com/kirikanjuguna/archbicon/blob/main/components/Navbar.tsx): shared component · Site-wide route navigation. · `components/Navbar.tsx`
- [Footer](https://github.com/kirikanjuguna/archbicon/blob/main/components/Footer.tsx): shared component · `components/Footer.tsx`
- [Page wrapper](https://github.com/kirikanjuguna/archbicon/blob/main/components/PageWrapper.tsx): presentation wrapper · Shared page framing and transitions. · `components/PageWrapper.tsx`
- [Construction notice](https://github.com/kirikanjuguna/archbicon/blob/main/components/ConstructionNotice.tsx): shared component · Reusable temporary-site status presentation. · `components/ConstructionNotice.tsx`

### Home Composition

- [Hero section](https://github.com/kirikanjuguna/archbicon/blob/main/components/sections/HeroSection.tsx): home section · `components/sections/HeroSection.tsx`
- [Services preview](https://github.com/kirikanjuguna/archbicon/blob/main/components/sections/ServicesSection.tsx): home section · `components/sections/ServicesSection.tsx`
- [Projects preview](https://github.com/kirikanjuguna/archbicon/blob/main/components/sections/ProjectsSection.tsx): home section · `components/sections/ProjectsSection.tsx`
- [Why choose us](https://github.com/kirikanjuguna/archbicon/blob/main/components/sections/WhyChooseUsSection.tsx): home section · `components/sections/WhyChooseUsSection.tsx`

### UI & Assets

- **UI primitives**: component toolkit · Buttons, cards, menus, sheets, and form controls.
- [Style utilities](https://github.com/kirikanjuguna/archbicon/blob/main/lib/utils.ts): utility module · Shared utility-class composition. · `lib/utils.ts`
- [Static images](https://github.com/kirikanjuguna/archbicon/tree/main/public/images): public assets · Visual assets served by Next.js. · `public/images`

## Connections

- Package & scripts → Next.js App Router: runs
- Next configuration → Next.js App Router: configures
- Next.js App Router → Root layout: renders
- Root layout → Global styles: loads
- Root layout → Navigation: shares
- Root layout → Footer: shares
- Next.js App Router → Home page: routes /
- Next.js App Router → About page: routes /about
- Next.js App Router → Services page: routes /services
- Next.js App Router → Projects page: routes /projects
- Next.js App Router → Contact page: routes /contact
- Home page → Page wrapper: frames
- Home page → Hero section: composes
- Home page → Services preview: composes
- Home page → Projects preview: composes
- Home page → Why choose us: composes
- Services preview → Services page: drives to
- Projects preview → Projects page: drives to
- Hero section → Contact page: drives to
- Navigation → UI primitives: uses
- UI primitives → Style utilities: composes styles
- Hero section → Static images: uses
