firebreak/web/app/templates/index.html
ZTatman 4a3d045b85 style(web): design token system + Firebreak branding pass
Dark-only Tailwind v4 @theme tokens, cinematic landing hero, operational
dashboard styling, and the Firebreak logo/wordmark assets. Templates use
semantic component classes instead of inline styles and color literals.
2026-06-10 17:03:10 -04:00

63 lines
2.6 KiB
HTML

{% extends "base.html" %}
{% block title %}Firebreak — protect your code from scraping{% endblock %}
{% block body_class %}landing-page{% endblock %}
{% block main_class %}flex-1{% endblock %}
{% block content %}
<section class="relative flex min-h-dvh w-full items-center justify-center overflow-hidden bg-background px-4 py-10 text-center text-foreground sm:px-6 sm:py-14 lg:py-16">
<video class="hero-video"
autoplay
muted
loop
playsinline
preload="metadata"
poster="/static/img/firebreak-hero-poster.jpg"
aria-hidden="true">
<source src="/static/video/firebreak-hero.mp4" type="video/mp4" />
</video>
<div class="hero-vignette"></div>
<div class="hero-ember"></div>
<div class="relative z-10 flex w-full max-w-4xl -translate-y-[2dvh] flex-col items-center gap-6 sm:gap-8 lg:gap-9">
<img src="/static/img/firebreak-logo-cream-red.svg"
alt=""
width="240"
height="238"
class="hero-logo"
aria-hidden="true" />
<img src="/static/img/firebreak-brand-text.svg"
alt="Firebreak"
width="280"
height="48"
class="hero-wordmark" />
<div class="hero-statement">
<p class="text-base font-semibold leading-7 text-foreground sm:text-lg">Fight Fire with Fire.</p>
<div class="hero-burn-line" aria-hidden="true"></div>
<p class="max-w-md text-sm leading-6 text-foreground/90 sm:max-w-lg sm:text-[0.9375rem] sm:leading-7">
Temporary read-only access to private Forgejo snapshots.
Let them inspect what you allow. Nothing more.
</p>
</div>
<div class="flex flex-wrap items-center justify-center gap-3">
{% if user %}
<a href="/dashboard" class="btn btn-primary">Open Dashboard</a>
{% else %}
<a href="/auth/login/forgejo" class="btn btn-primary">
<img src="/static/img/forgejo-logo.svg"
alt=""
width="16"
height="16"
class="size-4 shrink-0 brightness-0 invert"
aria-hidden="true" />
<span>Sign In with Forgejo</span>
</a>
{% endif %}
</div>
</div>
<p class="hero-meta" aria-label="Firebreak security properties">
<span>Snapshot scoped</span>
<span class="hero-meta-separator" aria-hidden="true"></span>
<span>Read-only</span>
<span class="hero-meta-separator" aria-hidden="true"></span>
<span>Forgejo-native</span>
</p>
</section>
{% endblock %}