All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 38s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
37 lines
1.4 KiB
HTML
37 lines
1.4 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{% block title %}Rose Ash{% endblock %}</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
</head>
|
|
<body class="bg-stone-50 text-stone-900 min-h-screen">
|
|
<nav class="bg-stone-800 text-white p-4">
|
|
<div class="max-w-4xl mx-auto flex items-center justify-between">
|
|
<a href="/" class="font-bold text-lg">Rose Ash</a>
|
|
<div class="flex items-center gap-4">
|
|
{% if g.user %}
|
|
{% if actor %}
|
|
<a href="{{ url_for('actors.profile', username=actor.preferred_username) }}" class="hover:underline">
|
|
@{{ actor.preferred_username }}
|
|
</a>
|
|
{% else %}
|
|
<a href="{{ url_for('identity.choose_username_form') }}" class="hover:underline">Choose username</a>
|
|
{% endif %}
|
|
<form method="post" action="{{ url_for('auth.logout') }}" class="inline">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
|
<button type="submit" class="hover:underline">Logout</button>
|
|
</form>
|
|
{% else %}
|
|
<a href="{{ url_for('auth.login_form') }}" class="hover:underline">Login</a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<main class="max-w-4xl mx-auto p-4">
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
</body>
|
|
</html>
|