feat: add banner upload functionality and replace SynapsisLogo with logo image in admin and login pages

This commit is contained in:
Christopher
2026-01-22 04:39:28 -08:00
parent 7213f08b64
commit 890d54c011
3 changed files with 53 additions and 30 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
import Link from 'next/link';
import { usePathname } from 'next/navigation';
import { useAuth } from '@/lib/contexts/AuthContext';
import { HomeIcon, SearchIcon, BellIcon, UserIcon, ShieldIcon, SynapsisLogo } from './Icons';
import { HomeIcon, SearchIcon, BellIcon, UserIcon, ShieldIcon } from './Icons';
export function Sidebar() {
const { user, isAdmin } = useAuth();
@@ -15,7 +15,7 @@ export function Sidebar() {
return (
<aside className="sidebar">
<Link href="/" className="logo">
<SynapsisLogo />
<img className="logo-icon" src="/logo.svg" alt="Synapsis" width={28} height={28} />
<span>Synapsis</span>
</Link>
<nav>