Book / templates /navbar.html
anwesh2410's picture
Upload 39 files
54862ee verified
raw
history blame contribute delete
799 Bytes
<!-- templates/navbar.html -->
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
<nav>
<div class="logo">
<a href="{{ url_for('homepage') }}">BookNest</a>
</div>
<ul class="nav-links">
<li><a href="{{ url_for('homepage') }}">Home</a></li>
<li><a href="{{ url_for('index') }}">Recommendations</a></li>
<li><a href="{{ url_for('contact') }}">Contact</a></li>
{% if current_user.is_authenticated %}
<li><a href="{{ url_for('profile') }}">Profile</a></li>
<li><a href="{{ url_for('logout') }}">Logout</a></li>
{% else %}
<li><a href="{{ url_for('login') }}">Login</a></li>
<li><a href="{{ url_for('register') }}">Register</a></li>
{% endif %}
</ul>
</nav>