- 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
538 B
TypeScript
22 lines
538 B
TypeScript
import * as React from "react"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
export interface LeadTextProps extends React.HTMLAttributes<HTMLParagraphElement> {}
|
|
|
|
const LeadText = React.forwardRef<HTMLParagraphElement, LeadTextProps>(({ className, ...props }, ref) => {
|
|
return (
|
|
<p
|
|
ref={ref}
|
|
className={cn(
|
|
"text-[clamp(0.95rem,2vw,1.3rem)] text-[rgba(31,27,23,0.75)]",
|
|
"max-w-[54ch] leading-relaxed",
|
|
className,
|
|
)}
|
|
{...props}
|
|
/>
|
|
)
|
|
})
|
|
LeadText.displayName = "LeadText"
|
|
|
|
export { LeadText }
|