'use client'; import { cn } from '@workspace/ui/lib/utils'; import { motion, type SVGMotionProps } from 'motion/react'; const pathVariants = { hidden: { pathLength: 0, fillOpacity: 0, }, visible: { pathLength: 1, fillOpacity: 1, transition: { duration: 2, ease: 'easeInOut', }, }, } as const; const sizes = { sm: { svg: 'h-6', betaTag: 'bottom-[2px] left-[calc(100%+6px)] px-1.5 py-0.5 text-[9px]', }, lg: { svg: 'h-12', betaTag: 'bottom-[4px] left-[calc(100%+10px)] px-2 py-0.5 text-base', }, xl: { svg: 'h-14', betaTag: 'bottom-[7px] left-[calc(100%+15px)] px-2.5 py-1 text-base', }, }; export const Logo = ({ betaTag = false, draw = false, size = 'sm', className, containerClassName, ...props }: { containerClassName?: string; betaTag?: boolean; draw?: boolean; size?: keyof typeof sizes; } & SVGMotionProps) => { return (
{betaTag && ( Beta )} Animate UI
); };