feat(hero): switch from black gradient to radiant white/cream gradient on home screen with editorial typography and frosted telemetry capsule
|
After Width: | Height: | Size: 2.7 MiB |
|
Before Width: | Height: | Size: 188 KiB After Width: | Height: | Size: 2.7 MiB |
|
Before Width: | Height: | Size: 188 KiB After Width: | Height: | Size: 432 KiB |
|
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 269 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 159 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 113 KiB |
@@ -263,11 +263,11 @@ export function HeroSection({
|
|||||||
|
|
||||||
// -------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
// 3. Pure Front Page Hero View (for homepage /):
|
// 3. Pure Front Page Hero View (for homepage /):
|
||||||
// Matching User Reference Image: Image_homepage.jpg background,
|
// Matching User Reference Image: Image_homepage.jpg background with
|
||||||
// Left-aligned typography, pill buttons, and glass telemetry capsule
|
// White/Cream Gradient Overlay, Editorial Typography, and Telemetry Capsule
|
||||||
// -------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
return (
|
return (
|
||||||
<section className="relative min-h-[92vh] sm:min-h-screen flex items-center overflow-hidden bg-black pt-20 sm:pt-24 pb-14 sm:pb-20">
|
<section className="relative min-h-[92vh] sm:min-h-screen flex items-center overflow-hidden bg-[#FAF8F5] pt-20 sm:pt-24 pb-14 sm:pb-20">
|
||||||
{/* 1. Background Image with Responsive Ultra-Fast Loading */}
|
{/* 1. Background Image with Responsive Ultra-Fast Loading */}
|
||||||
<div className="absolute inset-0 z-0 overflow-hidden">
|
<div className="absolute inset-0 z-0 overflow-hidden">
|
||||||
<picture>
|
<picture>
|
||||||
@@ -283,8 +283,8 @@ export function HeroSection({
|
|||||||
decoding="async"
|
decoding="async"
|
||||||
/>
|
/>
|
||||||
</picture>
|
</picture>
|
||||||
{/* Dark Gradient Overlay for Maximum Text Readability */}
|
{/* White / Cream Gradient Overlay for Radiant Light Aesthetic */}
|
||||||
<div className="absolute inset-0 bg-gradient-to-r from-black/95 via-black/75 to-black/30 sm:via-black/55 sm:to-transparent pointer-events-none" />
|
<div className="absolute inset-0 bg-gradient-to-r from-[#FAF8F5] via-[#FAF8F5]/90 to-transparent sm:from-[#FAF8F5] sm:via-[#FAF8F5]/80 sm:to-transparent pointer-events-none" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Zero-Overhead Scroll Sentinel for Navbar Transformation */}
|
{/* Zero-Overhead Scroll Sentinel for Navbar Transformation */}
|
||||||
@@ -295,16 +295,16 @@ export function HeroSection({
|
|||||||
<div className="max-w-2xl sm:max-w-3xl">
|
<div className="max-w-2xl sm:max-w-3xl">
|
||||||
{/* Masterpiece Headline */}
|
{/* Masterpiece Headline */}
|
||||||
<h1 className="text-4xl sm:text-6xl md:text-7xl lg:text-[5.2rem] font-display font-extrabold tracking-[-0.03em] leading-[1.06] text-left">
|
<h1 className="text-4xl sm:text-6xl md:text-7xl lg:text-[5.2rem] font-display font-extrabold tracking-[-0.03em] leading-[1.06] text-left">
|
||||||
<span className="block text-white">
|
<span className="block text-slate-950 font-black">
|
||||||
Imagine. Transform.
|
Imagine. Transform.
|
||||||
</span>
|
</span>
|
||||||
<span className="block mt-1 sm:mt-2 bg-gradient-to-r from-blue-400 via-indigo-300 to-pink-400 bg-clip-text text-transparent">
|
<span className="block mt-1 sm:mt-2 bg-gradient-to-r from-blue-600 via-indigo-600 to-pink-500 bg-clip-text text-transparent font-black">
|
||||||
Create the Impossible.
|
Create the Impossible.
|
||||||
</span>
|
</span>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
{/* Subtitle */}
|
{/* Subtitle */}
|
||||||
<p className="mt-5 sm:mt-7 text-sm sm:text-base md:text-lg text-slate-200/90 max-w-xl text-left font-sans leading-relaxed">
|
<p className="mt-5 sm:mt-7 text-sm sm:text-base md:text-lg text-slate-600 max-w-xl text-left font-sans leading-relaxed">
|
||||||
Turn ordinary moments into extraordinary visual art, Instant, effortless, and private photo magic right in your browser.
|
Turn ordinary moments into extraordinary visual art, Instant, effortless, and private photo magic right in your browser.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -312,57 +312,57 @@ export function HeroSection({
|
|||||||
<div className="mt-8 sm:mt-10 flex flex-wrap items-center gap-3 sm:gap-4">
|
<div className="mt-8 sm:mt-10 flex flex-wrap items-center gap-3 sm:gap-4">
|
||||||
<a
|
<a
|
||||||
href={primaryCtaHref}
|
href={primaryCtaHref}
|
||||||
className="px-7 sm:px-8 py-3.5 sm:py-4 rounded-full text-xs sm:text-sm font-bold text-white bg-blue-600 hover:bg-blue-500 shadow-lg shadow-blue-600/35 transition-all duration-200 hover:scale-105 active:scale-95 cursor-pointer"
|
className="px-7 sm:px-8 py-3.5 sm:py-4 rounded-full text-xs sm:text-sm font-bold text-white bg-blue-600 hover:bg-blue-500 shadow-lg shadow-blue-500/25 transition-all duration-200 hover:scale-105 active:scale-95 cursor-pointer"
|
||||||
>
|
>
|
||||||
Explore Our Tools
|
Explore Our Tools
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href={secondaryCtaHref}
|
href={secondaryCtaHref}
|
||||||
className="px-7 sm:px-8 py-3.5 sm:py-4 rounded-full text-xs sm:text-sm font-bold text-slate-950 bg-white hover:bg-slate-100 shadow-md transition-all duration-200 hover:scale-105 active:scale-95 cursor-pointer"
|
className="px-7 sm:px-8 py-3.5 sm:py-4 rounded-full text-xs sm:text-sm font-bold text-slate-900 bg-white hover:bg-slate-50 border border-slate-200/90 shadow-sm transition-all duration-200 hover:scale-105 active:scale-95 cursor-pointer"
|
||||||
>
|
>
|
||||||
Recommended Apps
|
Recommended Apps
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Glass Metrics Pill Capsule (0% CPU, Hardware-Accelerated) */}
|
{/* Glass Metrics Pill Capsule (0% CPU, Hardware-Accelerated) */}
|
||||||
<div className="mt-12 sm:mt-16 w-full max-w-2xl sm:max-w-3xl rounded-3xl sm:rounded-full bg-slate-950/75 border border-white/15 p-4 sm:py-4 sm:px-8 grid grid-cols-2 sm:grid-cols-4 gap-4 sm:gap-6 shadow-2xl">
|
<div className="mt-12 sm:mt-16 w-full max-w-2xl sm:max-w-3xl rounded-3xl sm:rounded-full bg-white/85 border border-slate-200/90 p-4 sm:py-4 sm:px-8 grid grid-cols-2 sm:grid-cols-4 gap-4 sm:gap-6 shadow-cream-sm">
|
||||||
{/* Metric 1 */}
|
{/* Metric 1 */}
|
||||||
<div className="flex flex-col text-left">
|
<div className="flex flex-col text-left">
|
||||||
<span className="text-xl sm:text-2xl font-display font-black tracking-tight text-blue-400">
|
<span className="text-xl sm:text-2xl font-display font-black tracking-tight text-blue-600">
|
||||||
1.4M+
|
1.4M+
|
||||||
</span>
|
</span>
|
||||||
<span className="text-[11px] sm:text-xs text-slate-300 font-sans mt-0.5">
|
<span className="text-[11px] sm:text-xs text-slate-500 font-sans mt-0.5">
|
||||||
Photo Tranformed
|
Photo Tranformed
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Metric 2 */}
|
{/* Metric 2 */}
|
||||||
<div className="flex flex-col text-left">
|
<div className="flex flex-col text-left">
|
||||||
<span className="text-xl sm:text-2xl font-display font-black tracking-tight text-indigo-300">
|
<span className="text-xl sm:text-2xl font-display font-black tracking-tight text-indigo-600">
|
||||||
<0.8s
|
<0.8s
|
||||||
</span>
|
</span>
|
||||||
<span className="text-[11px] sm:text-xs text-slate-300 font-sans mt-0.5">
|
<span className="text-[11px] sm:text-xs text-slate-500 font-sans mt-0.5">
|
||||||
Instant Interene
|
Instant Interene
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Metric 3 */}
|
{/* Metric 3 */}
|
||||||
<div className="flex flex-col text-left">
|
<div className="flex flex-col text-left">
|
||||||
<span className="text-xl sm:text-2xl font-display font-black tracking-tight text-indigo-400">
|
<span className="text-xl sm:text-2xl font-display font-black tracking-tight text-purple-600">
|
||||||
100%
|
100%
|
||||||
</span>
|
</span>
|
||||||
<span className="text-[11px] sm:text-xs text-slate-300 font-sans mt-0.5">
|
<span className="text-[11px] sm:text-xs text-slate-500 font-sans mt-0.5">
|
||||||
Client side privacy
|
Client side privacy
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Metric 4 */}
|
{/* Metric 4 */}
|
||||||
<div className="flex flex-col text-left">
|
<div className="flex flex-col text-left">
|
||||||
<span className="text-xl sm:text-2xl font-display font-black tracking-tight bg-gradient-to-r from-blue-300 via-indigo-300 to-pink-400 bg-clip-text text-transparent">
|
<span className="text-xl sm:text-2xl font-display font-black tracking-tight bg-gradient-to-r from-blue-600 via-indigo-600 to-pink-500 bg-clip-text text-transparent">
|
||||||
4K UHD
|
4K UHD
|
||||||
</span>
|
</span>
|
||||||
<span className="text-[11px] sm:text-xs text-slate-300 font-sans mt-0.5">
|
<span className="text-[11px] sm:text-xs text-slate-500 font-sans mt-0.5">
|
||||||
Studio Resolution
|
Studio Resolution
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -76,19 +76,15 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
|||||||
<div className="max-w-[1640px] mx-auto px-4 sm:px-6 lg:px-10 flex items-center justify-between">
|
<div className="max-w-[1640px] mx-auto px-4 sm:px-6 lg:px-10 flex items-center justify-between">
|
||||||
{/* Brand Logo */}
|
{/* Brand Logo */}
|
||||||
<div className="relative z-20 flex-shrink-0">
|
<div className="relative z-20 flex-shrink-0">
|
||||||
<BrandLogo size="md" isDark={isHeroTransparent} />
|
<BrandLogo size="md" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Center Navigation Links:
|
{/* Center Navigation Links: Clean text buttons */}
|
||||||
- On Hero: Clean white text buttons only (matching reference image)
|
|
||||||
- Scrolled: Subtle semi-solid pill links */}
|
|
||||||
<nav className="hidden md:flex items-center gap-6 lg:gap-8 relative z-20">
|
<nav className="hidden md:flex items-center gap-6 lg:gap-8 relative z-20">
|
||||||
<Link
|
<Link
|
||||||
href="/"
|
href="/"
|
||||||
className={`text-sm font-semibold transition-colors ${
|
className={`text-sm font-semibold transition-colors ${
|
||||||
isHeroTransparent
|
pathname === '/'
|
||||||
? 'text-white hover:text-blue-300'
|
|
||||||
: pathname === '/'
|
|
||||||
? 'text-blue-600 font-bold'
|
? 'text-blue-600 font-bold'
|
||||||
: 'text-slate-800 hover:text-blue-600'
|
: 'text-slate-800 hover:text-blue-600'
|
||||||
}`}
|
}`}
|
||||||
@@ -98,11 +94,7 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
|||||||
|
|
||||||
<Link
|
<Link
|
||||||
href="/#pricing"
|
href="/#pricing"
|
||||||
className={`text-sm font-semibold transition-colors ${
|
className="text-sm font-semibold text-slate-800 hover:text-blue-600 transition-colors"
|
||||||
isHeroTransparent
|
|
||||||
? 'text-white/90 hover:text-white'
|
|
||||||
: 'text-slate-800 hover:text-blue-600'
|
|
||||||
}`}
|
|
||||||
>
|
>
|
||||||
Pricing
|
Pricing
|
||||||
</Link>
|
</Link>
|
||||||
@@ -110,9 +102,7 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
|||||||
<Link
|
<Link
|
||||||
href="/tools"
|
href="/tools"
|
||||||
className={`text-sm font-semibold transition-colors ${
|
className={`text-sm font-semibold transition-colors ${
|
||||||
isHeroTransparent
|
pathname.startsWith('/tools')
|
||||||
? 'text-white/90 hover:text-white'
|
|
||||||
: pathname.startsWith('/tools')
|
|
||||||
? 'text-blue-600 font-bold'
|
? 'text-blue-600 font-bold'
|
||||||
: 'text-slate-800 hover:text-blue-600'
|
: 'text-slate-800 hover:text-blue-600'
|
||||||
}`}
|
}`}
|
||||||
@@ -123,9 +113,7 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
|||||||
<Link
|
<Link
|
||||||
href="/apps"
|
href="/apps"
|
||||||
className={`text-sm font-semibold transition-colors ${
|
className={`text-sm font-semibold transition-colors ${
|
||||||
isHeroTransparent
|
pathname.startsWith('/apps')
|
||||||
? 'text-white/90 hover:text-white'
|
|
||||||
: pathname.startsWith('/apps')
|
|
||||||
? 'text-blue-600 font-bold'
|
? 'text-blue-600 font-bold'
|
||||||
: 'text-slate-800 hover:text-blue-600'
|
: 'text-slate-800 hover:text-blue-600'
|
||||||
}`}
|
}`}
|
||||||
@@ -135,11 +123,7 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
|||||||
|
|
||||||
<Link
|
<Link
|
||||||
href="/#home-faqs"
|
href="/#home-faqs"
|
||||||
className={`text-sm font-semibold transition-colors ${
|
className="text-sm font-semibold text-slate-800 hover:text-blue-600 transition-colors"
|
||||||
isHeroTransparent
|
|
||||||
? 'text-white/90 hover:text-white'
|
|
||||||
: 'text-slate-800 hover:text-blue-600'
|
|
||||||
}`}
|
|
||||||
>
|
>
|
||||||
Trust & Privacy
|
Trust & Privacy
|
||||||
</Link>
|
</Link>
|
||||||
@@ -149,7 +133,7 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
|||||||
<div className="hidden md:flex items-center space-x-3 relative z-20 flex-shrink-0">
|
<div className="hidden md:flex items-center space-x-3 relative z-20 flex-shrink-0">
|
||||||
<Link
|
<Link
|
||||||
href="/apps"
|
href="/apps"
|
||||||
className="px-5 py-2.5 rounded-full text-xs sm:text-sm font-bold text-white bg-blue-600 hover:bg-blue-500 shadow-md shadow-blue-500/30 transition-all duration-200 hover:scale-105 active:scale-95"
|
className="px-5 py-2.5 rounded-full text-xs sm:text-sm font-bold text-white bg-blue-600 hover:bg-blue-500 shadow-md shadow-blue-500/25 transition-all duration-200 hover:scale-105 active:scale-95"
|
||||||
>
|
>
|
||||||
Get the App
|
Get the App
|
||||||
</Link>
|
</Link>
|
||||||
@@ -159,11 +143,7 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
|||||||
<div className="flex md:hidden items-center space-x-2 relative z-20">
|
<div className="flex md:hidden items-center space-x-2 relative z-20">
|
||||||
<button
|
<button
|
||||||
onClick={() => setMobileMenuOpen(!mobileMenuOpen)}
|
onClick={() => setMobileMenuOpen(!mobileMenuOpen)}
|
||||||
className={`p-2.5 rounded-xl border transition-colors active:scale-95 ${
|
className="p-2.5 rounded-xl border text-slate-800 bg-white hover:bg-slate-50 border-slate-200/90 shadow-2xs transition-colors active:scale-95"
|
||||||
isHeroTransparent && !mobileMenuOpen
|
|
||||||
? 'text-white bg-white/10 hover:bg-white/20 border-white/20'
|
|
||||||
: 'text-slate-800 bg-white hover:bg-slate-50 border-slate-200/90 shadow-sm'
|
|
||||||
}`}
|
|
||||||
aria-label={mobileMenuOpen ? 'Close navigation menu' : 'Open navigation menu'}
|
aria-label={mobileMenuOpen ? 'Close navigation menu' : 'Open navigation menu'}
|
||||||
aria-expanded={mobileMenuOpen}
|
aria-expanded={mobileMenuOpen}
|
||||||
>
|
>
|
||||||
|
|||||||