# rampatra/wedding-website architecture

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

- Interactive diagram: https://gitdiagram.com/rampatra/wedding-website
- Repository: https://github.com/rampatra/wedding-website

## Overview

#### Purpose and delivery model
This is a static, customizable wedding-event site. It is intended to run directly from static hosting (notably GitHub Pages), with no application server or database. The primary browser entry point is `index.html`; deployment metadata includes `CNAME`, `manifest.json`, and `.nojekyll`.

#### Page composition and content boundary
`index.html` is the central document and likely owns event-specific content, section markup, outbound integrations, media embeds, RSVP form fields, and navigation anchors. Site customization is therefore primarily an HTML/content task, with associated images under `img/` and design source assets under `psd/`.

Key paths:
- `index.html`
- `img/eng_pics`
- `manifest.json`

#### Browser interaction layer
Custom page behavior is centralized in `js/scripts.js`, running alongside bundled browser libraries. This layer drives responsive/navigation behavior and feature interactions, and connects UI controls to external destinations/services such as calendar providers, Uber, maps, and video embeds.

Key paths:
- `js/scripts.js`
- `js/jquery.flexslider-min.js`
- `js/jquery.fancybox.pack.js`

#### RSVP external-service boundary
RSVP submission is client-side: the static page sends guest data to a Google Sheet through Google Apps Script, which also enables email alerts. This is the repository’s primary write/data boundary: no RSVP persistence or credentials-bearing backend exists here. The target endpoint and form mapping are expected to be configured in page/script content.

Key paths:
- `index.html`
- `js/scripts.js`

#### Presentation system
The rendered site uses committed CSS plus Sass sources. Sass is organized around shared layout, typography, colors, and buttons; `sass/styles.scss` is the main stylesheet assembly point. Supporting vendor styles cover the carousel/lightbox and responsive or print variants.

Key paths:
- `sass/styles.scss`
- `sass/partials/_layout.scss`
- `css/flexslider.css`

#### Build pipeline and runtime dependencies
Node/Gulp is a development-time asset pipeline, not a production runtime. `gulpfile.js` compiles Sass and performs JavaScript/CSS build work described in the README; generated static assets are then served as ordinary files. Browser runtime dependencies are committed under `js/` and `fonts/`, avoiding a server-side dependency installation requirement for deployed pages.

Key paths:
- `gulpfile.js`
- `package.json`
- `package-lock.json`

#### Hosting and automation
GitHub Pages is the intended free static-hosting target. The GitHub Actions workflow provides CI/build automation around the npm/Gulp workflow, while `.nojekyll` ensures Pages serves the static asset structure without Jekyll processing.

Key paths:
- `.github/workflows/npm-gulp.yml`
- `.nojekyll`
- `CNAME`

