mirror of
https://github.com/soconnor0919/beenvoice.git
synced 2026-05-08 09:38:55 -04:00
refactor: migrate authentication system and update Drizzle schema.
This commit is contained in:
@@ -17,19 +17,12 @@ export function Logo({ className, size = "md", animated = true }: LogoProps) {
|
||||
xl: "text-4xl",
|
||||
};
|
||||
|
||||
const LogoContent = () => (
|
||||
<div className={cn("flex items-center", sizeClasses[size], className)}>
|
||||
<span className="text-primary font-bold tracking-tight">$</span>
|
||||
<span className="inline-block w-2"></span>
|
||||
<span className="text-foreground font-bold tracking-tight">been</span>
|
||||
<span className="text-foreground/70 font-bold tracking-tight">voice</span>
|
||||
</div>
|
||||
);
|
||||
|
||||
if (!animated) {
|
||||
return <LogoContent />;
|
||||
return <LogoContent className={className} size={size} sizeClasses={sizeClasses} />;
|
||||
}
|
||||
|
||||
|
||||
|
||||
return (
|
||||
<motion.div
|
||||
initial={{ opacity: 0 }}
|
||||
@@ -70,3 +63,22 @@ export function Logo({ className, size = "md", animated = true }: LogoProps) {
|
||||
</motion.div>
|
||||
);
|
||||
}
|
||||
|
||||
function LogoContent({
|
||||
className,
|
||||
size,
|
||||
sizeClasses,
|
||||
}: {
|
||||
className?: string;
|
||||
size: "sm" | "md" | "lg" | "xl";
|
||||
sizeClasses: Record<string, string>;
|
||||
}) {
|
||||
return (
|
||||
<div className={cn("flex items-center", sizeClasses[size], className)}>
|
||||
<span className="text-primary font-bold tracking-tight">$</span>
|
||||
<span className="inline-block w-2"></span>
|
||||
<span className="text-foreground font-bold tracking-tight">been</span>
|
||||
<span className="text-foreground/70 font-bold tracking-tight">voice</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user