feat(ui): update typography to Inter, adjust hero headline size, reduce section spacing, and remove how-it-works section
This commit is contained in:
@@ -276,11 +276,16 @@ export function HeroSection({
|
||||
return (
|
||||
<section
|
||||
id="hero-section"
|
||||
className="relative min-h-[90vh] sm:min-h-screen flex items-center overflow-hidden bg-paper pt-20 sm:pt-24 pb-14 sm:pb-20 lg:pb-24"
|
||||
className="relative min-h-[80vh] sm:min-h-[85vh] flex items-center overflow-hidden bg-paper pt-16 sm:pt-20 pb-8 sm:pb-12"
|
||||
>
|
||||
{/* Background Layer 1: High-Resolution Responsive Background Image */}
|
||||
<div className="absolute inset-0 z-0 overflow-hidden">
|
||||
<picture>
|
||||
<picture
|
||||
style={{
|
||||
maskImage: 'linear-gradient(to top, transparent 0%, rgba(0,0,0,0.3) 15%, black 45%)',
|
||||
WebkitMaskImage: 'linear-gradient(to top, transparent 0%, rgba(0,0,0,0.3) 15%, black 45%)',
|
||||
}}
|
||||
>
|
||||
<source media="(max-width: 768px)" srcSet="/management/pages/home/hero_mobile.webp" type="image/webp" />
|
||||
<source media="(max-width: 768px)" srcSet="/management/pages/home/hero_mobile.jpg" type="image/jpeg" />
|
||||
<source srcSet="/management/pages/home/hero_desktop.webp" type="image/webp" />
|
||||
@@ -300,8 +305,9 @@ export function HeroSection({
|
||||
<div className="absolute inset-0 bg-gradient-to-r from-paper via-paper/85 via-35% to-transparent to-60% hidden sm:block pointer-events-none" />
|
||||
{/* Mobile Scrim: Studio porcelain gradient covering headline, subtitle, and action buttons (top 70%), transitioning smoothly into vibrant photography */}
|
||||
<div className="absolute inset-x-0 top-0 h-[70%] bg-gradient-to-b from-paper from-25% via-paper/92 via-65% to-transparent sm:hidden pointer-events-none" />
|
||||
{/* Soft Bottom Fade */}
|
||||
<div className="absolute inset-x-0 bottom-0 h-20 sm:h-24 bg-gradient-to-t from-paper via-paper/85 via-45% to-transparent pointer-events-none" />
|
||||
{/* Ultra-Deep Soft Bottom Fade: Seamlessly dissolves into pure white/porcelain theme */}
|
||||
<div className="absolute inset-x-0 bottom-0 h-48 sm:h-72 md:h-96 lg:h-[450px] bg-gradient-to-t from-paper from-15% via-paper/95 via-40% via-paper/60 via-70% to-transparent to-100% pointer-events-none" />
|
||||
<div className="absolute inset-x-0 bottom-0 h-24 sm:h-36 bg-gradient-to-t from-paper to-paper/90 pointer-events-none" />
|
||||
</div>
|
||||
|
||||
{/* Background Layer 2: Magic UI Atmospheric Light Rays */}
|
||||
@@ -314,8 +320,8 @@ export function HeroSection({
|
||||
/>
|
||||
|
||||
{/* Content Container (Website Introduction, Visual Hierarchy, Kinetic Motion) */}
|
||||
<div className="relative z-10 max-w-[1720px] w-full mx-auto px-4 sm:px-8 lg:px-14 flex flex-col justify-center min-h-[85vh] sm:min-h-[90vh]">
|
||||
<div className="max-w-2xl sm:max-w-3xl lg:max-w-4xl space-y-6 sm:space-y-8 text-center sm:text-left mx-auto sm:mx-0">
|
||||
<div className="relative z-10 max-w-[1720px] w-full mx-auto px-4 sm:px-8 lg:px-14 flex flex-col justify-center min-h-[75vh] sm:min-h-[80vh]">
|
||||
<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
|
||||
@@ -324,26 +330,26 @@ export function HeroSection({
|
||||
<div className="space-y-0.5 sm:space-y-1">
|
||||
<h1 className="sr-only">Imagine. Transform. Create Impossible.</h1>
|
||||
|
||||
{/* Line 1 - Imagine. with Magic UI TextAnimate (black) -> AnimatedShinyText on hover */}
|
||||
<div className="text-4xl sm:text-6xl md:text-7xl lg:text-8xl font-display font-black tracking-tight leading-[1.22] sm:leading-[1.18] pb-2 sm:pb-3 block overflow-visible">
|
||||
{/* 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} />
|
||||
</div>
|
||||
|
||||
{/* Line 2 - Transform. with Magic UI TextAnimate (black) -> AnimatedShinyText on hover */}
|
||||
<div className="text-4xl sm:text-6xl md:text-7xl lg:text-8xl font-display font-black tracking-tight leading-[1.22] sm:leading-[1.18] pb-2 sm:pb-3 block overflow-visible">
|
||||
{/* 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} />
|
||||
</div>
|
||||
|
||||
{/* Line 3 - Create Impossible: Simple bluish-purple accent text */}
|
||||
<div className="text-4xl sm:text-6xl md:text-7xl lg:text-8xl 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.22] sm:leading-[1.18] pt-1 block overflow-visible">
|
||||
{/* 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">
|
||||
Create Impossible
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Subtitle */}
|
||||
{/* Subtitle - reduced by 1 */}
|
||||
<BlurFade delay={0.16}>
|
||||
<div className="space-y-4 max-w-xl mx-auto sm:mx-0">
|
||||
<p className="text-base sm:text-xl md:text-2xl text-ink-2 font-body font-normal leading-relaxed text-pretty">
|
||||
<div className="space-y-3 max-w-xl mx-auto sm:mx-0">
|
||||
<p className="text-sm sm:text-lg md:text-xl text-ink-2 font-body font-normal leading-relaxed text-pretty">
|
||||
Turn ordinary moments into extraordinary visual art. Instant and private photo transformation right in your browser with hardware acceleration.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user