'use client'; import { motion } from 'framer-motion'; import { cn } from '@/lib/utils'; interface LogoProps { size?: 'sm' | 'md' | 'lg'; showText?: boolean; className?: string; } export function Logo({ size = 'md', showText = true, className }: LogoProps) { const sizes = { sm: { icon: 32, text: 'text-lg' }, md: { icon: 40, text: 'text-xl' }, lg: { icon: 56, text: 'text-3xl' }, }; const { icon, text } = sizes[size]; return ( {/* Logo Icon */}
{/* 外圈 */} {/* 内部图形 - S 形状的抽象表示 */} {/* 点缀 */} {/* 光晕效果 */}
{/* Logo Text */} {showText && ( Sato Nano )} ); }