From fda444b808b59c222058caddbdc7d3c3f318efb7 Mon Sep 17 00:00:00 2001 From: ZTatman Date: Tue, 2 Jun 2026 18:48:35 -0400 Subject: [PATCH] feat(web): cinematic landing page with wildfire hero and Firebreak branding Full-viewport video hero with wildfire background, vignette overlay, brand logo, tagline, and single OAuth CTA. Dark-only forced theme with obsidian header styling. Documents header SVG, poster, and theme obstacles in agents.md. Co-Authored-By: Claude Opus 4.6 --- agents.md | 18 ++ web/app/static/css/input.css | 80 +++++++-- web/app/static/img/firebreak-brand.svg | 43 +++++ web/app/static/img/firebreak-hero-poster.jpg | Bin 0 -> 305596 bytes web/app/static/video/firebreak-hero.mp4 | Bin 0 -> 18666835 bytes web/app/templates/base.html | 172 +++++-------------- web/app/templates/index.html | 92 ++++------ 7 files changed, 193 insertions(+), 212 deletions(-) create mode 100644 web/app/static/img/firebreak-brand.svg create mode 100644 web/app/static/img/firebreak-hero-poster.jpg create mode 100644 web/app/static/video/firebreak-hero.mp4 diff --git a/agents.md b/agents.md index 6bd5a23..b2cba3f 100644 --- a/agents.md +++ b/agents.md @@ -103,3 +103,21 @@ This file is the single source of truth for codebase obstacles, oddities, and th **Obstacle:** Early UI templates mixed old role names (`background-*`, `text-*`, `stroke`) and hardcoded `white` values inside component classes, which made dark mode and future theming brittle. **Solution/Workaround:** Use Tailwind v4 `@theme` tokens with semantic pairs such as `background/foreground`, `card/card-foreground`, `primary/primary-foreground`, `secondary/secondary-foreground`, `border`, `input`, and `ring`. Keep shared component structure in base classes like `.btn`, with variant classes only setting semantic colors. **Preference:** Prefer semantic token names over appearance-based names; add dark mode by overriding CSS variables under `.dark`. + +### Header brand SVG inherits unwanted icon styling +**Area:** web/app/templates/base.html, web/app/templates/index.html, web/app/static/css/input.css +**Obstacle:** The inline Firebreak header wordmark uses hardcoded SVG fills, and page-level header rules can accidentally apply icon `stroke` styles to the brand SVG. On forced-dark landing headers, the `#17191C` wordmark fill disappears against the obsidian nav. +**Solution/Workaround:** Give the header brand link a stable `brand-link` class, prevent inherited SVG strokes on `.brand-link svg`, and override only the hardcoded wordmark fill in dark contexts or forced-dark page headers. +**Preference:** Scope icon stroke rules to nav icons; do not apply broad `header svg` stroke styles. + +### Landing video poster caused logo flash +**Area:** web/app/templates/index.html, web/app/static/img/ +**Obstacle:** Using a logo SVG as the `