changed home page and added topics on the website also added them in navbar only shows when signed in

This commit is contained in:
ralphi3
2026-06-22 11:40:05 +12:00
parent 53fc8b90e4
commit 2b328f0ae2
6 changed files with 40 additions and 1 deletions
+4 -1
View File
@@ -11,7 +11,10 @@
<li><a href="{{ url_for('about') }}">About</a></li>
{% if session.user_id %}
<li><a href="{{ url_for('bivariate') }}">Bivariate Data</a></li>
<li style="margin-left: auto; color: white; margin-top: 14px; margin-left: 900px;">Hi, {{ session.username }}</li>
<li><a href="{{ url_for('simultaneousequations') }}">Simultaneous Equations</a></li>
<li><a href="{{ url_for('calculus') }}">Calculus</a></li>
<li><a href="{{ url_for('triganometry') }}">Triganometry</a></li>
<li style="margin-left: auto; color: white; margin-top: 14px; margin-left: 550px;">Hi, {{ session.username }}</li>
<li style="margin-left: 20px;"><a href="{{ url_for('logout') }}">Sign Out</a></li>
{% else %}
<li style="margin-left: auto;"><a href="{{ url_for('signup') }}">Sign Up</a></li>