diff --git a/app/templates/_layout.html b/app/templates/_layout.html index 53ed438..b0e8d7a 100644 --- a/app/templates/_layout.html +++ b/app/templates/_layout.html @@ -13,16 +13,43 @@ + BP Tracker - + + + {% if current_user.is_authenticated %} Dashboard - Profile - Logout + + + + {% if current_user.profile and current_user.profile.profile_pic %} + + {% else %} + + + + + + + {% endif %} + Profile + + + + Logout + {% else %} Login Signup + class="px-4 py-2 bg-white text-blue-600 rounded hover:bg-gray-200"> + Signup + {% endif %}