Main entry points: [`index.html`](https://github.com/rampatra/wedding-website/blob/master/index.html) (Wedding page), [`gulpfile.js`](https://github.com/rampatra/wedding-website/blob/master/gulpfile.js) (Gulp tasks), [`js/scripts.js`](https://github.com/rampatra/wedding-website/blob/master/js/scripts.js) (Site interactions), [`.github/workflows/npm-gulp.yml`](https://github.com/rampatra/wedding-website/blob/master/.github/workflows/npm-gulp.yml) (GitHub Actions)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Static site"]
  node_page["Wedding page<br/>HTML entry<br/>[index.html]"]
  node_media["Event photos<br/>image assets"]
  node_manifest["Web manifest<br/>PWA metadata<br/>[manifest.json]"]
  node_nojekyll["No Jekyll marker<br/>Pages metadata<br/>[.nojekyll]"]
  node_domain["Custom domain<br/>Pages domain config"]
end

subgraph group_presentation["Presentation"]
  node_site_js["Site interactions<br/>browser script<br/>[scripts.js]"]
  node_flexslider["Carousel library<br/>browser library"]
  node_fancybox["Lightbox library<br/>browser library"]
  node_sass["Sass entrypoint<br/>stylesheet source<br/>[styles.scss]"]
  node_layout["Layout partial<br/>Sass partial<br/>[_layout.scss]"]
  node_carousel_css["Carousel styles<br/>vendor CSS<br/>[flexslider.css]"]
end

subgraph group_build["Build &amp; automation"]
  node_gulp{{"Gulp tasks<br/>asset pipeline<br/>[gulpfile.js]"}}
  node_npm["Node dependencies<br/>package manifest<br/>[package.json]"]
  node_lockfile["Dependency lock<br/>npm lockfile<br/>[package-lock.json]"]
  node_ci{{"GitHub Actions<br/>CI workflow<br/>[npm-gulp.yml]"}}
end

subgraph group_external["External services"]
  node_pages["GitHub Pages<br/>static hosting"]
  node_rsvp[("Google Apps Script<br/>RSVP endpoint")]
  node_destinations["Guest integrations<br/>external links"]
end

node_page -->|"embeds"| node_media
node_page -->|"references"| node_manifest
node_page -->|"loads"| node_site_js
node_page -->|"loads"| node_flexslider
node_page -->|"loads"| node_fancybox
node_page -->|"submits RSVP data"| node_rsvp
node_site_js -->|"configures request"| node_rsvp
node_site_js -->|"opens"| node_destinations
node_sass -->|"includes"| node_layout
node_gulp -->|"compiles"| node_sass
node_gulp -->|"builds"| node_site_js
node_gulp -->|"builds CSS"| node_carousel_css
node_npm -->|"pinned by"| node_lockfile
node_gulp -->|"uses dependencies"| node_npm
node_ci -->|"installs"| node_npm
node_ci -->|"runs"| node_gulp
node_ci -->|"publishes static output"| node_pages
node_pages -->|"serves"| node_page
node_nojekyll -->|"disables processing"| node_pages
node_domain -->|"configures"| node_pages

click node_page "https://github.com/rampatra/wedding-website/blob/master/index.html"
click node_media "https://github.com/rampatra/wedding-website/tree/master/img/eng_pics"
click node_manifest "https://github.com/rampatra/wedding-website/blob/master/manifest.json"
click node_site_js "https://github.com/rampatra/wedding-website/blob/master/js/scripts.js"
click node_flexslider "https://github.com/rampatra/wedding-website/blob/master/js/jquery.flexslider-min.js"
click node_fancybox "https://github.com/rampatra/wedding-website/blob/master/js/jquery.fancybox.pack.js"
click node_sass "https://github.com/rampatra/wedding-website/blob/master/sass/styles.scss"
click node_layout "https://github.com/rampatra/wedding-website/blob/master/sass/partials/_layout.scss"
click node_carousel_css "https://github.com/rampatra/wedding-website/blob/master/css/flexslider.css"
click node_gulp "https://github.com/rampatra/wedding-website/blob/master/gulpfile.js"
click node_npm "https://github.com/rampatra/wedding-website/blob/master/package.json"
click node_lockfile "https://github.com/rampatra/wedding-website/blob/master/package-lock.json"
click node_ci "https://github.com/rampatra/wedding-website/blob/master/.github/workflows/npm-gulp.yml"
click node_nojekyll "https://github.com/rampatra/wedding-website/blob/master/.nojekyll"
click node_domain "https://github.com/rampatra/wedding-website/blob/master/CNAME"

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_page,node_media,node_manifest,node_nojekyll,node_domain toneBlue
class node_site_js,node_flexslider,node_fancybox,node_sass,node_layout,node_carousel_css toneAmber
class node_gulp,node_npm,node_lockfile,node_ci toneMint
class node_pages,node_rsvp,node_destinations toneRose
```

## Components

### Static site

Files served directly to wedding guests.

- [Wedding page](https://github.com/rampatra/wedding-website/blob/master/index.html): HTML entry · Central event content, sections, embeds, navigation, and RSVP fields. · `index.html`
- [Event photos](https://github.com/rampatra/wedding-website/tree/master/img/eng_pics): image assets · `img/eng_pics`
- [Web manifest](https://github.com/rampatra/wedding-website/blob/master/manifest.json): PWA metadata · `manifest.json`
- [No Jekyll marker](https://github.com/rampatra/wedding-website/blob/master/.nojekyll): Pages metadata · Disables Jekyll processing for static assets. · `.nojekyll`
- [Custom domain](https://github.com/rampatra/wedding-website/blob/master/CNAME): Pages domain config · `CNAME`

### Presentation

Styles, media, and browser UI dependencies.

- [Site interactions](https://github.com/rampatra/wedding-website/blob/master/js/scripts.js): browser script · Drives responsive UI, navigation, and service integrations. · `js/scripts.js`
- [Carousel library](https://github.com/rampatra/wedding-website/blob/master/js/jquery.flexslider-min.js): browser library · `js/jquery.flexslider-min.js`
- [Lightbox library](https://github.com/rampatra/wedding-website/blob/master/js/jquery.fancybox.pack.js): browser library · `js/jquery.fancybox.pack.js`
- [Sass entrypoint](https://github.com/rampatra/wedding-website/blob/master/sass/styles.scss): stylesheet source · Assembles the site stylesheet. · `sass/styles.scss`
- [Layout partial](https://github.com/rampatra/wedding-website/blob/master/sass/partials/_layout.scss): Sass partial · `sass/partials/_layout.scss`
- [Carousel styles](https://github.com/rampatra/wedding-website/blob/master/css/flexslider.css): vendor CSS · `css/flexslider.css`

### Build & automation

Development-time asset compilation and CI.

- [Gulp tasks](https://github.com/rampatra/wedding-website/blob/master/gulpfile.js): asset pipeline · Compiles Sass and performs JavaScript/CSS build work. · `gulpfile.js`
- [Node dependencies](https://github.com/rampatra/wedding-website/blob/master/package.json): package manifest · `package.json`
- [Dependency lock](https://github.com/rampatra/wedding-website/blob/master/package-lock.json): npm lockfile · `package-lock.json`
- [GitHub Actions](https://github.com/rampatra/wedding-website/blob/master/.github/workflows/npm-gulp.yml): CI workflow · Runs npm/Gulp build automation. · `.github/workflows/npm-gulp.yml`

### External services

Third-party destinations and RSVP processing.

- **GitHub Pages**: static hosting · Serves generated assets without an application server.
- **Google Apps Script**: RSVP endpoint · Receives guest submissions, writes Google Sheets, and enables email alerts.
- **Guest integrations**: external links · Calendar, Uber, maps, and video destinations.

## Connections

- Wedding page → Event photos: embeds
- Wedding page → Web manifest: references
- Wedding page → Site interactions: loads
- Wedding page → Carousel library: loads
- Wedding page → Lightbox library: loads
- Wedding page → Google Apps Script: submits RSVP data
- Site interactions → Google Apps Script: configures request
- Site interactions → Guest integrations: opens
- Sass entrypoint → Layout partial: includes
- Gulp tasks → Sass entrypoint: compiles
- Gulp tasks → Site interactions: builds
- Gulp tasks → Carousel styles: builds CSS
- Node dependencies → Dependency lock: pinned by
- Gulp tasks → Node dependencies: uses dependencies
- GitHub Actions → Node dependencies: installs
- GitHub Actions → Gulp tasks: runs
- GitHub Actions → GitHub Pages: publishes static output
- GitHub Pages → Wedding page: serves
- No Jekyll marker → GitHub Pages: disables processing
- Custom domain → GitHub Pages: configures
