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 '; }