# tux3er-isma/viho-oblegutide architecture

> Architecture diagram of the GitHub repository tux3er-isma/viho-oblegutide, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-08-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tux3er-isma/viho-oblegutide
- Repository: https://github.com/tux3er-isma/viho-oblegutide

## Overview

#### Purpose and runtime
This is a static Astro site, structured as a single landing page rather than an application with backend services or APIs. Astro provides the development server and production build pipeline; the default output is a deployable static site. Primary route: `src/pages/index.astro`.

#### Composition entry points
`src/pages/index.astro` is the route-level entry point. It should assemble the shared document shell from `src/layouts/Layout.astro` and page regions from:
- `src/components/Header/Header.astro`
- `src/components/Main/Main.astro`
- `src/components/Footer/Footer.astro`

The layout is the document-level boundary for page metadata, global styling/font setup, and shared `<html>/<head>/<body>` structure.

#### Header and navigation
The header is a reusable site-chrome component:
- `src/components/Header/Header.astro`
- `src/components/Header/Nav.astro`

`Nav.astro` isolates navigation markup from the header container, allowing navigation links and responsive presentation to evolve without changing the page shell.

#### Main-page orchestration
`src/components/Main/Main.astro` is the primary content coordinator. It composes eight ordered landing-page sections, representing the site’s main information flow:
- `src/components/Main/Section1/Section1.astro`
- `src/components/Main/Section2/Section2.astro`
- `src/components/Main/Section3/Section3.astro`
- `src/components/Main/Section4/Section4.astro`
- `src/components/Main/Section5/Section5.astro`
- `src/components/Main/Section6/Section6.astro`
- `src/components/Main/Section7/Section7.astro`
- `src/components/Main/Section8/Section8.astro`

This keeps route composition shallow while each section owns its internal content and layout.

#### Repeated content primitives
Several sections separate repeated visual/content units into local subcomponents:
- Card patterns: `src/components/Main/Section1/Card.astro`, `src/components/Main/Section2/Card.astro`, `src/components/Main/Section3/Card.astro`
- Supporting patterns: `src/components/Main/Section2/Badge.astro`, `src/components/Main/Section4/Badge.astro`, `src/components/Main/Section5/Entry.astro`
- Content-specific units: `src/components/Main/Section6/FAQ.astro`, `src/components/Main/Section7/Marks.astro`, `src/components/Main/Section8/Article.astro`

The boundary is intentionally section-local: shared abstractions are not centralized across unrelated sections.

#### Styling and assets
The repository contains a local display font at `src/assets/Fonts/brasika-display-trial.otf`. Shared Sass utilities are located in `src/styles/_mixins.scss`. Public, directly served assets belong under `public/`. Styling and asset imports are expected to be resolved during Astro’s build rather than supplied by an external CMS or asset service.

#### Infrastructure boundaries
There is no evidence of server-side persistence, authentication, external APIs, client-state management, or third-party service integrations. The material infrastructure is Node/npm plus Astro configuration in `astro.config.mjs`; builds produce static output for deployment to a static hosting platform.

Main entry points: [`src/components/Main/Main.astro`](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Main.astro) (Main coordinator), [`src/pages/index.astro`](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/pages/index.astro) (Home route), [`src/layouts/Layout.astro`](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/layouts/Layout.astro) (Document layout), [`src/components/Header/Header.astro`](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Header/Header.astro) (Header)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Landing page"]
  node_route["Home route<br/>Astro page<br/>[index.astro]"]
  node_layout["Document layout<br/>Astro layout<br/>[Layout.astro]"]
  node_header["Header<br/>site chrome<br/>[Header.astro]"]
  node_nav["Navigation<br/>header component<br/>[Nav.astro]"]
  node_main["Main coordinator<br/>page component<br/>[Main.astro]"]
  node_footer["Footer<br/>site chrome<br/>[Footer.astro]"]
  node_section1["Section 1<br/>landing section<br/>[Section1.astro]"]
  node_section2["Section 2<br/>landing section<br/>[Section2.astro]"]
  node_section3["Section 3<br/>landing section<br/>[Section3.astro]"]
  node_section4["Section 4<br/>landing section<br/>[Section4.astro]"]
  node_section5["Section 5<br/>landing section<br/>[Section5.astro]"]
  node_section6["Section 6<br/>landing section<br/>[Section6.astro]"]
  node_section7["Section 7<br/>landing section<br/>[Section7.astro]"]
  node_section8["Section 8<br/>landing section<br/>[Section8.astro]"]
  node_styles["Shared Sass utilities<br/>styles<br/>[_mixins.scss]"]
  node_font["Display font<br/>local asset"]
end

subgraph group_build["Static build"]
  node_astro_config["Astro configuration<br/>build config<br/>[astro.config.mjs]"]
  node_astro{{"Astro build<br/>static-site generator"}}
  node_static_output["Static site output<br/>deployable artifact"]
  node_hosting["Static hosting<br/>deployment target"]
end

