feat/authentication #21

Merged
Hammond merged 12 commits from feat/authentication into master 2025-11-24 22:09:51 +00:00
Showing only changes of commit 43d0eae01f - Show all commits

View File

@ -133,13 +133,7 @@ export function Navbar() {
<Button <Button
size="sm" size="sm"
variant="outline" variant="outline"
className={`hover:opacity-90 hover:scale-105 transition-all text-xs sm:text-sm ${ className="bg-red-600 hover:bg-red-700 text-white border-red-600 hover:border-red-700 hover:opacity-90 hover:scale-105 transition-all text-xs sm:text-sm"
isUserRoute
? 'bg-red-600 hover:bg-red-700 text-white border-red-600 hover:border-red-700'
: isDark
? 'border-gray-700 text-gray-300 hover:bg-gray-800'
: ''
}`}
onClick={handleLogout} onClick={handleLogout}
> >
<LogOut className="w-4 h-4 mr-2" /> <LogOut className="w-4 h-4 mr-2" />
@ -243,13 +237,7 @@ export function Navbar() {
{isAuthenticated && ( {isAuthenticated && (
<Button <Button
variant="outline" variant="outline"
className={`w-full justify-start text-sm sm:text-base ${ className="w-full justify-start text-sm sm:text-base bg-red-600 hover:bg-red-700 text-white border-red-600 hover:border-red-700"
isUserRoute
? 'bg-red-600 hover:bg-red-700 text-white border-red-600 hover:border-red-700'
: isDark
? 'border-gray-700 text-gray-300 hover:bg-gray-800'
: ''
}`}
onClick={() => { onClick={() => {
handleLogout(); handleLogout();
}} }}