feat: add signup form

This commit is contained in:
2026-03-10 14:15:31 +01:00
parent 1df9fe960a
commit 13df010470
15 changed files with 278 additions and 69 deletions

View File

@@ -0,0 +1,15 @@
{% load i18n %}
<header class="bg-blue-900 text-white shadow-md">
<div class="container mx-auto flex items-center justify-between py-4 px-6">
<a class="text-xl font-bold" href="/">Kursy</a>
<nav class="space-x-4">
<a href="#" class="hover:underline">{% trans "Home" %}</a>
{% if user.is_authenticated %}
<a href="{% url 'account_logout' %}" class="hover:underline">{% trans "Logout" %}</a>
{% else %}
<a href="{% url 'account_login' %}" class="hover:underline">{% trans "Login" %}</a>
<a href="{% url 'account_signup' %}" class="hover:underline">{% trans "Sign Up" %}</a>
{% endif %}
</nav>
</div>
</header>