How kirikanjuguna/archbicon works
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
Components 21
Runtime & Delivery
- Next.js App Router · Resolves file-system routes and renders the application.
- Package & scripts · Development and deployment dependency boundary.
package.json - Next configuration
next.config.ts
App Router
- Root layout · Shared document shell for every route.
app/layout.tsx - Global styles
app/globals.css - Home page · Primary conversion entry point.
app/page.tsx - About page
app/about/page.tsx - Services page
app/services/page.tsx - Projects page
app/projects/page.tsx - Contact page
app/contact/page.tsx
Shared Site Chrome
- Navigation · Site-wide route navigation.
components/Navbar.tsx - Footer
components/Footer.tsx - Page wrapper · Shared page framing and transitions.
components/PageWrapper.tsx - Construction notice · Reusable temporary-site status presentation.
components/ConstructionNotice.tsx
Home Composition
- Hero section
components/sections/HeroSection.tsx - Services preview
components/sections/ServicesSection.tsx - Projects preview
components/sections/ProjectsSection.tsx - Why choose us
components/sections/WhyChooseUsSection.tsx
UI & Assets
- UI primitives · Buttons, cards, menus, sheets, and form controls.
- Style utilities · Shared utility-class composition.
lib/utils.ts - Static images · Visual assets served by Next.js.
public/images
Connections 22
- 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