mirror of
https://github.com/AnmolSaini16/mapcn
synced 2026-04-25 16:14:54 +02:00
25 lines
478 B
TypeScript
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>
|
|
);
|
|
}
|