- Adicionados ícones SVG para ChatGPT, Claude, Gemini e OpenRouter - Implementados ícones para modos claro e escuro do ChatGPT - Criado script de inicialização para PostgreSQL com extensão pgcrypto - Adicionado script de configuração de ambiente que faz backup do .env - Configurado tsconfig.json para TypeScript com opções de compilação
44 lines
887 B
TypeScript
44 lines
887 B
TypeScript
import { cn } from "@/lib/utils/ui";
|
|
import Image from "next/image";
|
|
|
|
interface LogoProps {
|
|
variant?: "full" | "small";
|
|
className?: string;
|
|
}
|
|
|
|
export function Logo({ variant = "full", className }: LogoProps) {
|
|
if (variant === "small") {
|
|
return (
|
|
<Image
|
|
src="/logo_small.png"
|
|
alt="OpenSheets"
|
|
width={32}
|
|
height={32}
|
|
className={cn("object-contain", className)}
|
|
priority
|
|
/>
|
|
);
|
|
}
|
|
|
|
return (
|
|
<div className={cn("flex items-center", className)}>
|
|
<Image
|
|
src="/logo_small.png"
|
|
alt="OpenSheets"
|
|
width={28}
|
|
height={28}
|
|
className="object-contain"
|
|
priority
|
|
/>
|
|
<Image
|
|
src="/logo_text.png"
|
|
alt="OpenSheets"
|
|
width={100}
|
|
height={32}
|
|
className="object-contain dark:invert"
|
|
priority
|
|
/>
|
|
</div>
|
|
);
|
|
}
|