cooked/templates/top_bar.html
2024-10-27 20:23:37 +01:00

9 lines
308 B
HTML

{% match session %}
{% when Some with (user) %}
<div class="text-base">Signed in as <span class="text-bold">{{user}}</span></div>
{% when None %}
<div class="flex justify-center">
<a href="/sign-in" class="btn sm:border-2 hover:shadow-lg transition ease-out duration-300">Login</a>
</div>
{% endmatch %}