feat(ui): bold hero headline without periods, darken card hover border, color comparison table cells, and remove DPO section
This commit is contained in:
@@ -52,10 +52,10 @@ function HeroHeadlineItem({
|
||||
<AnimatedShinyText
|
||||
shimmerWidth={220}
|
||||
hoverOnly={true}
|
||||
className="font-display font-black text-ink tracking-tight inline-block cursor-pointer select-none overflow-visible pb-[0.25em] -mb-[0.25em]"
|
||||
className="font-display font-black font-[950] text-ink tracking-tight inline-block cursor-pointer select-none overflow-visible pb-[0.25em] -mb-[0.25em] [text-shadow:_0_0.5px_0_currentColor]"
|
||||
>
|
||||
{isEntranceDone ? (
|
||||
<span className="font-display font-black text-ink tracking-tight inline-block overflow-visible pb-[0.25em] -mb-[0.25em]">
|
||||
<span className="font-display font-black font-[950] text-ink tracking-tight inline-block overflow-visible pb-[0.25em] -mb-[0.25em] [text-shadow:_0_0.5px_0_currentColor]">
|
||||
{text}
|
||||
</span>
|
||||
) : (
|
||||
@@ -67,7 +67,7 @@ function HeroHeadlineItem({
|
||||
startOnView={false}
|
||||
accessible={false}
|
||||
as="span"
|
||||
className="font-display font-black text-ink tracking-tight inline-block overflow-visible pb-[0.25em] -mb-[0.25em]"
|
||||
className="font-display font-black font-[950] text-ink tracking-tight inline-block overflow-visible pb-[0.25em] -mb-[0.25em] [text-shadow:_0_0.5px_0_currentColor]"
|
||||
segmentClassName="inline-block whitespace-pre overflow-visible pb-[0.25em] -mb-[0.25em]"
|
||||
>
|
||||
{text}
|
||||
@@ -372,24 +372,24 @@ export function HeroSection({
|
||||
<div className="max-w-2xl sm:max-w-3xl lg:max-w-4xl space-y-4 sm:space-y-6 text-center sm:text-left mx-auto sm:mx-0">
|
||||
|
||||
{/* Masterpiece 3-Line Headline:
|
||||
Line 1: Imagine. -> Magic UI TextAnimate on first, AnimatedShinyText on hover
|
||||
Line 2: Transform. -> Magic UI TextAnimate on first, AnimatedShinyText on hover
|
||||
Line 3: Create Impossible -> Simple bluish-purple accent */}
|
||||
Line 1: Imagine -> Magic UI TextAnimate on first, AnimatedShinyText on hover
|
||||
Line 2: Transform -> Magic UI TextAnimate on first, AnimatedShinyText on hover
|
||||
Line 3: Create Impossible -> Bold bluish-purple accent */}
|
||||
<div className="space-y-0.5 sm:space-y-1">
|
||||
<h1 className="sr-only">Imagine. Transform. Create Impossible.</h1>
|
||||
<h1 className="sr-only">Imagine Transform Create Impossible</h1>
|
||||
|
||||
{/* Line 1 - Imagine. */}
|
||||
<div className="text-3xl sm:text-5xl md:text-6xl lg:text-7xl font-display font-black tracking-tight leading-[1.2] sm:leading-[1.15] pb-1.5 sm:pb-2 block overflow-visible">
|
||||
<HeroHeadlineItem text="Imagine." delay={0.08} />
|
||||
{/* Line 1 - Imagine */}
|
||||
<div className="text-3xl sm:text-5xl md:text-6xl lg:text-7xl font-display font-black font-[950] tracking-tight leading-[1.2] sm:leading-[1.15] pb-1.5 sm:pb-2 block overflow-visible [text-shadow:_0_0.5px_0_currentColor]">
|
||||
<HeroHeadlineItem text="Imagine" delay={0.08} />
|
||||
</div>
|
||||
|
||||
{/* Line 2 - Transform. */}
|
||||
<div className="text-3xl sm:text-5xl md:text-6xl lg:text-7xl font-display font-black tracking-tight leading-[1.2] sm:leading-[1.15] pb-1.5 sm:pb-2 block overflow-visible">
|
||||
<HeroHeadlineItem text="Transform." delay={0.28} />
|
||||
{/* Line 2 - Transform */}
|
||||
<div className="text-3xl sm:text-5xl md:text-6xl lg:text-7xl font-display font-black font-[950] tracking-tight leading-[1.2] sm:leading-[1.15] pb-1.5 sm:pb-2 block overflow-visible [text-shadow:_0_0.5px_0_currentColor]">
|
||||
<HeroHeadlineItem text="Transform" delay={0.28} />
|
||||
</div>
|
||||
|
||||
{/* Line 3 - Create Impossible */}
|
||||
<div className="text-3xl sm:text-5xl md:text-6xl lg:text-7xl font-display font-extrabold tracking-tight bg-gradient-to-r from-blue-600 via-indigo-600 to-purple-600 bg-clip-text text-transparent leading-[1.2] sm:leading-[1.15] pt-0.5 block overflow-visible">
|
||||
<div className="text-3xl sm:text-5xl md:text-6xl lg:text-7xl font-display font-black font-[950] tracking-tight bg-gradient-to-r from-blue-600 via-indigo-600 to-purple-600 bg-clip-text text-transparent leading-[1.2] sm:leading-[1.15] pt-0.5 block overflow-visible [text-shadow:_0_0.5px_0_rgba(37,99,235,0.2)]">
|
||||
Create Impossible
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user