From 84f20b03c2d3307e3e1c18aa5f9d21114fe53e10 Mon Sep 17 00:00:00 2001 From: Josh Ashton Date: Sun, 13 Apr 2025 15:59:01 -0600 Subject: [PATCH] fixed nav links --- components/nav.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/components/nav.php b/components/nav.php index 05c82b1..b17a533 100644 --- a/components/nav.php +++ b/components/nav.php @@ -10,13 +10,13 @@ $nav = ' '; if (isset($_COOKIE['role_id']) && $_COOKIE['role_id'] <= 2) { - $nav .= ' + $nav .= '
  • Admin
  • '; } if (isset($_COOKIE['user_id'])) { - $nav .= ' + $nav .= '
  • Account
  • '; } @@ -30,9 +30,9 @@ $nav .= ' $theme_toggle = ''; if ($_SESSION['theme'] == 'dark') - $theme_toggle = 'light'; + $theme_toggle = 'light'; else - $theme_toggle = 'dark'; + $theme_toggle = 'dark'; $nav .= ' @@ -40,13 +40,13 @@ $nav .= ' '; if (isset($_COOKIE['username'])) { - $nav .= ' - Log Out + $nav .= ' + Log Out '; } else { - $nav .= ' - Login - Sign Up + $nav .= ' + Login + Sign Up '; }