- Introduced multiple new components including AnimatedLink, Button, Calendar, Card, ColorSwatch, Divider, Filmstrip, FormContainer, FormField, GalleryCard, Heading, HeroOverlay, IdentitySection, ImmersionSection, NewArtistsSection, NewContactSection, NewHero, NewNavigation, Reveal, SectionLabel, StickySplit, and Toast. - Each component is designed with responsive layouts and customizable styles to improve the overall UI consistency and interactivity. - Implemented accessibility features and animations to enhance user engagement. This commit significantly expands the component library, providing a robust foundation for building a cohesive user interface.
29 lines
689 B
TypeScript
29 lines
689 B
TypeScript
"use client"
|
|
|
|
import * as React from "react"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
export interface LiftCardProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
|
|
const LiftCard = React.forwardRef<HTMLDivElement, LiftCardProps>(({ className, children, ...props }, ref) => {
|
|
return (
|
|
<div
|
|
ref={ref}
|
|
className={cn(
|
|
"p-6 bg-white rounded-[12px]",
|
|
"shadow-[var(--shadow-subtle)]",
|
|
"transition-all duration-300 ease-out",
|
|
"hover:-translate-y-1 hover:shadow-[var(--shadow-bloom)]",
|
|
"cursor-default",
|
|
className,
|
|
)}
|
|
{...props}
|
|
>
|
|
{children}
|
|
</div>
|
|
)
|
|
})
|
|
LiftCard.displayName = "LiftCard"
|
|
|
|
export { LiftCard }
|