# mychits/suvarna-bhagya-user-webpage architecture

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

- Interactive diagram: https://gitdiagram.com/mychits/suvarna-bhagya-user-webpage
- Repository: https://github.com/mychits/suvarna-bhagya-user-webpage

## Overview

Suvarna Bhagya is presented as a public website for an 11-month gold-savings scheme. Visitors can browse scheme plans, learn how the scheme works, view a catalogue, and find company, FAQ, and contact information. The tree also includes legal pages and shared presentation components. The available excerpts show plan and FAQ content, but not page or component wiring; dashed links therefore indicate likely site relationships, not verified calls.

Main entry points: [`src/components`](https://github.com/mychits/suvarna-bhagya-user-webpage/tree/main/src/components) (Marketing sections), [`src/pages/plans.astro`](https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/pages/plans.astro) (Plans), [`src/pages/index.astro`](https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/pages/index.astro) (Home), [`src/layouts`](https://github.com/mychits/suvarna-bhagya-user-webpage/tree/main/src/layouts) (Page layouts)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Public pages"]
  node_home["Home<br/>[index.astro]"]
  node_about["About<br/>[about.astro]"]
  node_plans_page["Plans<br/>[plans.astro]"]
  node_how_page["How it works<br/>[how-it-works.astro]"]
  node_catalogue_page["Catalogue<br/>[catalogue.astro]"]
  node_faq_page["FAQ<br/>[faq.astro]"]
  node_contact["Contact<br/>[contact.astro]"]
  node_legal["Legal pages"]
end

subgraph group_shared["Shared presentation"]
  node_sections["Marketing sections"]
  node_header_footer["Header and footer"]
  node_seo["SEO metadata<br/>[seo.ts]"]
end

subgraph group_content["Page content"]
  node_navigation["Navigation links<br/>[navigation.ts]"]
  node_plan_data["Plan definitions<br/>[plans.ts]"]
  node_faq_data["FAQ content<br/>[faq.ts]"]
end

subgraph group_foundation["Site foundation"]
  node_layout["Page layouts"]
  node_styles["Global styling"]
end

node_visitor(("Website visitor"))

node_visitor -.->|"opens"| node_home
node_visitor -.->|"browses"| node_about
node_visitor -.->|"browses"| node_plans_page
node_visitor -.->|"browses"| node_how_page
node_visitor -.->|"browses"| node_catalogue_page
node_visitor -.->|"browses"| node_faq_page
node_visitor -.->|"opens"| node_contact
node_visitor -.->|"browses"| node_legal
node_plans_page -.->|"displays"| node_plan_data
node_faq_page -.->|"displays"| node_faq_data
node_home -.->|"presents"| node_sections
node_about -.->|"presents"| node_sections
node_how_page -.->|"presents"| node_sections
node_catalogue_page -.->|"presents"| node_sections
node_plans_page -.->|"presents"| node_sections
node_home -.->|"may render"| node_header_footer
node_plans_page -.->|"may use"| node_navigation
node_layout -.->|"may configure"| node_seo
node_layout -.->|"may apply"| node_styles

click node_home "https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/pages/index.astro"
click node_about "https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/pages/about.astro"
click node_plans_page "https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/pages/plans.astro"
click node_how_page "https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/pages/how-it-works.astro"
click node_catalogue_page "https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/pages/catalogue.astro"
click node_faq_page "https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/pages/faq.astro"
click node_contact "https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/pages/contact.astro"
click node_legal "https://github.com/mychits/suvarna-bhagya-user-webpage/tree/main/src/pages"
click node_navigation "https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/data/navigation.ts"
click node_plan_data "https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/data/plans.ts"
click node_faq_data "https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/data/faq.ts"
click node_sections "https://github.com/mychits/suvarna-bhagya-user-webpage/tree/main/src/components"
click node_header_footer "https://github.com/mychits/suvarna-bhagya-user-webpage/tree/main/src/components"
click node_seo "https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/utils/seo.ts"
click node_layout "https://github.com/mychits/suvarna-bhagya-user-webpage/tree/main/src/layouts"
click node_styles "https://github.com/mychits/suvarna-bhagya-user-webpage/tree/main/src/styles"

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_home,node_about,node_plans_page,node_how_page,node_catalogue_page,node_faq_page,node_contact,node_legal toneBlue
class node_sections,node_header_footer,node_seo toneAmber
class node_navigation,node_plan_data,node_faq_data toneMint
class node_layout,node_styles toneRose
class node_visitor toneIndigo
```

## Components

### Public pages

- [Home](https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/pages/index.astro): `src/pages/index.astro`
- [About](https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/pages/about.astro): `src/pages/about.astro`
- [Plans](https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/pages/plans.astro): `src/pages/plans.astro`
- [How it works](https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/pages/how-it-works.astro): `src/pages/how-it-works.astro`
- [Catalogue](https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/pages/catalogue.astro): `src/pages/catalogue.astro`
- [FAQ](https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/pages/faq.astro): `src/pages/faq.astro`
- [Contact](https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/pages/contact.astro): `src/pages/contact.astro`
- [Legal pages](https://github.com/mychits/suvarna-bhagya-user-webpage/tree/main/src/pages): `src/pages`

### Shared presentation

- [Marketing sections](https://github.com/mychits/suvarna-bhagya-user-webpage/tree/main/src/components): `src/components`
- [Header and footer](https://github.com/mychits/suvarna-bhagya-user-webpage/tree/main/src/components): `src/components`
- [SEO metadata](https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/utils/seo.ts): `src/utils/seo.ts`

### Page content

- [Navigation links](https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/data/navigation.ts): `src/data/navigation.ts`
- [Plan definitions](https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/data/plans.ts): `src/data/plans.ts`
- [FAQ content](https://github.com/mychits/suvarna-bhagya-user-webpage/blob/main/src/data/faq.ts): `src/data/faq.ts`

### Site foundation

- [Page layouts](https://github.com/mychits/suvarna-bhagya-user-webpage/tree/main/src/layouts): `src/layouts`
- [Global styling](https://github.com/mychits/suvarna-bhagya-user-webpage/tree/main/src/styles): `src/styles`

### Other components

- **Website visitor**

## Connections

- Website visitor → Home: opens
- Website visitor → About: browses
- Website visitor → Plans: browses
- Website visitor → How it works: browses
- Website visitor → Catalogue: browses
- Website visitor → FAQ: browses
- Website visitor → Contact: opens
- Website visitor → Legal pages: browses
- Plans → Plan definitions: displays
- FAQ → FAQ content: displays
- Home → Marketing sections: presents
- About → Marketing sections: presents
- How it works → Marketing sections: presents
- Catalogue → Marketing sections: presents
- Plans → Marketing sections: presents
- Home → Header and footer: may render
- Plans → Navigation links: may use
- Page layouts → SEO metadata: may configure
- Page layouts → Global styling: may apply
