9 lines
308 B
HTML
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 %}
|