2025-04-07 23:47:06 -07:00
|
|
|
"use client";
|
2025-07-27 10:41:15 -07:00
|
|
|
|
2025-04-07 23:47:06 -07:00
|
|
|
import Image from "next/image";
|
2025-07-27 10:41:15 -07:00
|
|
|
import Link from "next/link";
|
2025-04-07 23:47:06 -07:00
|
|
|
import { cn } from "@/lib/utils";
|
|
|
|
|
|
2026-02-05 16:43:48 -08:00
|
|
|
export const Logo = ({ className, disableLink = false }: { className?: string; disableLink?: boolean }) => {
|
|
|
|
|
const image = (
|
|
|
|
|
<Image
|
|
|
|
|
src="/icon-128.svg"
|
|
|
|
|
className={cn("dark:invert", className)}
|
|
|
|
|
alt="logo"
|
|
|
|
|
width={128}
|
|
|
|
|
height={128}
|
|
|
|
|
/>
|
2025-07-27 10:05:37 -07:00
|
|
|
);
|
2026-02-05 16:43:48 -08:00
|
|
|
|
|
|
|
|
if (disableLink) {
|
|
|
|
|
return image;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return <Link href="/">{image}</Link>;
|
2025-04-07 23:47:06 -07:00
|
|
|
};
|