# aditi9975/weedinginvite architecture

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

- Interactive diagram: https://gitdiagram.com/aditi9975/weedinginvite
- Repository: https://github.com/aditi9975/weedinginvite

## Overview

This repository is a small static front-end project for a wedding invitation site.

1. **Entry point**
   - `index.html` is the single application entry point.
   - The site is intended to run entirely in the browser, with no backend, API, or server-side component visible in the repo.

2. **Presentation layer**
   - The visual design is driven by `scss/styles.scss` as the source stylesheet.
   - A compiled stylesheet exists at `css/styles.css`, indicating the project uses a Sass-to-CSS build step or precompiled distribution assets.

3. **Behavior layer**
   - Client-side behavior lives in `js/main.js`.
   - This is the only JavaScript entry in the tree, so any interactive features such as scrolling behavior, modal handling, menu toggles, or audio control would be centralized there.

4. **Media and content assets**
   - Wedding-specific media is stored in `audio/wedding-song.mp3` and `img/shoot/`.
   - The audio file suggests the invitation likely includes background music or an autoplay/play control.
   - The image folder likely contains a photo shoot or hero/gallery imagery used by the invitation.

5. **Asset organization**
   - The repository contains both top-level runtime folders (`css/`, `js/`, `img/`, `audio/`) and mirrored `assets/` folders with the same categories.
   - This strongly suggests a source-vs-distribution split or a duplicated publish structure, where one set is used for development and another for deployment packaging.

6. **Runtime boundaries**
   - The browser is the only runtime boundary.
   - Static files are loaded directly by `index.html`; there is no evidence of routing, templating, data fetching, or persistence.

7. **Likely dependency flow**
   - `index.html` pulls in `css/styles.css` for styling, `js/main.js` for interaction, and media files from `img/` and `audio/`.
   - The SCSS source feeds the CSS output, but the site itself consumes the compiled CSS, not the SCSS directly.

8. **Build/tooling implication**
   - The presence of both `.scss` and generated `.css` implies a front-end build/preprocess step, even though the tooling is not included in the tree.
   - No package manager, bundler config, or source maps are shown, so the repo appears lightweight and manually managed.

9. **Architecture summary**
   - The project is a classic static brochure/invitation site with three clear concerns: markup (`index.html`), styling (`scss` → `css`), and behavior (`js/main.js`), plus media assets for visuals and audio.
   - For an architecture diagram, the main diagrammatic components are: browser entry point, stylesheet pipeline, JavaScript interaction layer, and static media storage.

