forked from rDrama/rDrama
fix
parent
6897078de2
commit
92b3181a56
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue