# johnrebu/my_1st_work_project architecture

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

- Interactive diagram: https://gitdiagram.com/johnrebu/my_1st_work_project
- Repository: https://github.com/johnrebu/my_1st_work_project

## Overview

This repository is a React landing page for Aionion Capital, presenting market information and financial services. The user-facing path starts at the browser entry point, routes to the home page, and renders market data, service and company sections, then footer content. The graph preserves the major page sections and shared UI infrastructure. The README is empty; relationships for unsampled components are limited to references shown in the source index or excerpts.

Main entry points: [`src/pages/Index.tsx`](https://github.com/johnrebu/my_1st_work_project/blob/master/src/pages/Index.tsx) (Home Page), [`src/App.tsx`](https://github.com/johnrebu/my_1st_work_project/blob/master/src/App.tsx) (App Router), [`src/lib/utils.ts`](https://github.com/johnrebu/my_1st_work_project/blob/master/src/lib/utils.ts) (Class Utilities), [`src/components/ui/sidebar.tsx`](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/sidebar.tsx) (Sidebar Components)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_application["Application Routing"]
  node_entry["React Entry<br/>[main.tsx]"]
  node_app["App Router<br/>[App.tsx]"]
  node_home["Home Page<br/>[Index.tsx]"]
  node_notfound["Not Found<br/>[NotFound.tsx]"]
end

subgraph group_market["Market Showcase"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_hero["Hero Section<br/>[HeroSection.tsx]"]
  node_ticker["Stock Ticker<br/>[StockTicker.tsx]"]
  node_stockdata["Market Data Chart"]
  node_services["Financial Services"]
end

subgraph group_company["Company Content"]
  node_experience["Experience Section"]
  node_growth["Growth Section<br/>[GrowthSection.tsx]"]
  node_simple["Additional Content<br/>[SimpleSection.tsx]"]
  node_stats["Stats Banner<br/>[StatsBanner.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_ui["Shared UI"]
  node_button["Button Primitive<br/>[button.tsx]"]
  node_carousel["Carousel Primitive<br/>[carousel.tsx]"]
  node_dialog["Dialog Primitive<br/>[dialog.tsx]"]
  node_sheet["Sheet Primitive<br/>[sheet.tsx]"]
  node_skeleton["Loading Skeleton<br/>[skeleton.tsx]"]
  node_toast["Toast Primitive<br/>[toast.tsx]"]
  node_toaststate["Toast State<br/>[use-toast.ts]"]
  node_toaster["Toast Renderer<br/>[toaster.tsx]"]
  node_sonner["Sonner Renderer<br/>[sonner.tsx]"]
  node_tooltip["Tooltip Primitive<br/>[tooltip.tsx]"]
  node_sidebar["Sidebar Components<br/>[sidebar.tsx]"]
  node_mobile["Mobile Breakpoint Hook<br/>[use-mobile.tsx]"]
  node_utils["Class Utilities<br/>[utils.ts]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_notfound
node_app -->|"renders"| node_toaster
node_app -->|"renders"| node_sonner
node_app -->|"provides"| node_tooltip
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_ticker
node_home -->|"renders"| node_stockdata
node_home -->|"renders"| node_services
node_home -->|"renders"| node_experience
node_home -->|"renders"| node_growth
node_home -->|"renders"| node_simple
node_home -->|"renders"| node_stats
node_home -->|"renders"| node_footer
node_stockdata -->|"uses"| node_skeleton
node_stats -->|"uses"| node_carousel
node_sidebar -->|"checks viewport"| node_mobile
node_sidebar -->|"renders mobile panel"| node_sheet
node_sidebar -->|"uses"| node_button
node_sidebar -->|"uses"| node_tooltip
node_toaster -->|"reads state"| node_toaststate
node_toaster -->|"renders"| node_toast
node_toaststate -->|"uses types"| node_toast
node_carousel -->|"uses"| node_button
node_button -->|"merges classes"| node_utils
node_carousel -->|"merges classes"| node_utils
node_dialog -->|"merges classes"| node_utils
node_sheet -->|"merges classes"| node_utils
node_skeleton -->|"merges classes"| node_utils
node_toast -->|"merges classes"| node_utils
node_tooltip -->|"merges classes"| node_utils

click node_entry "https://github.com/johnrebu/my_1st_work_project/blob/master/src/main.tsx"
click node_app "https://github.com/johnrebu/my_1st_work_project/blob/master/src/App.tsx"
click node_home "https://github.com/johnrebu/my_1st_work_project/blob/master/src/pages/Index.tsx"
click node_notfound "https://github.com/johnrebu/my_1st_work_project/blob/master/src/pages/NotFound.tsx"
click node_navbar "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/Navbar.tsx"
click node_hero "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/HeroSection.tsx"
click node_ticker "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/StockTicker.tsx"
click node_stockdata "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/StockDataFetcher.tsx"
click node_services "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ServicesSection.tsx"
click node_experience "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ExperienceSection.tsx"
click node_growth "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/GrowthSection.tsx"
click node_simple "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/SimpleSection.tsx"
click node_stats "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/StatsBanner.tsx"
click node_footer "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/Footer.tsx"
click node_button "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/button.tsx"
click node_carousel "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/carousel.tsx"
click node_dialog "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/dialog.tsx"
click node_sheet "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/sheet.tsx"
click node_skeleton "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/skeleton.tsx"
click node_toast "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/toast.tsx"
click node_toaststate "https://github.com/johnrebu/my_1st_work_project/blob/master/src/hooks/use-toast.ts"
click node_toaster "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/toaster.tsx"
click node_sonner "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/sonner.tsx"
click node_tooltip "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/tooltip.tsx"
click node_sidebar "https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/sidebar.tsx"
click node_mobile "https://github.com/johnrebu/my_1st_work_project/blob/master/src/hooks/use-mobile.tsx"
click node_utils "https://github.com/johnrebu/my_1st_work_project/blob/master/src/lib/utils.ts"

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_entry,node_app,node_home,node_notfound toneBlue
class node_navbar,node_hero,node_ticker,node_stockdata,node_services toneAmber
class node_experience,node_growth,node_simple,node_stats,node_footer toneMint
class node_button,node_carousel,node_dialog,node_sheet,node_skeleton,node_toast,node_toaststate,node_toaster,node_sonner,node_tooltip,node_sidebar,node_mobile,node_utils toneRose
class node_visitor toneIndigo
```

## Components

### Application Routing

- [React Entry](https://github.com/johnrebu/my_1st_work_project/blob/master/src/main.tsx): `src/main.tsx`
- [App Router](https://github.com/johnrebu/my_1st_work_project/blob/master/src/App.tsx): `src/App.tsx`
- [Home Page](https://github.com/johnrebu/my_1st_work_project/blob/master/src/pages/Index.tsx): `src/pages/Index.tsx`
- [Not Found](https://github.com/johnrebu/my_1st_work_project/blob/master/src/pages/NotFound.tsx): `src/pages/NotFound.tsx`

### Market Showcase

- [Navigation](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/Navbar.tsx): `src/components/Navbar.tsx`
- [Hero Section](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/HeroSection.tsx): `src/components/HeroSection.tsx`
- [Stock Ticker](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/StockTicker.tsx): `src/components/StockTicker.tsx`
- [Market Data Chart](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/StockDataFetcher.tsx): `src/components/StockDataFetcher.tsx`
- [Financial Services](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ServicesSection.tsx): `src/components/ServicesSection.tsx`

### Company Content

- [Experience Section](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ExperienceSection.tsx): `src/components/ExperienceSection.tsx`
- [Growth Section](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/GrowthSection.tsx): `src/components/GrowthSection.tsx`
- [Additional Content](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/SimpleSection.tsx): `src/components/SimpleSection.tsx`
- [Stats Banner](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/StatsBanner.tsx): `src/components/StatsBanner.tsx`
- [Footer](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/Footer.tsx): `src/components/Footer.tsx`

### Shared UI

- [Button Primitive](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/button.tsx): `src/components/ui/button.tsx`
- [Carousel Primitive](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/carousel.tsx): `src/components/ui/carousel.tsx`
- [Dialog Primitive](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/dialog.tsx): `src/components/ui/dialog.tsx`
- [Sheet Primitive](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/sheet.tsx): `src/components/ui/sheet.tsx`
- [Loading Skeleton](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/skeleton.tsx): `src/components/ui/skeleton.tsx`
- [Toast Primitive](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/toast.tsx): `src/components/ui/toast.tsx`
- [Toast State](https://github.com/johnrebu/my_1st_work_project/blob/master/src/hooks/use-toast.ts): `src/hooks/use-toast.ts`
- [Toast Renderer](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/toaster.tsx): `src/components/ui/toaster.tsx`
- [Sonner Renderer](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/sonner.tsx): `src/components/ui/sonner.tsx`
- [Tooltip Primitive](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/tooltip.tsx): `src/components/ui/tooltip.tsx`
- [Sidebar Components](https://github.com/johnrebu/my_1st_work_project/blob/master/src/components/ui/sidebar.tsx): `src/components/ui/sidebar.tsx`
- [Mobile Breakpoint Hook](https://github.com/johnrebu/my_1st_work_project/blob/master/src/hooks/use-mobile.tsx): `src/hooks/use-mobile.tsx`
- [Class Utilities](https://github.com/johnrebu/my_1st_work_project/blob/master/src/lib/utils.ts): `src/lib/utils.ts`

### Other components

- **Visitor**

## Connections

- Visitor → React Entry: opens (evidence: `src/main.tsx`)
- React Entry → App Router: renders (evidence: `src/main.tsx`)
- App Router → Home Page: routes to (evidence: `src/App.tsx`)
- App Router → Not Found: routes to (evidence: `src/App.tsx`)
- App Router → Toast Renderer: renders (evidence: `src/App.tsx`)
- App Router → Sonner Renderer: renders (evidence: `src/App.tsx`)
- App Router → Tooltip Primitive: provides (evidence: `src/App.tsx`)
- Home Page → Navigation: renders (evidence: `src/pages/Index.tsx`)
- Home Page → Hero Section: renders (evidence: `src/pages/Index.tsx`)
- Home Page → Stock Ticker: renders (evidence: `src/pages/Index.tsx`)
- Home Page → Market Data Chart: renders (evidence: `src/pages/Index.tsx`)
- Home Page → Financial Services: renders (evidence: `src/pages/Index.tsx`)
- Home Page → Experience Section: renders (evidence: `src/pages/Index.tsx`)
- Home Page → Growth Section: renders (evidence: `src/pages/Index.tsx`)
- Home Page → Additional Content: renders (evidence: `src/pages/Index.tsx`)
- Home Page → Stats Banner: renders (evidence: `src/pages/Index.tsx`)
- Home Page → Footer: renders (evidence: `src/pages/Index.tsx`)
- Market Data Chart → Loading Skeleton: uses (evidence: `src/components/StockDataFetcher.tsx`)
- Stats Banner → Carousel Primitive: uses (evidence: `src/components/StatsBanner.tsx`)
- Sidebar Components → Mobile Breakpoint Hook: checks viewport (evidence: `src/components/ui/sidebar.tsx`)
- Sidebar Components → Sheet Primitive: renders mobile panel (evidence: `src/components/ui/sidebar.tsx`)
- Sidebar Components → Button Primitive: uses (evidence: `src/components/ui/sidebar.tsx`)
- Sidebar Components → Tooltip Primitive: uses (evidence: `src/components/ui/sidebar.tsx`)
- Toast Renderer → Toast State: reads state (evidence: `src/components/ui/toaster.tsx`)
- Toast Renderer → Toast Primitive: renders (evidence: `src/components/ui/toaster.tsx`)
- Toast State → Toast Primitive: uses types (evidence: `src/hooks/use-toast.ts`)
- Carousel Primitive → Button Primitive: uses (evidence: `src/components/ui/carousel.tsx`)
- Button Primitive → Class Utilities: merges classes (evidence: `src/components/ui/button.tsx`)
- Carousel Primitive → Class Utilities: merges classes (evidence: `src/components/ui/carousel.tsx`)
- Dialog Primitive → Class Utilities: merges classes
- Sheet Primitive → Class Utilities: merges classes (evidence: `src/components/ui/sheet.tsx`)
- Loading Skeleton → Class Utilities: merges classes (evidence: `src/components/ui/skeleton.tsx`)
- Toast Primitive → Class Utilities: merges classes (evidence: `src/components/ui/toast.tsx`)
- Tooltip Primitive → Class Utilities: merges classes (evidence: `src/components/ui/tooltip.tsx`)
