1.6 KiB · text History 263b40b
<div class="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8">
  <section class="py-20 sm:py-28 text-center">
    <p class="font-mono text-xs uppercase tracking-[0.25em] text-accent mb-4">{{ app_name }}</p>
    <h1 class="text-4xl sm:text-6xl font-bold tracking-tight">
      A new beginning.
    </h1>
    <p class="text-base-content/70 text-lg sm:text-xl mt-6 max-w-2xl mx-auto leading-relaxed">
      This is the {{ app_name }} web shell — axum + sea-orm + minijinja with
      cookie sessions, bearer API tokens, invite-only registration, and a
      Tailwind/DaisyUI theme switcher. Start building from here.
    </p>
    <div class="flex justify-center gap-3 mt-8 flex-wrap">
      {% if user %}
        <a href="/devices" class="btn btn-primary">
          <i class="fas fa-fw fa-mobile-screen"></i> Devices
        </a>
        <a href="/invites" class="btn btn-ghost">
          <i class="fas fa-fw fa-envelope"></i> Invites
        </a>
      {% else %}
        {% if registration_open %}
          <a href="/register" class="btn btn-primary">Get started</a>
        {% else %}
          <span class="btn btn-disabled" title="Registration is invite-only">
            Get started · invite-only
          </span>
        {% endif %}
        <a href="/login" class="btn btn-ghost">Log in</a>
      {% endif %}
    </div>
  </section>

  <footer class="py-10 sm:py-12 mt-8 border-t border-base-300 text-center">
    <p class="font-mono text-xs uppercase tracking-[0.25em] text-base-content/70">
      <span class="font-bold tracking-[0.16em]">{{ app_name }}</span>
    </p>
  </footer>
</div>