# rishithayanidhi/aptixon_new architecture

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

- Interactive diagram: https://gitdiagram.com/rishithayanidhi/aptixon_new
- Repository: https://github.com/rishithayanidhi/aptixon_new

## Overview

Aptixon is a Next.js corporate website with business-unit pages, contact and careers forms, and a role-oriented employee/worker portal demo. The principal flow is a visitor entering the shared route handler, which selects a page; Infotech visitors can proceed from services to a client-side quote form whose fields use shared option data. Portal and login interactions are simulated, not backed by authentication or live records. The README documents these boundaries. The graph reflects sampled source and documented routes; it does not treat the Prisma schema as an active runtime store.

Main entry points: [`app/page.tsx`](https://github.com/rishithayanidhi/aptixon_new/blob/main/app/page.tsx) (Route handler), [`components/pages/businesses/eventra-page.tsx`](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/eventra-page.tsx) (Eventra detail), [`components/pages/businesses/sports-page.tsx`](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/sports-page.tsx) (Sports detail), [`components/pages/businesses/infotech-page.tsx`](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/infotech-page.tsx) (Infotech offering)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routing["Routing and shell"]
  node_router["Route handler<br/>[page.tsx]"]
  node_shell["App shell<br/>[app-shell.tsx]"]
  node_navigation["Site navigation<br/>[navigation.tsx]"]
end

subgraph group_public["Corporate pages"]
  node_home["Corporate home<br/>[home-page.tsx]"]
  node_about["About page<br/>[about-page.tsx]"]
  node_projects["Projects page<br/>[projects-page.tsx]"]
  node_careers["Careers page<br/>[careers-page.tsx]"]
  node_contact["Contact page<br/>[contact-page.tsx]"]
  node_login["Login demo<br/>[login-page.tsx]"]
  node_register["Registration demo<br/>[register-page.tsx]"]
end

subgraph group_business["Business offerings"]
  node_business_home["Business directory"]
  node_eventra["Eventra detail<br/>[eventra-page.tsx]"]
  node_sports["Sports detail<br/>[sports-page.tsx]"]
  node_business_detail["Business detail view"]
  node_infotech["Infotech offering<br/>[infotech-page.tsx]"]
  node_infotech_services["IT services"]
  node_quote_form["Quote form"]
  node_quote_options["Quote field options"]
end

subgraph group_workspace["Portal demos"]
  node_dashboard["Role dashboards<br/>[dashboard.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"requests route"| node_router
node_router -->|"selects page"| node_home
node_router -->|"selects page"| node_about
node_router -->|"selects page"| node_projects
node_router -->|"selects page"| node_careers
node_router -->|"selects page"| node_contact
node_router -->|"selects page"| node_login
node_router -->|"selects page"| node_register
node_router -->|"selects page"| node_business_home
node_router -->|"selects page"| node_eventra
node_router -->|"selects page"| node_sports
node_router -->|"selects page"| node_infotech
node_router -->|"selects page"| node_quote_form
node_router -->|"selects page"| node_dashboard
node_shell -->|"renders"| node_navigation
node_eventra -->|"renders"| node_business_detail
node_sports -->|"renders"| node_business_detail
node_infotech -->|"renders"| node_infotech_services
node_quote_form -->|"reads options"| node_quote_options

click node_router "https://github.com/rishithayanidhi/aptixon_new/blob/main/app/page.tsx"
click node_shell "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/layout/app-shell.tsx"
click node_navigation "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/layout/navigation.tsx"
click node_home "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/home-page.tsx"
click node_about "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/about-page.tsx"
click node_projects "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/projects-page.tsx"
click node_careers "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/careers-page.tsx"
click node_contact "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/contact-page.tsx"
click node_login "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/login-page.tsx"
click node_register "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/register-page.tsx"
click node_business_home "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/business-home-page.tsx"
click node_eventra "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/eventra-page.tsx"
click node_sports "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/sports-page.tsx"
click node_business_detail "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/business-detail.tsx"
click node_infotech "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/infotech-page.tsx"
click node_infotech_services "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/infotech-services.tsx"
click node_quote_form "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/infotech-quote-form.tsx"
click node_quote_options "https://github.com/rishithayanidhi/aptixon_new/blob/main/lib/infotech-quote-options.ts"
click node_dashboard "https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/portal/dashboard.tsx"

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_router,node_shell,node_navigation toneBlue
class node_home,node_about,node_projects,node_careers,node_contact,node_login,node_register toneAmber
class node_business_home,node_eventra,node_sports,node_business_detail,node_infotech,node_infotech_services,node_quote_form,node_quote_options toneMint
class node_dashboard toneRose
class node_visitor toneIndigo
```

## Components

### Routing and shell

- [Route handler](https://github.com/rishithayanidhi/aptixon_new/blob/main/app/page.tsx): `app/page.tsx`
- [App shell](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/layout/app-shell.tsx): `components/layout/app-shell.tsx`
- [Site navigation](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/layout/navigation.tsx): `components/layout/navigation.tsx`

### Corporate pages

- [Corporate home](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/home-page.tsx): `components/pages/home-page.tsx`
- [About page](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/about-page.tsx): `components/pages/about-page.tsx`
- [Projects page](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/projects-page.tsx): `components/pages/projects-page.tsx`
- [Careers page](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/careers-page.tsx): `components/pages/careers-page.tsx`
- [Contact page](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/contact-page.tsx): `components/pages/contact-page.tsx`
- [Login demo](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/login-page.tsx): `components/pages/login-page.tsx`
- [Registration demo](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/register-page.tsx): `components/pages/register-page.tsx`

### Business offerings

- [Business directory](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/business-home-page.tsx): `components/pages/businesses/business-home-page.tsx`
- [Eventra detail](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/eventra-page.tsx): `components/pages/businesses/eventra-page.tsx`
- [Sports detail](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/sports-page.tsx): `components/pages/businesses/sports-page.tsx`
- [Business detail view](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/business-detail.tsx): `components/pages/businesses/business-detail.tsx`
- [Infotech offering](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/infotech-page.tsx): `components/pages/businesses/infotech-page.tsx`
- [IT services](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/infotech-services.tsx): `components/pages/businesses/infotech-services.tsx`
- [Quote form](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/businesses/infotech-quote-form.tsx): `components/pages/businesses/infotech-quote-form.tsx`
- [Quote field options](https://github.com/rishithayanidhi/aptixon_new/blob/main/lib/infotech-quote-options.ts): `lib/infotech-quote-options.ts`

### Portal demos

- [Role dashboards](https://github.com/rishithayanidhi/aptixon_new/blob/main/components/pages/portal/dashboard.tsx): `components/pages/portal/dashboard.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → Route handler: requests route (evidence: `README.md`)
- Route handler → Corporate home: selects page (evidence: `app/page.tsx`)
- Route handler → About page: selects page (evidence: `app/page.tsx`)
- Route handler → Projects page: selects page (evidence: `app/page.tsx`)
- Route handler → Careers page: selects page (evidence: `app/page.tsx`)
- Route handler → Contact page: selects page (evidence: `app/page.tsx`)
- Route handler → Login demo: selects page (evidence: `app/page.tsx`)
- Route handler → Registration demo: selects page (evidence: `app/page.tsx`)
- Route handler → Business directory: selects page (evidence: `app/page.tsx`)
- Route handler → Eventra detail: selects page (evidence: `app/page.tsx`)
- Route handler → Sports detail: selects page (evidence: `app/page.tsx`)
- Route handler → Infotech offering: selects page (evidence: `app/page.tsx`)
- Route handler → Quote form: selects page (evidence: `app/page.tsx`)
- Route handler → Role dashboards: selects page (evidence: `app/page.tsx`)
- App shell → Site navigation: renders (evidence: `components/layout/app-shell.tsx`)
- Eventra detail → Business detail view: renders (evidence: `components/pages/businesses/eventra-page.tsx`)
- Sports detail → Business detail view: renders (evidence: `components/pages/businesses/sports-page.tsx`)
- Infotech offering → IT services: renders (evidence: `components/pages/businesses/infotech-page.tsx`)
- Quote form → Quote field options: reads options (evidence: `components/pages/businesses/infotech-quote-form.tsx`)
