remotes/1693045480750635534/spooky-22
kek7198 2021-12-03 11:21:07 -06:00
parent 6897078de2
commit 92b3181a56
1 changed files with 6 additions and 2 deletions

View File

@ -70,18 +70,21 @@
</div>
</div>
<div class="absolute inset-y-0 right-0 flex items-center space-x-3 pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0">
{% if v %}
<!-- Profile dropdown -->
<div class="ml-3 relative hidden sm:block">
{% include "/dropdowns/NavbarProfile.html" %}
</div>
{% endif %}
<!-- Notifications -->
<a href="/submit" 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">
<!-- 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 -->
{% if v %}
<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>
<div class="relative">
@ -94,6 +97,7 @@
{% endif %}
</div>
</a>
{% endif %}
<!-- Members, Friends, etc -->
<!-- <button type="button" 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">