# skt-plazik/website architecture

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

- Interactive diagram: https://gitdiagram.com/skt-plazik/website
- Repository: https://github.com/skt-plazik/website

## Overview

Plazik is a playful homepage for SKT “PŁazik,” served as an Astro Node server. The visible product surface includes a homepage, hero, card, footer, and shared layout/styles; the supplied excerpts do not show how those pieces are composed or what content the page renders. The README documents the server runtime, while the Astro config shows its Node adapter and Google Fonts provider. The API is not yet available, so no data-fetching workflow is shown.

Main entry points: [`astro.config.mjs`](https://github.com/skt-plazik/website/blob/main/astro.config.mjs) (Astro Config), [`src/pages/index.astro`](https://github.com/skt-plazik/website/blob/main/src/pages/index.astro) (Homepage)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Website"]
  node_homepage["Homepage<br/>[index.astro]"]
  node_hero["Hero<br/>[hero.astro]"]
  node_card["Card<br/>[card.astro]"]
  node_footer["Footer<br/>[footer.astro]"]
  node_layout["Base Layout<br/>[base.astro]"]
  node_styles["Base Styles<br/>[base.css]"]
end

subgraph group_runtime["Server Runtime"]
  node_config["Astro Config<br/>[astro.config.mjs]"]
  node_node_adapter["Node Adapter"]
end

node_visitor(("Visitor"))
node_google_fonts["Google Fonts"]

node_visitor -.->|"views"| node_homepage
node_config -->|"configures"| node_node_adapter
node_config -->|"configures"| node_google_fonts

click node_homepage "https://github.com/skt-plazik/website/blob/main/src/pages/index.astro"
click node_hero "https://github.com/skt-plazik/website/blob/main/src/components/hero.astro"
click node_card "https://github.com/skt-plazik/website/blob/main/src/components/card.astro"
click node_footer "https://github.com/skt-plazik/website/blob/main/src/components/footer.astro"
click node_layout "https://github.com/skt-plazik/website/blob/main/src/layouts/base.astro"
click node_styles "https://github.com/skt-plazik/website/blob/main/src/layouts/base.css"
click node_config "https://github.com/skt-plazik/website/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_homepage,node_hero,node_card,node_footer,node_layout,node_styles toneBlue
class node_config,node_node_adapter toneAmber
class node_visitor,node_google_fonts toneIndigo
```

## Components

### Website

- [Homepage](https://github.com/skt-plazik/website/blob/main/src/pages/index.astro): `src/pages/index.astro`
- [Hero](https://github.com/skt-plazik/website/blob/main/src/components/hero.astro): `src/components/hero.astro`
- [Card](https://github.com/skt-plazik/website/blob/main/src/components/card.astro): `src/components/card.astro`
- [Footer](https://github.com/skt-plazik/website/blob/main/src/components/footer.astro): `src/components/footer.astro`
- [Base Layout](https://github.com/skt-plazik/website/blob/main/src/layouts/base.astro): `src/layouts/base.astro`
- [Base Styles](https://github.com/skt-plazik/website/blob/main/src/layouts/base.css): `src/layouts/base.css`

### Server Runtime

- [Astro Config](https://github.com/skt-plazik/website/blob/main/astro.config.mjs): `astro.config.mjs`
- **Node Adapter**

### Other components

- **Visitor**
- **Google Fonts**

## Connections

- Visitor → Homepage: views
- Astro Config → Node Adapter: configures (evidence: `astro.config.mjs`)
- Astro Config → Google Fonts: configures (evidence: `astro.config.mjs`)