Main entry points: [`index.html`](https://github.com/aditi9975/weedinginvite/blob/main/index.html) (index.html), [`css/styles.css`](https://github.com/aditi9975/weedinginvite/blob/main/css/styles.css) (styles.css), [`assets/scss/styles.scss`](https://github.com/aditi9975/weedinginvite/blob/main/assets/scss/styles.scss) (assets SCSS), [`scss/styles.scss`](https://github.com/aditi9975/weedinginvite/blob/main/scss/styles.scss) (styles.scss)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_browser["Browser runtime"]
  node_index_html["index.html<br/>entry page<br/>[index.html]"]
end

subgraph group_primary["Primary site"]
  node_css_styles["styles.css<br/>compiled CSS<br/>[styles.css]"]
  node_js_main["main.js<br/>client JS<br/>[main.js]"]
  node_audio_song["wedding song<br/>media audio<br/>[wedding-song.mp3]"]
  node_img_shoot[("shoot images<br/>image set")]
  node_scss_styles["styles.scss<br/>source Sass<br/>[styles.scss]"]
end

subgraph group_mirror["Assets mirror"]
  node_assets_css_styles["assets CSS<br/>mirrored CSS<br/>[styles.css]"]
  node_assets_js_main["assets JS<br/>mirrored JS<br/>[main.js]"]
  node_assets_audio_song["assets song<br/>mirrored audio<br/>[wedding-song.mp3]"]
  node_assets_img_shoot[("assets shoot<br/>mirrored images")]
  node_assets_scss_styles["assets SCSS<br/>mirrored Sass<br/>[styles.scss]"]
end

node_index_html -->|"loads"| node_css_styles
node_index_html -->|"runs"| node_js_main
node_index_html -->|"uses"| node_audio_song
node_index_html -->|"shows"| node_img_shoot
node_scss_styles -->|"builds"| node_css_styles
node_assets_scss_styles -->|"builds"| node_assets_css_styles
node_assets_scss_styles -.->|"mirrors"| node_scss_styles
node_assets_css_styles -.->|"mirrors"| node_css_styles
node_assets_js_main -.->|"mirrors"| node_js_main
node_assets_audio_song -.->|"mirrors"| node_audio_song
node_assets_img_shoot -.->|"mirrors"| node_img_shoot

click node_index_html "https://github.com/aditi9975/weedinginvite/blob/main/index.html"
click node_css_styles "https://github.com/aditi9975/weedinginvite/blob/main/css/styles.css"
click node_js_main "https://github.com/aditi9975/weedinginvite/blob/main/js/main.js"
click node_audio_song "https://github.com/aditi9975/weedinginvite/blob/main/audio/wedding-song.mp3"
click node_img_shoot "https://github.com/aditi9975/weedinginvite/tree/main/img/shoot"
click node_scss_styles "https://github.com/aditi9975/weedinginvite/blob/main/scss/styles.scss"
click node_assets_css_styles "https://github.com/aditi9975/weedinginvite/blob/main/assets/css/styles.css"
click node_assets_js_main "https://github.com/aditi9975/weedinginvite/blob/main/assets/js/main.js"
click node_assets_audio_song "https://github.com/aditi9975/weedinginvite/blob/main/assets/audio/wedding-song.mp3"
click node_assets_img_shoot "https://github.com/aditi9975/weedinginvite/tree/main/assets/img/shoot"
click node_assets_scss_styles "https://github.com/aditi9975/weedinginvite/blob/main/assets/scss/styles.scss"

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_index_html toneBlue
class node_css_styles,node_js_main,node_audio_song,node_img_shoot,node_scss_styles toneAmber
class node_assets_css_styles,node_assets_js_main,node_assets_audio_song,node_assets_img_shoot,node_assets_scss_styles toneMint
```

## Components

### Browser runtime

Single-page invitation site loaded directly in the browser.

- [index.html](https://github.com/aditi9975/weedinginvite/blob/main/index.html): entry page · Single browser entry point for the invitation site. · `index.html`

### Primary site

Top-level files used by the live invitation page.

- [styles.css](https://github.com/aditi9975/weedinginvite/blob/main/css/styles.css): compiled CSS · Stylesheet consumed by the page. · `css/styles.css`
- [main.js](https://github.com/aditi9975/weedinginvite/blob/main/js/main.js): client JS · Central client-side behavior for the invitation. · `js/main.js`
- [wedding song](https://github.com/aditi9975/weedinginvite/blob/main/audio/wedding-song.mp3): media audio · Background music or play control asset. · `audio/wedding-song.mp3`
- [shoot images](https://github.com/aditi9975/weedinginvite/tree/main/img/shoot): image set · Photo shoot or gallery imagery used by the page. · `img/shoot`
- [styles.scss](https://github.com/aditi9975/weedinginvite/blob/main/scss/styles.scss): source Sass · Authoring source for the compiled stylesheet. · `scss/styles.scss`

### Assets mirror

Parallel asset tree suggesting a duplicated publish or deployment layout.

- [assets CSS](https://github.com/aditi9975/weedinginvite/blob/main/assets/css/styles.css): mirrored CSS · Duplicated distribution stylesheet under assets/ layout. · `assets/css/styles.css`
- [assets JS](https://github.com/aditi9975/weedinginvite/blob/main/assets/js/main.js): mirrored JS · Duplicated distribution script under assets/ layout. · `assets/js/main.js`
- [assets song](https://github.com/aditi9975/weedinginvite/blob/main/assets/audio/wedding-song.mp3): mirrored audio · Duplicated audio asset under assets/ layout. · `assets/audio/wedding-song.mp3`
- [assets shoot](https://github.com/aditi9975/weedinginvite/tree/main/assets/img/shoot): mirrored images · Duplicated image asset tree under assets/ layout. · `assets/img/shoot`
- [assets SCSS](https://github.com/aditi9975/weedinginvite/blob/main/assets/scss/styles.scss): mirrored Sass · Duplicated Sass source under assets/ layout. · `assets/scss/styles.scss`

## Connections

- index.html → styles.css: loads · Page includes the compiled stylesheet.
- index.html → main.js: runs · Page includes the client interaction script.
- index.html → wedding song: uses · Invitation page can reference the audio asset.
- index.html → shoot images: shows · Page uses the shoot imagery for visual content.
- styles.scss → styles.css: builds · Sass source compiles into the stylesheet used by the page.
- assets SCSS → assets CSS: builds · Mirrored Sass source compiles into mirrored CSS output.
- assets SCSS → styles.scss: mirrors · Parallel source tree duplicates the same styling source.
- assets CSS → styles.css: mirrors · Parallel distribution tree duplicates the stylesheet.
- assets JS → main.js: mirrors · Parallel distribution tree duplicates the interaction script.
- assets song → wedding song: mirrors · Parallel distribution tree duplicates the audio asset.
- assets shoot → shoot images: mirrors · Parallel distribution tree duplicates the image set.
