feat(ui): update typography to Inter, adjust hero headline size, reduce section spacing, and remove how-it-works section

This commit is contained in:
2026-11-16 18:29:09 +05:30
parent d37f3c0a5b
commit d3591ddb11
23 changed files with 128 additions and 123 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ export function VideoText({
fontWeight = 900,
textAnchor = 'start',
dominantBaseline = 'central',
fontFamily = 'var(--font-display), var(--font-poppins), system-ui, sans-serif',
fontFamily = 'var(--font-display), var(--font-inter), system-ui, sans-serif',
poster,
}: VideoTextProps) {
const rawId = useId();
+1 -1
View File
@@ -96,7 +96,7 @@ export function AppPickerSection({
<Icon className="w-5 h-5" />
</div>
<div>
<p className="font-display font-bold text-base text-slate-900">
<p className="font-inter font-bold text-base text-slate-900">
{opt.title}
</p>
<p className="text-xs text-slate-600 mt-1 leading-relaxed font-normal">
+4 -4
View File
@@ -44,10 +44,10 @@ export function FaqSection({
const displayItems = items && items.length > 0 ? items : defaultItems;
return (
<section id="faq" className="py-16 sm:py-24 bg-paper border-b border-rule relative">
<div className="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 space-y-10">
{/* Section Header */}
<div className="space-y-2 border-b border-rule pb-5">
<section id="faq" className="py-8 sm:py-12 bg-paper relative">
<div className="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 space-y-6">
{/* Section Header without thin separator */}
<div className="space-y-1.5 pb-1">
<h2 className="text-3xl sm:text-4xl font-display font-bold text-ink tracking-tight">
<KineticText>{resolvedTitle}</KineticText>
</h2>
+21 -15
View File
@@ -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>
@@ -134,7 +134,7 @@ export function RecommendedAppsSection({
return (
<section
id="recommended-apps"
className="py-16 sm:py-24 px-4 sm:px-6 md:px-8 lg:px-10 bg-paper border-b border-rule relative overflow-hidden"
className="py-8 sm:py-12 px-4 sm:px-6 md:px-8 lg:px-10 bg-paper relative overflow-hidden"
>
{/* Studio Lighting Ambient Glow */}
<div
@@ -146,9 +146,9 @@ export function RecommendedAppsSection({
aria-hidden="true"
/>
<div className="max-w-container mx-auto space-y-10 relative z-10">
{/* Section Header */}
<div className="max-w-2xl space-y-2 border-b border-rule pb-5">
<div className="max-w-container mx-auto space-y-6 relative z-10">
{/* Section Header without thin separator */}
<div className="max-w-2xl space-y-1.5 pb-1">
<div className="flex items-center gap-2">
<span className="w-2 h-2 rounded-full bg-accent animate-pulse" aria-hidden="true" />
<span className="text-xs font-semibold text-accent font-body">
@@ -137,7 +137,7 @@ export function ReviewsMarqueeSection({
return (
<section
id="user-reviews"
className="py-16 sm:py-24 bg-paper border-b border-rule relative overflow-hidden"
className="py-8 sm:py-12 bg-paper relative overflow-hidden"
>
{/* Studio Lighting Ambient Glow */}
<div
@@ -149,9 +149,9 @@ export function ReviewsMarqueeSection({
aria-hidden="true"
/>
<div className="max-w-container mx-auto px-4 sm:px-6 md:px-8 lg:px-10 space-y-10 relative z-10">
{/* Section Header */}
<div className="max-w-2xl space-y-2 border-b border-rule pb-5">
<div className="max-w-container mx-auto px-4 sm:px-6 md:px-8 lg:px-10 space-y-6 relative z-10">
{/* Section Header without thin separator */}
<div className="max-w-2xl space-y-1.5 pb-1">
<div className="flex items-center gap-2">
<span className="w-2 h-2 rounded-full bg-accent animate-pulse" aria-hidden="true" />
<span className="text-xs font-semibold text-accent font-body">
@@ -106,7 +106,7 @@ export function ShiftableToolsGridSection({
const row2 = displayItems.slice(4, 8);
return (
<section id="our-tools" className="py-16 sm:py-24 px-4 sm:px-6 md:px-8 lg:px-10 bg-paper border-b border-rule relative overflow-hidden">
<section id="our-tools" className="py-8 sm:py-12 px-4 sm:px-6 md:px-8 lg:px-10 bg-paper relative overflow-hidden">
{/* Studio Lighting Ambient Glow */}
<div
className="pointer-events-none absolute top-10 left-10 w-[550px] h-[350px] [background:radial-gradient(circle_at_center,color-mix(in_oklab,var(--color-accent)_10%,transparent)_0%,transparent_70%)]"
@@ -121,9 +121,9 @@ export function ShiftableToolsGridSection({
aria-hidden="true"
/>
<div className="max-w-container mx-auto space-y-10 relative z-10">
{/* Section Header - Clean editorial layout with kinetic typography */}
<div className="max-w-2xl space-y-2 border-b border-rule pb-5">
<div className="max-w-container mx-auto space-y-6 relative z-10">
{/* Section Header - Clean editorial layout without thin separator */}
<div className="max-w-2xl space-y-1.5 pb-1">
<h2 className="text-3xl sm:text-4xl font-display font-bold text-ink tracking-tight">
<KineticText>{title}</KineticText>
</h2>
+27 -27
View File
@@ -812,18 +812,18 @@ export function ToolGridSection({
<aside
onScroll={() => setHoveredCategory(null)}
onMouseLeave={() => setHoveredCategory(null)}
className="hidden lg:flex flex-col justify-between w-56 xl:w-60 shrink-0 border-r border-rule bg-paper-hi sticky top-[73px] h-[calc(100vh-73px)] overflow-y-auto no-scrollbar p-3.5 xl:p-4 z-20"
className="hidden lg:flex flex-col justify-between w-56 xl:w-60 shrink-0 border-r border-rule bg-paper-hi sticky top-[73px] h-[calc(100vh-73px)] overflow-y-auto no-scrollbar p-3.5 xl:p-4 z-20 font-inter"
>
{/* Top: Header, Search, Categories Nav */}
<div className="space-y-4">
<div className="space-y-3.5">
{/* Categories Header */}
<div className="pb-2.5 border-b border-rule flex items-center justify-between">
<h2 className="text-xs font-bold text-slate-800 font-sans tracking-tight uppercase">
<div className="pb-2 flex items-center justify-between">
<h2 className="text-xs font-bold text-slate-800 font-inter tracking-tight uppercase">
Categories
</h2>
<span className="text-[10px] font-mono text-slate-400 font-semibold">{tools.length} tools</span>
<span className="text-[10px] font-inter text-slate-400 font-semibold">{tools.length} tools</span>
</div>
{/* Instant Search Bar with shortcut hint */}
@@ -835,7 +835,7 @@ export function ToolGridSection({
placeholder="Search tools..."
value={searchQuery}
onChange={(e) => setSearchQuery(e.target.value)}
className="w-full pl-8 pr-7 py-2 rounded-lg text-xs border border-slate-200 bg-white text-slate-900 placeholder:text-slate-400 focus:outline-none focus:border-accent focus:ring-1 focus:ring-accent/20 shadow-2xs font-sans transition-colors"
className="w-full pl-8 pr-7 py-2 rounded-lg text-xs border border-slate-200 bg-white text-slate-900 placeholder:text-slate-400 focus:outline-none focus:border-accent focus:ring-1 focus:ring-accent/20 shadow-2xs font-inter transition-colors"
/>
{searchQuery ? (
<button
@@ -855,7 +855,7 @@ export function ToolGridSection({
{/* Categories Navigation */}
<div className="space-y-1.5">
<div className="flex items-center justify-between px-1 font-sans">
<div className="flex items-center justify-between px-1 font-inter">
<span className="text-[10px] font-bold text-slate-400 uppercase tracking-wider">Workspaces</span>
{(selectedCategory !== 'all' || searchQuery) && (
<button
@@ -864,7 +864,7 @@ export function ToolGridSection({
setSearchQuery('');
setHoveredCategory(null);
}}
className="inline-flex items-center gap-1 text-[11px] font-semibold text-accent hover:underline cursor-pointer lowercase"
className="inline-flex items-center gap-1 text-[11px] font-semibold text-accent hover:underline cursor-pointer lowercase font-inter"
>
<RotateCcw className="w-2.5 h-2.5" />
<span>reset</span>
@@ -891,7 +891,7 @@ export function ToolGridSection({
});
}}
onMouseLeave={() => setHoveredCategory(null)}
className={`w-full flex items-center justify-between px-2.5 py-1.5 rounded-lg text-xs font-sans transition-all duration-150 cursor-pointer ${
className={`w-full flex items-center justify-between px-2.5 py-1.5 rounded-lg text-xs font-inter transition-all duration-150 cursor-pointer ${
selectedCategory === 'all' && !searchQuery
? 'bg-slate-900 text-white shadow-xs font-semibold'
: 'bg-transparent text-slate-700 hover:bg-slate-100 hover:text-slate-950 font-medium'
@@ -912,7 +912,7 @@ export function ToolGridSection({
<span className="truncate">All Studio Tools</span>
</div>
<span
className={`text-[10px] font-mono px-1.5 py-0.5 rounded font-bold shrink-0 ${
className={`text-[10px] font-inter px-1.5 py-0.5 rounded font-bold shrink-0 ${
selectedCategory === 'all' && !searchQuery
? 'bg-white/20 text-white'
: 'bg-slate-100 text-slate-600'
@@ -949,7 +949,7 @@ export function ToolGridSection({
});
}}
onMouseLeave={() => setHoveredCategory(null)}
className={`w-full flex items-center justify-between px-2.5 py-1.5 rounded-lg text-xs font-sans transition-all duration-150 cursor-pointer ${
className={`w-full flex items-center justify-between px-2.5 py-1.5 rounded-lg text-xs font-inter transition-all duration-150 cursor-pointer ${
isSelected
? 'bg-slate-900 text-white shadow-xs font-semibold'
: 'bg-transparent text-slate-700 hover:bg-slate-100 hover:text-slate-950 font-medium'
@@ -968,7 +968,7 @@ export function ToolGridSection({
<span className="truncate">{catName}</span>
</div>
<span
className={`text-[10px] font-mono px-1.5 py-0.5 rounded font-bold shrink-0 ${
className={`text-[10px] font-inter px-1.5 py-0.5 rounded font-bold shrink-0 ${
isSelected
? 'bg-white/20 text-white'
: 'bg-slate-100 text-slate-600'
@@ -988,7 +988,7 @@ export function ToolGridSection({
<div className="pt-3 border-t border-rule space-y-2">
<Link
href="/apps"
className="w-full inline-flex items-center justify-between px-2.5 py-2 rounded-lg text-xs font-sans font-medium text-slate-700 bg-slate-100/80 hover:bg-slate-900 hover:text-white transition-colors duration-150 group shadow-2xs"
className="w-full inline-flex items-center justify-between px-2.5 py-2 rounded-lg text-xs font-inter font-medium text-slate-700 bg-slate-100/80 hover:bg-slate-900 hover:text-white transition-colors duration-150 group shadow-2xs"
>
<div className="flex items-center gap-1.5">
<Smartphone className="w-3.5 h-3.5 text-accent group-hover:text-white" />
@@ -1006,7 +1006,7 @@ export function ToolGridSection({
========================================================================= */}
{hoveredCategory && (
<div
className="fixed z-50 pointer-events-none px-3 py-1.5 rounded-lg bg-slate-900/95 backdrop-blur-md text-white text-xs font-sans font-medium shadow-xl border border-slate-700/80 flex items-center gap-2.5 transition-opacity duration-150 animate-in fade-in-0 zoom-in-95"
className="fixed z-50 pointer-events-none px-3 py-1.5 rounded-lg bg-slate-900/95 backdrop-blur-md text-white text-xs font-inter font-medium shadow-xl border border-slate-700/80 flex items-center gap-2.5 transition-opacity duration-150 animate-in fade-in-0 zoom-in-95"
style={{
top: `${hoveredCategory.top}px`,
left: `${hoveredCategory.left}px`,
@@ -1016,10 +1016,10 @@ export function ToolGridSection({
>
{/* Subtle pointer arrow pointing left toward the sidebar category */}
<div className="absolute -left-1.5 top-1/2 -translate-y-1/2 w-2.5 h-2.5 bg-slate-900 rotate-45 border-l border-b border-slate-700/80" />
<span className="font-semibold tracking-tight text-white whitespace-nowrap">
<span className="font-semibold tracking-tight text-white whitespace-nowrap font-inter">
{hoveredCategory.name}
</span>
<span className="text-[10px] font-mono text-slate-300 bg-slate-800 px-1.5 py-0.5 rounded font-bold border border-slate-700/60 whitespace-nowrap">
<span className="text-[10px] font-inter text-slate-300 bg-slate-800 px-1.5 py-0.5 rounded font-bold border border-slate-700/60 whitespace-nowrap">
{hoveredCategory.count} {hoveredCategory.count === 1 ? 'tool' : 'tools'}
</span>
</div>
@@ -1028,15 +1028,15 @@ export function ToolGridSection({
{/* =========================================================================
RIGHT MAIN STUDIO WORKSPACE (SPACIOUS 4-COLUMN CARDS GALLERY)
========================================================================= */}
<div className="flex-1 min-w-0 px-4 sm:px-6 xl:px-8 py-8 xl:py-10 space-y-10 relative z-10">
<div className="flex-1 min-w-0 px-4 sm:px-6 xl:px-8 py-5 xl:py-6 space-y-6 relative z-10">
{/* ================= MOBILE FILTER HEADER (< lg) ================= */}
<div className="lg:hidden space-y-3 pb-4 border-b border-rule">
<div className="lg:hidden space-y-3 pb-3 font-inter">
<div className="flex items-center justify-between">
<span className="text-sm font-bold text-slate-900 font-sans">
<span className="text-sm font-bold text-slate-900 font-inter">
Categories
</span>
<span className="text-xs font-medium text-slate-500 font-sans">
<span className="text-xs font-medium text-slate-500 font-inter">
{tools.length} tools
</span>
</div>
@@ -1049,7 +1049,7 @@ export function ToolGridSection({
placeholder="Search studio tools..."
value={searchQuery}
onChange={(e) => setSearchQuery(e.target.value)}
className="w-full pl-9 pr-8 py-2.5 rounded-xl text-xs sm:text-sm border border-slate-200 bg-white text-slate-900 placeholder:text-slate-400 focus:outline-none focus:border-accent focus:ring-2 focus:ring-accent/20 shadow-2xs font-sans transition-colors"
className="w-full pl-9 pr-8 py-2.5 rounded-xl text-xs sm:text-sm border border-slate-200 bg-white text-slate-900 placeholder:text-slate-400 focus:outline-none focus:border-accent focus:ring-2 focus:ring-accent/20 shadow-2xs font-inter transition-colors"
/>
{searchQuery && (
<button
@@ -1067,7 +1067,7 @@ export function ToolGridSection({
<button
type="button"
onClick={() => handleSelectCategory('all')}
className={`inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-sans font-semibold shrink-0 transition-colors ${
className={`inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-inter font-semibold shrink-0 transition-colors ${
selectedCategory === 'all' && !searchQuery
? 'bg-slate-900 text-white shadow-xs'
: 'bg-white text-slate-800 border border-slate-200 hover:text-slate-950'
@@ -1088,7 +1088,7 @@ export function ToolGridSection({
key={group.id}
type="button"
onClick={() => handleSelectCategory(group.id)}
className={`inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-sans font-semibold shrink-0 transition-colors ${
className={`inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-inter font-semibold shrink-0 transition-colors ${
isSelected
? 'bg-slate-900 text-white shadow-xs'
: 'bg-white text-slate-800 border border-slate-200 hover:text-slate-950'
@@ -1108,7 +1108,7 @@ export function ToolGridSection({
</div>
{/* ================= INTEGRATED STUDIO HEADER ================= */}
<div className="space-y-4 border-b border-rule pb-8">
<div className="space-y-2.5 pb-2">
{/* Breadcrumb row */}
<div className="flex items-center gap-2 text-xs font-sans text-slate-500">
<span>Studio Directory</span>
@@ -1237,7 +1237,7 @@ export function ToolGridSection({
</div>
) : (
/* ================= CATEGORIZED TOOLS GALLERY (2 ROWS PER CATEGORY + SEE MORE) ================= */
<div className="space-y-12 sm:space-y-16">
<div className="space-y-6 sm:space-y-8">
{/* Displayed Categories */}
{categorizedTools.map((group) => {
const theme = CATEGORY_THEMES[group.id];
@@ -1254,10 +1254,10 @@ export function ToolGridSection({
<div
key={group.id}
id={`category-${group.id}`}
className="space-y-6 scroll-mt-28"
className="space-y-3.5 scroll-mt-24"
>
{/* Section Category Header */}
<div className="flex flex-col sm:flex-row sm:items-end justify-between gap-3 pb-4 border-b border-rule">
<div className="flex flex-col sm:flex-row sm:items-end justify-between gap-2.5 pb-1.5">
<div className="flex items-center gap-3.5">
<div className="w-11 h-11 rounded-2xl flex items-center justify-center bg-paper-hi shadow-xs border border-rule shrink-0">
{theme?.largeIcon || theme?.icon || <LayoutGrid className="w-6 h-6 text-slate-700" />}
@@ -112,7 +112,7 @@ export function TrendyBentoSection({
const tiles = INITIAL_TILES;
return (
<section id="trendy-effects" className="py-16 sm:py-24 px-4 sm:px-6 md:px-8 lg:px-10 bg-paper border-b border-rule relative overflow-hidden">
<section id="trendy-effects" className="py-8 sm:py-12 px-4 sm:px-6 md:px-8 lg:px-10 bg-paper relative overflow-hidden">
{/* Studio Lighting Ambient Glow */}
<div
className="pointer-events-none absolute bottom-0 right-1/4 w-[500px] h-[350px] [background:radial-gradient(circle_at_center,color-mix(in_oklab,var(--color-accent)_10%,transparent)_0%,transparent_70%)]"
@@ -123,9 +123,9 @@ export function TrendyBentoSection({
aria-hidden="true"
/>
<div className="max-w-container mx-auto space-y-10 relative z-10">
{/* Header with Kinetic Text Animation */}
<div className="max-w-2xl space-y-2 border-b border-rule pb-5">
<div className="max-w-container mx-auto space-y-6 relative z-10">
{/* Header without thin separator */}
<div className="max-w-2xl space-y-1.5 pb-1">
<h2 className="text-3xl sm:text-4xl font-display font-bold text-ink tracking-tight">
<KineticText>{title}</KineticText>
</h2>
@@ -524,7 +524,7 @@ export function DynamicToolWorkspace({
<button
type="button"
onClick={handleDownloadResult}
className="w-full sm:w-auto inline-flex items-center justify-center gap-3 px-8 sm:px-12 py-4 rounded-2xl sm:rounded-full bg-ink hover:bg-slate-900 text-paper-hi font-display font-bold text-sm sm:text-base shadow-xl hover:scale-[1.02] active:scale-98 transition-all cursor-pointer order-1 sm:order-2"
className="w-full sm:w-auto inline-flex items-center justify-center gap-3 px-8 sm:px-12 py-4 rounded-2xl sm:rounded-full bg-ink hover:bg-slate-900 text-paper-hi font-inter font-bold text-sm sm:text-base shadow-xl hover:scale-[1.02] active:scale-98 transition-all cursor-pointer order-1 sm:order-2"
>
<Download className="w-5 h-5 text-accent" />
<span>Download Result (HD PNG)</span>
@@ -815,7 +815,7 @@ export function DynamicToolWorkspace({
type="button"
onClick={handleExecute}
disabled={status === 'processing' || remainingTries <= 0}
className="w-full sm:w-auto inline-flex items-center justify-center gap-3 px-8 sm:px-10 py-4 rounded-2xl sm:rounded-full bg-accent hover:bg-accent-hi text-white font-display font-extrabold text-sm sm:text-base shadow-xl shadow-accent/25 hover:shadow-accent/40 hover:scale-[1.02] active:scale-98 transition-all cursor-pointer disabled:opacity-50 disabled:hover:scale-100"
className="w-full sm:w-auto inline-flex items-center justify-center gap-3 px-8 sm:px-10 py-4 rounded-2xl sm:rounded-full bg-accent hover:bg-accent-hi text-white font-inter font-extrabold text-sm sm:text-base shadow-xl shadow-accent/25 hover:shadow-accent/40 hover:scale-[1.02] active:scale-98 transition-all cursor-pointer disabled:opacity-50 disabled:hover:scale-100"
>
{status === 'processing' ? (
<>
@@ -867,7 +867,7 @@ export function DynamicToolWorkspace({
<div className="min-h-screen bg-paper">
{/* ================= HERO SECTION ================= */}
<section className="relative pt-6 sm:pt-10 pb-12 sm:pb-16 bg-paper border-b border-rule overflow-hidden">
<section className="relative pt-6 sm:pt-8 pb-8 sm:pb-10 bg-paper overflow-hidden">
{/* Ambient Radial Spotlight */}
<div
className="pointer-events-none absolute top-0 left-1/2 -translate-x-1/2 w-[900px] h-[400px] [background:radial-gradient(ellipse_at_top,color-mix(in_oklab,var(--color-accent)_12%,transparent)_0%,transparent_70%)]"
@@ -902,18 +902,18 @@ export function DynamicToolWorkspace({
<div id="studio-upload-box" className="lg:col-span-6 bg-paper-hi border border-rule rounded-3xl p-6 sm:p-8 shadow-sheet relative overflow-hidden">
<BorderBeam size={120} duration={10} borderWidth={1.5} colorFrom="var(--color-accent)" colorTo="var(--color-accent-hi)" />
<div className="border-b border-rule pb-3.5 mb-6 flex items-center justify-between">
<div className="pb-2.5 mb-4 flex items-center justify-between">
<span className="text-sm font-bold font-sans text-slate-900">
{pageType === 'text-to-image' ? 'Generate AI Image' : 'Select Photo to Edit'}
</span>
</div>
{/* Dynamic Upload Input by Type */}
<div className="space-y-6">
<div className="space-y-4">
{/* Style Thumbnail Selector on Landing Card (Before-Upload / Both) */}
{tool.thumbnails && tool.thumbnails.length > 0 && tool.thumbnailPlacement !== 'after-upload' && (
<div className="space-y-3 pb-4 border-b border-rule/60">
<div className="space-y-2.5 pb-2">
<div className="flex items-center justify-between text-xs sm:text-sm font-sans">
<span className="font-semibold text-slate-900">1. Select Effect Style</span>
{selectedThumbnail && (
@@ -1133,7 +1133,7 @@ export function DynamicToolWorkspace({
window.scrollTo({ top: 0, behavior: 'smooth' });
}
}}
className="w-full py-4 rounded-2xl bg-accent hover:bg-accent-hi text-white font-display font-bold text-sm shadow-md hover:shadow-lg transition-all cursor-pointer flex items-center justify-center gap-2.5"
className="w-full py-4 rounded-2xl bg-accent hover:bg-accent-hi text-white font-inter font-bold text-sm shadow-md hover:shadow-lg transition-all cursor-pointer flex items-center justify-center gap-2.5"
>
<Sparkles className="w-4 h-4 text-amber-300" />
<span>
@@ -1188,7 +1188,7 @@ export function DynamicToolWorkspace({
}
}}
disabled={!promptText.trim()}
className="w-full py-4 rounded-2xl bg-accent hover:bg-accent-hi disabled:opacity-50 text-white font-display font-bold text-sm shadow-md hover:shadow-lg transition-all cursor-pointer flex items-center justify-center gap-2.5"
className="w-full py-4 rounded-2xl bg-accent hover:bg-accent-hi disabled:opacity-50 text-white font-inter font-bold text-sm shadow-md hover:shadow-lg transition-all cursor-pointer flex items-center justify-center gap-2.5"
>
<Sparkles className="w-4 h-4 text-amber-300" />
<span>Open Creation Studio</span>
@@ -1275,7 +1275,7 @@ export function DynamicToolWorkspace({
key={idx}
className="studio-sheet p-5 rounded-2xl bg-paper-hi border border-rule shadow-xs space-y-2.5"
>
<div className="w-9 h-9 rounded-xl bg-slate-900 text-white flex items-center justify-center font-display font-bold text-xs">
<div className="w-9 h-9 rounded-xl bg-slate-900 text-white flex items-center justify-center font-inter font-bold text-xs">
0{idx + 1}
</div>
<h3 className="text-sm sm:text-base font-display font-bold text-ink">
+2 -2
View File
@@ -68,10 +68,10 @@ export function BrandLogo({
{showWordmark && (
<div className="flex flex-col text-left">
<div className="flex items-baseline gap-1.5 leading-none">
<span className={`font-display font-bold text-ink ${iconDimensions.title}`}>
<span className={`font-inter font-bold text-ink ${iconDimensions.title}`}>
CRE
</span>
<span className={`font-display font-normal text-ink-2 ${iconDimensions.title}`}>
<span className={`font-inter font-normal text-ink-2 ${iconDimensions.title}`}>
Innovations
</span>
</div>