This commit removes all trailing whitespace characters from every source file located under the src/ directory. The change is purely cosmetic and does not affect any functionality, logic, or behavior of the codebase. It ensures consistent formatting and eliminates potential linting warnings or diffs caused by extraneous whitespace at the end of lines.
25 lines
977 B
HTML
25 lines
977 B
HTML
<nav>
|
|
<div class="nav-container">
|
|
<a href="/" class="logo">Rant</a>
|
|
<div class="nav-links">
|
|
<a href="/">Feed</a>
|
|
<a href="/search">Search</a>
|
|
{% if current_user %}
|
|
<a href="/chat">Chat</a>
|
|
<span>
|
|
<a href="/profile/{{ current_user.id }}">Profile</a>
|
|
<a href="/notifications">Notifications {% if notif_count > 0 %}<span style="color: var(--error);">({{ notif_count }})</span>{% endif %}</a>
|
|
</span>
|
|
<span>
|
|
<a href="/logout" class="btn btn-secondary">Logout</a>
|
|
</span>
|
|
{% else %}
|
|
<span>
|
|
<button class="btn btn-secondary" onclick="showModal('login')">Login</button>
|
|
<button class="btn" onclick="showModal('register')">Sign Up</button>
|
|
</span>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</nav>
|