fix: logo

This commit is contained in:
2026-06-02 15:09:18 -05:00
parent ad0fb99802
commit 1e33417453
5 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ export default function LoginPage() {
{/* Logo */}
<div className="flex items-center justify-center mb-8">
<Image
src="/logo-cirux.png"
src="/logo-cirux-light.webp"
alt="Cirux"
width={180}
height={48}
Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

+3 -1
View File
@@ -4,6 +4,7 @@ import { useMemo, useCallback } from "react";
import Link from "next/link";
import { usePathname, useRouter } from "next/navigation";
import Image from "next/image";
import { useTheme } from "next-themes";
import {
CalendarDays,
Users,
@@ -53,6 +54,7 @@ export function Sidebar() {
const role = useAuthStore((s) => s.role);
const reset = useAuthStore((s) => s.reset);
const supabase = useMemo(() => createClient(), []);
const { resolvedTheme } = useTheme();
const handleLogout = useCallback(async () => {
const { error } = await supabase.auth.signOut();
@@ -77,7 +79,7 @@ export function Sidebar() {
{sidebarOpen && (
<Link href="/dashboard" className="flex items-center hover:opacity-80 transition-opacity">
<Image
src="/logo-cirux.png"
src={resolvedTheme === "dark" ? "/logo-cirux-dark.webp" : "/logo-cirux-light.webp"}
alt="Cirux"
width={120}
height={32}