How rampatra/wedding-website works
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 Wedding page · gulpfile.js Gulp tasks · scripts.js Site interactions · npm-gulp.yml GitHub Actions
Components 18
Static site
Files served directly to wedding guests.
- Wedding page · Central event content, sections, embeds, navigation, and RSVP fields.
index.html - Event photos
img/eng_pics - Web manifest
manifest.json - No Jekyll marker · Disables Jekyll processing for static assets.
.nojekyll - Custom domain
CNAME
Presentation
Styles, media, and browser UI dependencies.
- Site interactions · Drives responsive UI, navigation, and service integrations.
js/scripts.js - Carousel library
js/jquery.flexslider-min.js - Lightbox library
js/jquery.fancybox.pack.js - Sass entrypoint · Assembles the site stylesheet.
sass/styles.scss - Layout partial
sass/partials/_layout.scss - Carousel styles
css/flexslider.css
Build & automation
Development-time asset compilation and CI.
- Gulp tasks · Compiles Sass and performs JavaScript/CSS build work.
gulpfile.js - Node dependencies
package.json - Dependency lock
package-lock.json - GitHub Actions · Runs npm/Gulp build automation.
.github/workflows/npm-gulp.yml
External services
Third-party destinations and RSVP processing.
- GitHub Pages · Serves generated assets without an application server.
- Google Apps Script · Receives guest submissions, writes Google Sheets, and enables email alerts.
- Guest integrations · Calendar, Uber, maps, and video destinations.
Connections 20
- 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