import { cva, type VariantProps } from 'class-variance-authority'; import type React from 'react'; import { cn } from '@/lib/utils'; const mockupVariants = cva( 'flex relative z-10 overflow-hidden shadow-2xl border border-border/70 dark:border-border/5 dark:border-t-border/15', { variants: { type: { mobile: 'rounded-[48px] max-w-[350px]', responsive: 'rounded-md', }, }, defaultVariants: { type: 'responsive', }, } ); export interface MockupProps extends React.HTMLAttributes, VariantProps {} function Mockup({ className, type, ...props }: MockupProps) { return
; } const frameVariants = cva( 'bg-border/50 flex relative z-10 overflow-hidden rounded-2xl dark:bg-border/10', { variants: { size: { small: 'p-2', large: 'p-4', }, }, defaultVariants: { size: 'small', }, } ); export interface MockupFrameProps extends React.HTMLAttributes, VariantProps {} function MockupFrame({ className, size, ...props }: MockupFrameProps) { return (
); } export { Mockup, MockupFrame };