- 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.
22 lines
525 B
TypeScript
22 lines
525 B
TypeScript
import * as React from "react"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
export interface DividerProps extends React.HTMLAttributes<HTMLHRElement> {}
|
|
|
|
const Divider = React.forwardRef<HTMLHRElement, DividerProps>(({ className, ...props }, ref) => {
|
|
return (
|
|
<hr
|
|
ref={ref}
|
|
className={cn(
|
|
"border-0 h-px my-16",
|
|
"bg-gradient-to-r from-transparent via-[rgba(36,27,22,0.15)] to-transparent",
|
|
className,
|
|
)}
|
|
{...props}
|
|
/>
|
|
)
|
|
})
|
|
Divider.displayName = "Divider"
|
|
|
|
export { Divider }
|