Files
mapcn/src/components/logo.tsx

25 lines
478 B
TypeScript

import Link from "next/link";
import { MapPin } from "lucide-react";
import { cn } from "@/lib/utils";
interface LogoProps {
className?: string;
onClick?: () => void;
}
export function Logo({ className, onClick }: LogoProps) {
return (
<Link
href="/"
onClick={onClick}
className={cn(
"flex h-8 items-center gap-1.5 text-lg font-semibold",
className,
)}
>
<MapPin className="size-4" />
mapcn
</Link>
);
}