import React from "react";
import { cn } from "~/lib/utils";
interface BrandLogoProps {
variant?: "full" | "icon" | "text";
size?: "sm" | "md" | "lg" | "xl";
className?: string;
showCompany?: boolean;
}
export function BrandLogo({
variant = "full",
size = "md",
className,
showCompany = false
}: BrandLogoProps) {
const sizes = {
sm: {
icon: "w-6 h-6",
text: "text-sm",
container: "gap-2"
},
md: {
icon: "w-8 h-8",
text: "text-base",
container: "gap-3"
},
lg: {
icon: "w-10 h-10",
text: "text-lg",
container: "gap-3"
},
xl: {
icon: "w-12 h-12",
text: "text-xl",
container: "gap-4"
}
};
const sizeConfig = sizes[size];
const LogoIcon = () => (
);
const BrandText = () => (
);
const CompanyText = () => (
توسعهیافته توسط شرکت رهبران دانش و فناوری فرا
);
if (variant === "icon") {
return (
);
}
if (variant === "text") {
return (
{showCompany && }
);
}
return (
);
}
interface InogenLogoProps {
size?: "sm" | "md" | "lg";
className?: string;
animated?: boolean;
}
export function InogenLogo({ size = "md", className, animated = false }: InogenLogoProps) {
const sizes = {
sm: "w-8 h-8",
md: "w-10 h-10",
lg: "w-12 h-12"
};
return (
{animated && (
)}
);
}
interface CompanyBrandingProps {
variant?: "horizontal" | "vertical" | "compact";
theme?: "light" | "dark";
size?: "sm" | "md" | "lg";
className?: string;
}
export function CompanyBranding({
variant = "horizontal",
theme = "light",
size = "md",
className
}: CompanyBrandingProps) {
const isLight = theme === "light";
const sizes = {
sm: {
logo: "w-6 h-6",
title: "text-sm",
subtitle: "text-xs",
company: "text-xs"
},
md: {
logo: "w-8 h-8",
title: "text-base",
subtitle: "text-sm",
company: "text-xs"
},
lg: {
logo: "w-10 h-10",
title: "text-lg",
subtitle: "text-base",
company: "text-sm"
}
};
const sizeConfig = sizes[size];
if (variant === "compact") {
return (
);
}
if (variant === "vertical") {
return (
پردازشی اینوژن
توسعهیافته توسط شرکت رهبران دانش و فناوری فرا
);
}
return (
پردازشی اینوژن
شرکت رهبران دانش و فناوری فرا
);
}