mirror of
https://github.com/soconnor0919/hristudio.git
synced 2025-12-11 22:54:45 -05:00
36 lines
753 B
TypeScript
36 lines
753 B
TypeScript
import { BotIcon } from "lucide-react";
|
|
import Link from "next/link";
|
|
import { cn } from "~/lib/utils";
|
|
|
|
interface LogoProps {
|
|
href?: string;
|
|
className?: string;
|
|
iconClassName?: string;
|
|
textClassName?: string;
|
|
}
|
|
|
|
export function Logo({
|
|
href = "/",
|
|
className,
|
|
iconClassName,
|
|
textClassName
|
|
}: LogoProps) {
|
|
return (
|
|
<Link
|
|
href={href}
|
|
className={cn(
|
|
"flex items-center font-sans text-xl",
|
|
className
|
|
)}
|
|
>
|
|
<BotIcon className={cn(
|
|
"h-6 w-6 mr-1 text-muted-foreground",
|
|
iconClassName
|
|
)} />
|
|
<span className={cn(textClassName)}>
|
|
<span className="font-extrabold">HRI</span>
|
|
<span className="font-normal">Studio</span>
|
|
</span>
|
|
</Link>
|
|
);
|
|
} |