firebreak/web/app/templates/index.html
ZTatman fda444b808 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 <noreply@anthropic.com>
2026-06-02 18:48:35 -04:00

50 lines
2.6 KiB
HTML

{% extends "base.html" %}
{% block title %}Firebreak — protect your code from scraping{% endblock %}
{% block body_class %}landing-page{% endblock %}
{% block content %}
<section class="relative left-1/2 right-1/2 -mx-[50vw] -mt-8 -mb-8 flex min-h-[calc(100dvh-4.25rem)] w-screen items-center justify-center overflow-hidden bg-[#17191c] px-6 py-20 text-center text-[#f7f2e8]">
<video class="absolute inset-0 h-full w-full object-cover"
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="absolute inset-0 bg-[#17191c]/65"></div>
<div class="absolute inset-0 bg-[radial-gradient(circle_at_center,transparent_0,transparent_30%,rgb(23_25_28_/0.44)_62%,rgb(23_25_28_/0.92)_100%)]">
</div>
<div class="relative z-10 flex w-full max-w-4xl flex-col items-center">
<img src="/static/img/firebreak-brand.svg"
alt="Firebreak"
width="240"
height="268"
class="h-auto w-full max-w-36 drop-shadow-[0_14px_34px_rgb(0_0_0_/0.55)] sm:max-w-48 lg:max-w-60" />
<p class="mt-8 max-w-2xl text-balance text-base font-medium leading-8 tracking-normal text-[#f7f2e8]/90 drop-shadow-[0_4px_18px_rgb(0_0_0_/0.72)] sm:text-lg sm:leading-9">
<span class="block">Fight Fire with Fire.</span>
<span class="mt-2 block">Your code. Your rules. Let them look, but don't let them scrape.</span>
</p>
<p class="mt-7 max-w-xl rounded-lg border border-[#f7f2e8]/14 bg-[#17191c]/42 px-5 py-4 text-sm leading-6 text-[#f7f2e8]/76 shadow-[0_18px_50px_rgb(0_0_0_/0.24)] backdrop-blur-sm sm:text-[0.9375rem]">
Firebreak creates temporary, read-only links to private Forgejo repository snapshots.
Sign in to connect your account, register an access token, and control what can be viewed.
</p>
<div class="mt-7 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>
</section>
{% endblock %}