firebreak/web/app/templates/index.html

50 lines
1.8 KiB
HTML

{% extends "base.html" %}
{% block title %}Firebreak — protect your code from scraping{% endblock %}
{% block body_class %}landing-page{% endblock %}
{% block main_class %}{% endblock %}
{% block content %}
<section class="hero-section">
<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-overlay"></div>
<div class="hero-vignette"></div>
<div class="hero-content">
<img src="/static/img/firebreak-brand.svg"
alt="Firebreak"
width="240"
height="268"
class="hero-brand" />
<p class="hero-tagline">
<span class="block">Fight Fire with Fire.</span>
<span class="mt-2 block">Draw a boundary around your code. Let them look, but don't let them scrape.</span>
</p>
<p class="hero-copy-panel">
Firebreak creates temporary, read-only links to private Forgejo repository snapshots.
Sign in using Forgejo, register an access token, and control what can be viewed and by whom.
</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 %}