cooked/templates/top_bar.html

9 lines
308 B
HTML
Raw Normal View History

2024-10-27 20:23:37 +01:00
{% match session %}
{% when Some with (user) %}
<div class="text-base">Signed in as <span class="text-bold">{{user}}</span></div>
{% when None %}
2024-10-25 17:13:01 +02:00
<div class="flex justify-center">
2024-10-25 21:27:03 +02:00
<a href="/sign-in" class="btn sm:border-2 hover:shadow-lg transition ease-out duration-300">Login</a>
2024-10-25 17:13:01 +02:00
</div>
2024-10-27 20:23:37 +01:00
{% endmatch %}