forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-12 20:46:50 -06:00
parent 9a51043215
commit 0666b903f2
1 changed files with 6 additions and 6 deletions

View File

@ -76,16 +76,11 @@
<div class="ml-3 relative hidden sm:block">
{% include "/dropdowns/NavbarProfile.html" %}
</div>
<!-- Post Creation -->
<!-- Profile link -->
<a href="{{ '/me' if v else '/signup?redirect={{request.path | urlencode}}' }}" class="bg-transparent p-1 rounded-full text-gray-500 hover:text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white">
<span class="sr-only">My profile</span>
<i class="fas fa-user fa-fw"></i>
</a>
<!-- Post Creation -->
<a href="{{ '/submit' if v else '/signup?redirect={{request.path | urlencode}}' }}" class="bg-transparent p-1 rounded-full text-gray-500 hover:text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white">
<span class="sr-only">Submit post</span>
<i class="fas fa-plus fa-fw"></i>
</a>
<!-- Notifications -->
<a href="/notifications{% if v.notifications_count and v.notifications_count == v.post_notifications_count %}?posts=true{% endif %}" class="block bg-transparent p-1 rounded-full text-gray-500 hover:text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white">
<span class="sr-only">View notifications</span>
@ -99,6 +94,11 @@
{% endif %}
</div>
</a>
<!-- Post Creation -->
<a href="{{ '/submit' if v else '/signup?redirect={{request.path | urlencode}}' }}" class="bg-transparent p-1 rounded-full text-gray-500 hover:text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white">
<span class="sr-only">Submit post</span>
<i class="fas fa-plus fa-fw"></i>
</a>
<!-- Not logged in -->
{% else %}
<!-- Login button -->