37 lines
1.7 KiB
TypeScript
37 lines
1.7 KiB
TypeScript
/**
|
|
* ╔══════════════════════════════════════════════════════════════════╗
|
|
* ║ ║
|
|
* ║ +-+-+-+-+-+-+-+-+ ║
|
|
* ║ |H|e|x|a|H|o|s|t| ║
|
|
* ║ +-+-+-+-+-+-+-+-+ ║
|
|
* ║ ║
|
|
* ║ © 2026 HexaHost — All Rights Reserved ║
|
|
* ║ ║
|
|
* ║ discord ── https://discord.gg/hexahost ║
|
|
* ║ github ── https://github.com/theoneandonlymace ║
|
|
* ║ ║
|
|
* ╚══════════════════════════════════════════════════════════════════╝
|
|
*/
|
|
import Image from "next/image";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
type BrandLogoProps = {
|
|
className?: string;
|
|
size?: number;
|
|
priority?: boolean;
|
|
};
|
|
|
|
export function BrandLogo({ className, size = 40, priority = false }: BrandLogoProps) {
|
|
return (
|
|
<Image
|
|
src="/logo.svg"
|
|
alt={process.env.NEXT_PUBLIC_BRAND_NAME || "Axiom"}
|
|
width={size}
|
|
height={size}
|
|
priority={priority}
|
|
unoptimized
|
|
className={cn("shrink-0 select-none", className)}
|
|
/>
|
|
);
|
|
}
|