Skip to content

About

Founded 1954, Vampires MC has chapters in Santa Cruz, San Francisco, and San Luis Obispo, CA.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

Vampires Motorcycle Club

vampiresmc.com screenshot

Production Staging

Public site for Vampires Motorcycle Club, founded 1954, with chapters in Santa Cruz, San Francisco, and San Luis Obispo, CA.

Stack

HTML5, SCSS, vanilla JS. No build step, no package manager — everything loads from CDN.

  • GSAP 3 — hero entrance + Discord count ticker
  • node-qrcode 1.4.4 — Discord QR (pinned; later versions are ESM-only)
  • Font Awesome 6.7.2, Google Fonts (Montserrat, Lato)
  • Discord widget API — live online-member count

Structure

index.html
events.json          # Events panel data
js/main.js
styles/
  scss/              # source
    main.scss        # imports all partials
    _variables.scss  # colors, fonts, bp() mixin
    _reset.scss
    _typography.scss
    _sections.scss   # panel system, containers, button base
    _about.scss
    _events.scss
    _fans.scss
    _contact.scss
    _footer.scss     # bottom nav + copyright
    README.md        # bp() mixin reference
  css/               # compiled — do not edit
images/
  heroes/            # per-section slideshow images
  icons/
  logos/

Assets

All graphics, logos, icons, and hero imagery live in this Figma doc. It's the source of truth — pull exports from there rather than regenerating. To access the file, contact Ziad for an invite.

Local Development

SCSS compiles via the Live Sass Compiler VS Code extension on save. index.html loads the minified build. Serve locally with any static server.

#viewport-widget is a dev helper showing the current viewport size. An inline script removes it from the DOM on any non-local host, so it never ships to prod.

Deployment

First deploy: get .vscode/sftp.json from Ziad — it's git-ignored because it holds credentials, and the deploy scripts read connection details from it.

Staging auth: stage.vampiresmc.com is behind HTTP basic auth — user / pass. Not a real secret, just there to keep bots and crawlers out.

./utils/deploy/stage.sh           # → stage.vampiresmc.com
./utils/deploy/prod.sh            # → vampiresmc.com
./utils/deploy/stage.sh --dry-run # preview
./utils/deploy/prod.sh  --force   # bypass prod git-clean / on-main gates

Each run: compile SCSS, bump the .css?v=<timestamp> in index.html, rsync with --delete over SSH, print a summary. Excludes live in utils/deploy/ignore.json — mirror any changes to sftp.json's ignore array.

Cache bust: deploy rewrites main.min.css?v=<...> to $(date '+%Y.%m.%d.%H%M') at upload time, then reverts the local file so your working tree stays clean. Only .css?v= strings are touched — favicon and CDN URLs are not.

Prod gates: prod.sh refuses a dirty tree or non-main branch and requires typing yes to confirm. --force bypasses the git checks, not the prompt.

Deps: rsync, ssh, jq, git, npx. brew install jq rsync.

Sections

Single-page horizontal scroll with five full-viewport panels. Nav: bottom dot nav, arrow keys, wheel/trackpad, touch swipes. Hash deeplinks work.

  1. Hero — GSAP entrance over "Est. 1954"
  2. About — club history and philosophy
  3. Events — rendered from events.json, past events auto-filtered, capped at 6, sorted chronologically. Empty state points at Facebook/Discord.
  4. Fans — single featured quote
  5. Contact — Discord invite card: live member count (≥10 gated), join button, QR for desktop→mobile handoff

Each panel has a rotating background slideshow pulled from images/heroes/{section}/ via js/main.js.

About

Founded 1954, Vampires MC has chapters in Santa Cruz, San Francisco, and San Luis Obispo, CA.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages