master
kek7198 2021-12-07 20:49:56 -06:00
parent 804d936a36
commit 9790b1d72b
1 changed files with 5 additions and 5 deletions

View File

@ -65,17 +65,17 @@
<div class="px-4 py-2 flex space-x-3 divide-x divide-gray-400 text-xs bg-gray-100 md:border-b md:border-gray-300">
<ul class="flex items-center space-x-3 leading-normal mb-0">
<li>
<a class="{{ 'font-bold text-red-600' if '/posts/' in request.path else 'text-gray-500' }}" href="/@{{u.username}}">
Posts <span class="text-gray-400 font-normal">{{ u.post_count }}</span>
<a class="{{ 'font-bold text-red-600' if '/posts/' in request.path else 'text-black' }}" href="/@{{u.username}}">
Posts <span class="text-gray-500 font-normal">{{ u.post_count }}</span>
</a>
</li>
<li>
<a class="{{ 'font-bold text-red-600' if '/comments/' in request.path else 'text-gray-500' }}" href="/@{{u.username}}/comments">
Comments <span class="text-gray-400 font-normal">{{ u.comment_count }}</span>
<a class="{{ 'font-bold text-red-600' if '/comments/' in request.path else 'text-black' }}" href="/@{{u.username}}/comments">
Comments <span class="text-gray-500 font-normal">{{ u.comment_count }}</span>
</a>
</li>
<li>
<a class="{{ 'font-bold text-red-600' if '/saved/' in request.path else 'text-gray-500' }}" href="/@{{u.username}}/saved/posts">
<a class="{{ 'font-bold text-red-600' if '/saved/' in request.path else 'text-black' }}" href="/@{{u.username}}/saved/posts">
Saved Posts
</a>
</li>