Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

civictechdc/spicyregs-web

Open more actions menu

Repository files navigation

spicyregs-web

Landing page for SpicyRegs — an open-source Civic Tech DC project for searching, analyzing, and understanding federal regulatory dockets and public comments — and its build event, Civic Hack DC: Part 2 — Making public comments count (September 12, 2026).

Built with Astro. It's a static marketing site that ships zero JavaScript: every call-to-action is a mailto: link and section scrolling is pure CSS.

Develop

npm install
npm run dev      # local dev server at http://localhost:4321
npm run build    # static build to ./dist
npm run preview  # serve the built ./dist

Deploy

Pushing to main triggers .github/workflows/deploy.yml, which builds with the official withastro/action and publishes to GitHub Pages at the custom domain → https://spicyregs.civictechdc.org/

  • Pages source is set to GitHub Actions (Settings → Pages).
  • The custom domain is set by public/CNAME + the Pages settings; DNS is a CNAME record spicyregscivictechdc.github.io on the civictechdc.org zone.
  • site in astro.config.mjs is the full subdomain and there is no base (the site is served at the domain root).

Structure

src/
  consts.ts              # event date, contact email, mail-subject links
  styles/tokens.css      # SpicyRegs design tokens (color, type, spacing, effects, base)
  layouts/Layout.astro   # <head>, fonts, global page + responsive styles
  components/
    Button.astro         # primary/secondary/ghost/danger · sm/md/lg · fullWidth
    Badge.astro          # status/label pill
    Icon.astro           # inlined Lucide stroke icons (no CDN)
    Nav / Hero / WhyItMatters / WhatIsSpicyRegs /
    Hackathon / ProductOwners / GetInvolved / Footer
  pages/index.astro      # composes the sections
public/
  favicon.svg

Design system

Colors, typography, spacing, and effects come from the SpicyRegs design system and live in src/styles/tokens.css. Button, Badge, and Icon reproduce the corresponding design system primitives as native Astro components.

Notes for production

  • Fonts load from Google Fonts (Libre Franklin + IBM Plex Mono) with full system fallback stacks. For CDN-blocked networks (common on gov networks), self-host them as woff2 @font-face and update the @import at the top of src/styles/tokens.css.
  • Icons use a curated inlined subset of Lucide; add glyphs to the PATHS map in Icon.astro.
  • Event date, contact email, and CTA subjects are centralized in src/consts.ts.

About

Landing page for SpicyRegs — Civic Hack DC: Part 2, Making public comments count (Sep 12, 2026). Astro static site.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.