# vk-prime/social-media-automation architecture

> Architecture diagram of the GitHub repository vk-prime/social-media-automation, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vk-prime/social-media-automation
- Repository: https://github.com/vk-prime/social-media-automation

## Overview

This repository is a front-end landing and sign-in experience for Scheduler, presented as an AI-powered social media scheduling product. The browser entry mounts a router, which selects either the marketing page or the sign-in form. The landing page assembles product messaging, setup steps, pricing, testimonials, and calls to action; the sign-in form currently simulates submission and navigates to a dashboard path, with no backend or dashboard implementation evidenced. Product capabilities below are marketing claims, not inspected runtime services.

Main entry points: [`src/pages/Home.tsx`](https://github.com/vk-prime/social-media-automation/blob/main/src/pages/Home.tsx) (Landing Page), [`src/App.tsx`](https://github.com/vk-prime/social-media-automation/blob/main/src/App.tsx) (Route Selection), [`src/main.tsx`](https://github.com/vk-prime/social-media-automation/blob/main/src/main.tsx) (Browser Router), [`src/pages/Login.tsx`](https://github.com/vk-prime/social-media-automation/blob/main/src/pages/Login.tsx) (Sign-In Form)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["App Navigation"]
  node_router["Browser Router<br/>[main.tsx]"]
  node_routes["Route Selection<br/>[App.tsx]"]
end

subgraph group_landing["Landing Experience"]
  node_home["Landing Page<br/>[Home.tsx]"]
  node_hero["Hero &amp; Preview<br/>[Hero.tsx]"]
  node_features["Feature Overview<br/>[Features.tsx]"]
  node_setup["Setup Steps<br/>[HowItWorks.tsx]"]
  node_testimonials["Testimonials<br/>[Testimonials.tsx]"]
  node_pricing["Pricing Plans<br/>[Pricing.tsx]"]
  node_cta["Conversion CTA<br/>[CTA.tsx]"]
  node_navbar["Navigation Bar<br/>[Navbar.tsx]"]
  node_footer["Footer Links<br/>[Footer.tsx]"]
end

subgraph group_account["Account Entry"]
  node_login["Sign-In Form<br/>[Login.tsx]"]
end

node_visitor(("Site Visitor"))
node_browser(("Browser Root"))
node_dashboard["Dashboard Destination"]

node_visitor -->|"opens site"| node_browser
node_browser -->|"mounts app"| node_router
node_router -->|"wraps routes"| node_routes
node_routes -->|"routes /"| node_home
node_routes -->|"routes /login"| node_login
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_features
node_home -->|"renders"| node_setup
node_home -->|"renders"| node_testimonials
node_home -->|"renders"| node_pricing
node_home -->|"renders"| node_cta
node_home -->|"renders"| node_footer
node_login -->|"navigates to"| node_dashboard

click node_router "https://github.com/vk-prime/social-media-automation/blob/main/src/main.tsx"
click node_routes "https://github.com/vk-prime/social-media-automation/blob/main/src/App.tsx"
click node_home "https://github.com/vk-prime/social-media-automation/blob/main/src/pages/Home.tsx"
click node_hero "https://github.com/vk-prime/social-media-automation/blob/main/src/components/Home/Hero.tsx"
click node_features "https://github.com/vk-prime/social-media-automation/blob/main/src/components/Home/Features.tsx"
click node_setup "https://github.com/vk-prime/social-media-automation/blob/main/src/components/Home/HowItWorks.tsx"
click node_testimonials "https://github.com/vk-prime/social-media-automation/blob/main/src/components/Home/Testimonials.tsx"
click node_pricing "https://github.com/vk-prime/social-media-automation/blob/main/src/components/Home/Pricing.tsx"
click node_cta "https://github.com/vk-prime/social-media-automation/blob/main/src/components/Home/CTA.tsx"
click node_navbar "https://github.com/vk-prime/social-media-automation/blob/main/src/components/Home/Navbar.tsx"
click node_footer "https://github.com/vk-prime/social-media-automation/blob/main/src/components/Home/Footer.tsx"
click node_login "https://github.com/vk-prime/social-media-automation/blob/main/src/pages/Login.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_routes,node_browser toneBlue
class node_home,node_hero,node_features,node_setup,node_testimonials,node_pricing,node_cta,node_navbar,node_footer toneAmber
class node_login toneMint
class node_visitor,node_dashboard toneIndigo
```

## Components

### App Navigation

- [Browser Router](https://github.com/vk-prime/social-media-automation/blob/main/src/main.tsx): `src/main.tsx`
- [Route Selection](https://github.com/vk-prime/social-media-automation/blob/main/src/App.tsx): `src/App.tsx`

### Landing Experience

- [Landing Page](https://github.com/vk-prime/social-media-automation/blob/main/src/pages/Home.tsx): `src/pages/Home.tsx`
- [Hero & Preview](https://github.com/vk-prime/social-media-automation/blob/main/src/components/Home/Hero.tsx): `src/components/Home/Hero.tsx`
- [Feature Overview](https://github.com/vk-prime/social-media-automation/blob/main/src/components/Home/Features.tsx): `src/components/Home/Features.tsx`
- [Setup Steps](https://github.com/vk-prime/social-media-automation/blob/main/src/components/Home/HowItWorks.tsx): `src/components/Home/HowItWorks.tsx`
- [Testimonials](https://github.com/vk-prime/social-media-automation/blob/main/src/components/Home/Testimonials.tsx): `src/components/Home/Testimonials.tsx`
- [Pricing Plans](https://github.com/vk-prime/social-media-automation/blob/main/src/components/Home/Pricing.tsx): `src/components/Home/Pricing.tsx`
- [Conversion CTA](https://github.com/vk-prime/social-media-automation/blob/main/src/components/Home/CTA.tsx): `src/components/Home/CTA.tsx`
- [Navigation Bar](https://github.com/vk-prime/social-media-automation/blob/main/src/components/Home/Navbar.tsx): `src/components/Home/Navbar.tsx`
- [Footer Links](https://github.com/vk-prime/social-media-automation/blob/main/src/components/Home/Footer.tsx): `src/components/Home/Footer.tsx`

### Account Entry

- [Sign-In Form](https://github.com/vk-prime/social-media-automation/blob/main/src/pages/Login.tsx): `src/pages/Login.tsx`

### Other components

- **Site Visitor**
- **Browser Root**
- **Dashboard Destination**

## Connections

- Site Visitor → Browser Root: opens site
- Browser Root → Browser Router: mounts app (evidence: `src/main.tsx`)
- Browser Router → Route Selection: wraps routes (evidence: `src/main.tsx`)
- Route Selection → Landing Page: routes / (evidence: `src/App.tsx`)
- Route Selection → Sign-In Form: routes /login (evidence: `src/App.tsx`)
- Landing Page → Navigation Bar: renders (evidence: `src/pages/Home.tsx`)
- Landing Page → Hero & Preview: renders (evidence: `src/pages/Home.tsx`)
- Landing Page → Feature Overview: renders (evidence: `src/pages/Home.tsx`)
- Landing Page → Setup Steps: renders (evidence: `src/pages/Home.tsx`)
- Landing Page → Testimonials: renders (evidence: `src/pages/Home.tsx`)
- Landing Page → Pricing Plans: renders (evidence: `src/pages/Home.tsx`)
- Landing Page → Conversion CTA: renders (evidence: `src/pages/Home.tsx`)
- Landing Page → Footer Links: renders (evidence: `src/pages/Home.tsx`)
- Sign-In Form → Dashboard Destination: navigates to (evidence: `src/pages/Login.tsx`)
