diff --git a/src/App.tsx b/src/App.tsx index 8eafb44..ccc6c67 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -12,7 +12,7 @@ function App() { const isFullscreen = FULLSCREEN_ROUTES.includes(location.pathname); return ( -
+
{!isFullscreen && } {!isFullscreen && } diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 8272f7c..c332388 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -1,7 +1,7 @@ import { NavLink, Link } from "react-router-dom"; import { useState, useContext } from "react"; import { ThemeContext } from "../context/ThemeContext"; -import { Moon, Sun, Menu, X, UserPlus } from 'lucide-react'; +import { Moon, Sun, Menu, X } from "lucide-react"; const Navbar: React.FC = () => { const [isOpen, setIsOpen] = useState(false); @@ -10,83 +10,134 @@ const Navbar: React.FC = () => { if (!themeContext) return null; const { toggleTheme, mode } = themeContext; - const navLinkStyles = ({ isActive }: { isActive: boolean }) => - `px-5 py-2 rounded-full text-lg font-semibold transition-all duration-300 - ${isActive - ? "text-blue-600 bg-blue-100/60 dark:bg-blue-900/40 shadow-sm ring-1 ring-blue-200/50" - : "text-slate-600 dark:text-gray-300 hover:text-blue-500 hover:bg-white/50" - }`; - return ( -