"use client"; import { memo } from "react"; import Image from "next/image"; import { cls } from "@/lib/utils"; interface LogoProps { logoSrc?: string; logoAlt?: string; brandName?: string; className?: string; imageClassName?: string; textClassName?: string; } const Logo = memo(function Logo({ logoSrc, logoAlt = "", brandName = "Webild", className = "", imageClassName = "", textClassName = "" }) { if (logoSrc) { return (
{logoAlt}
); } return (

{brandName}

); }); Logo.displayName = "Logo"; export default Logo;