node_route -->|"uses"| node_layout
node_route -->|"composes"| node_header
node_route -->|"composes"| node_main
node_route -->|"composes"| node_footer
node_header -->|"contains"| node_nav
node_main -->|"first"| node_section1
node_main -->|"then"| node_section2
node_main -->|"then"| node_section3
node_main -->|"then"| node_section4
node_main -->|"then"| node_section5
node_main -->|"then"| node_section6
node_main -->|"then"| node_section7
node_main -->|"last"| node_section8
node_layout -->|"uses"| node_styles
node_layout -->|"loads"| node_font
node_astro_config -->|"configures"| node_astro
node_route -->|"built by"| node_astro
node_astro -->|"generates"| node_static_output
node_static_output -->|"deploys to"| node_hosting

click node_route "https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/pages/index.astro"
click node_layout "https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/layouts/Layout.astro"
click node_header "https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Header/Header.astro"
click node_nav "https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Header/Nav.astro"
click node_main "https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Main.astro"
click node_footer "https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Footer/Footer.astro"
click node_section1 "https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Section1/Section1.astro"
click node_section2 "https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Section2/Section2.astro"
click node_section3 "https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Section3/Section3.astro"
click node_section4 "https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Section4/Section4.astro"
click node_section5 "https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Section5/Section5.astro"
click node_section6 "https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Section6/Section6.astro"
click node_section7 "https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Section7/Section7.astro"
click node_section8 "https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Section8/Section8.astro"
click node_styles "https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/styles/_mixins.scss"
click node_font "https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/assets/Fonts/brasika-display-trial.otf"
click node_astro_config "https://github.com/tux3er-isma/viho-oblegutide/blob/main/astro.config.mjs"

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_route,node_layout,node_header,node_nav,node_main,node_footer,node_section1,node_section2,node_section3,node_section4,node_section5,node_section6,node_section7,node_section8,node_styles,node_font toneBlue
class node_astro_config,node_astro,node_static_output,node_hosting toneAmber
```

## Components

### Landing page

- [Home route](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/pages/index.astro): Astro page · Primary landing-page entry point. · `src/pages/index.astro`
- [Document layout](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/layouts/Layout.astro): Astro layout · Owns document structure, metadata, and global setup. · `src/layouts/Layout.astro`
- [Header](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Header/Header.astro): site chrome · `src/components/Header/Header.astro`
- [Navigation](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Header/Nav.astro): header component · `src/components/Header/Nav.astro`
- [Main coordinator](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Main.astro): page component · Composes the ordered landing-page sections. · `src/components/Main/Main.astro`
- [Footer](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Footer/Footer.astro): site chrome · `src/components/Footer/Footer.astro`
- [Section 1](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Section1/Section1.astro): landing section · Uses a local Card pattern. · `src/components/Main/Section1/Section1.astro`
- [Section 2](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Section2/Section2.astro): landing section · Uses local Card and Badge patterns. · `src/components/Main/Section2/Section2.astro`
- [Section 3](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Section3/Section3.astro): landing section · Uses a local Card pattern. · `src/components/Main/Section3/Section3.astro`
- [Section 4](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Section4/Section4.astro): landing section · Uses a local Badge pattern. · `src/components/Main/Section4/Section4.astro`
- [Section 5](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Section5/Section5.astro): landing section · Uses a local Entry pattern. · `src/components/Main/Section5/Section5.astro`
- [Section 6](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Section6/Section6.astro): landing section · Uses a local FAQ unit. · `src/components/Main/Section6/Section6.astro`
- [Section 7](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Section7/Section7.astro): landing section · Uses a local Marks unit. · `src/components/Main/Section7/Section7.astro`
- [Section 8](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/components/Main/Section8/Section8.astro): landing section · Uses a local Article unit. · `src/components/Main/Section8/Section8.astro`
- [Shared Sass utilities](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/styles/_mixins.scss): styles · `src/styles/_mixins.scss`
- [Display font](https://github.com/tux3er-isma/viho-oblegutide/blob/main/src/assets/Fonts/brasika-display-trial.otf): local asset · `src/assets/Fonts/brasika-display-trial.otf`

### Static build

- [Astro configuration](https://github.com/tux3er-isma/viho-oblegutide/blob/main/astro.config.mjs): build config · `astro.config.mjs`
- **Astro build**: static-site generator · Resolves components, styles, and local assets into static output.
- **Static site output**: deployable artifact
- **Static hosting**: deployment target

## Connections

- Home route → Document layout: uses
- Home route → Header: composes
- Home route → Main coordinator: composes
- Home route → Footer: composes
- Header → Navigation: contains
- Main coordinator → Section 1: first
- Main coordinator → Section 2: then
- Main coordinator → Section 3: then
- Main coordinator → Section 4: then
- Main coordinator → Section 5: then
- Main coordinator → Section 6: then
- Main coordinator → Section 7: then
- Main coordinator → Section 8: last
- Document layout → Shared Sass utilities: uses
- Document layout → Display font: loads
- Astro configuration → Astro build: configures
- Home route → Astro build: built by
- Astro build → Static site output: generates
- Static site output → Static hosting: deploys to
