feat(ui): redesign free browser trial tag, optimize phone/tablet responsiveness, integrate lenis smooth scroll, and focus copy strictly on effects & mobile apps

This commit is contained in:
2026-11-03 14:56:58 +05:30
parent f4bc2f2cc2
commit f2960d90f8
13 changed files with 159 additions and 67 deletions
+1 -17
View File
@@ -2,7 +2,7 @@
import React from 'react';
import Link from 'next/link';
import { Sparkles, ArrowRight, Smartphone, ShieldCheck, Zap, Layers, Cpu } from 'lucide-react';
import { Sparkles, ArrowRight, Smartphone, Layers } from 'lucide-react';
import { resolveLocalised, ToolItem, AppItem, VariantSpec } from '@/types';
import { TryItWidget } from './TryItWidget';
import { TiltCard } from '@/components/ui/TiltCard';
@@ -67,22 +67,6 @@ export function HeroSection({
<p className="text-base sm:text-lg lg:text-xl text-slate-600 leading-relaxed max-w-2xl mx-auto font-normal">
{resolvedSubtitle}
</p>
{/* Guarantees Bar - Frosted Glass Micro-Pills */}
<div className="pt-2 flex flex-wrap items-center justify-center gap-3 sm:gap-4 text-xs font-mono">
<span className="inline-flex items-center gap-2 bg-white/80 backdrop-blur-sm border border-slate-900/[0.08] px-4 py-2 rounded-full shadow-sm text-slate-800">
<ShieldCheck className="w-4 h-4 text-emerald-600 shrink-0" />
<span className="font-semibold text-slate-800">100% In-Memory RAM Stream</span>
</span>
<span className="inline-flex items-center gap-2 bg-white/80 backdrop-blur-sm border border-slate-900/[0.08] px-4 py-2 rounded-full shadow-sm text-slate-800">
<Cpu className="w-4 h-4 text-blue-600 shrink-0" />
<span className="font-semibold text-slate-800">Sub-Pore Neural Precision</span>
</span>
<span className="inline-flex items-center gap-2 bg-white/80 backdrop-blur-sm border border-slate-900/[0.08] px-4 py-2 rounded-full shadow-sm text-slate-800">
<Zap className="w-4 h-4 text-amber-500 shrink-0" />
<span className="font-semibold text-slate-800">Zero Watermark Previews</span>
</span>
</div>
</div>
{/* Embedded Interactive Free Try-It Widget wrapped with 3D Tilt Card */}
@@ -39,7 +39,7 @@ const flagshipBanners: FlagshipBanner[] = [
afterUrl: 'https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=800&auto=format&fit=crop&q=80',
benefits: [
'Sub-pixel flyaway hair detection',
'Clean alpha transparent PNG streaming',
'Crisp alpha transparent background export',
'Zero edge bleeding or color fringes',
],
align: 'left',
@@ -60,7 +60,7 @@ const flagshipBanners: FlagshipBanner[] = [
benefits: [
'Microscopic skin pore texture retained',
'Instant acne, scar & discoloration repair',
'Volatile RAM streaming with zero storage',
'Authentic skin tone & micro-pore retention',
],
align: 'right',
},
@@ -80,7 +80,7 @@ const flagshipBanners: FlagshipBanner[] = [
benefits: [
'Iris clarity & sharp eyelash synthesis',
'400% lossless resolution upscaling',
'Instant 1-click HD browser download',
'Studio-grade portrait iris & eyelash clarity',
],
align: 'left',
},
+27 -17
View File
@@ -161,29 +161,39 @@ export function TryItWidget({
};
return (
<div className={`relative bg-white rounded-3xl p-6 sm:p-10 border border-slate-900/[0.08] shadow-cream-md overflow-hidden ${className}`}>
<div className={`relative bg-white rounded-3xl p-5 sm:p-8 lg:p-10 border border-slate-900/[0.08] shadow-cream-md overflow-hidden ${className}`}>
{/* Top Header & Tries Counter */}
<div className="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4 pb-6 border-b border-slate-100">
<div className="flex items-center gap-3.5">
<div className="w-11 h-11 rounded-2xl bg-gradient-to-tr from-blue-600 to-indigo-600 flex items-center justify-center text-white shadow-md shadow-blue-500/20 shrink-0">
<div className="flex flex-col sm:flex-row sm:items-center justify-between gap-4 pb-5 sm:pb-6 border-b border-slate-100">
<div className="flex items-center gap-3 sm:gap-4 min-w-0">
<div className="w-10 h-10 sm:w-11 sm:h-11 rounded-2xl bg-gradient-to-tr from-blue-600 via-indigo-600 to-blue-700 flex items-center justify-center text-white shadow-md shadow-blue-500/20 shrink-0">
<Zap className="w-5 h-5" />
</div>
<div>
<h3 className="font-display font-bold text-slate-900 text-base sm:text-lg flex items-center gap-2">
<span>{resolveLocalised(tool.name, locale)}</span>
<span className="text-[10px] font-mono text-blue-700 bg-blue-50 border border-blue-200 px-2 py-0.5 rounded-full font-semibold">
Free Browser Trial
</span>
</h3>
<p className="text-xs font-mono text-slate-500 mt-0.5">
Zero Watermarks • In-Memory RAM Stream • No Sign-Up
<div className="min-w-0">
<div className="flex flex-wrap items-center gap-2 sm:gap-2.5">
<h3 className="font-display font-bold text-slate-900 text-base sm:text-lg tracking-tight">
{resolveLocalised(tool.name, locale)}
</h3>
<div className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-[11px] font-mono font-semibold text-blue-700 bg-gradient-to-r from-blue-50 via-indigo-50/60 to-blue-50 border border-blue-200/80 shadow-2xs whitespace-nowrap">
<span className="relative flex h-2 w-2">
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-blue-400 opacity-75"></span>
<span className="relative inline-flex rounded-full h-2 w-2 bg-blue-600"></span>
</span>
<span>Free Browser Trial</span>
</div>
</div>
<p className="text-xs text-slate-500 mt-1 font-normal flex items-center gap-1.5 flex-wrap">
<span>Studio-Grade AI Enhancement</span>
<span className="text-slate-300 hidden sm:inline">•</span>
<span className="hidden sm:inline">Instant Visual Quality</span>
</p>
</div>
</div>
<div className="self-end sm:self-auto flex items-center gap-2 bg-emerald-50 border border-emerald-200 px-3.5 py-1.5 rounded-full text-xs font-mono text-emerald-800 font-semibold">
<span className="w-2 h-2 rounded-full bg-emerald-500 animate-pulse"></span>
<span>{remainingTries} free tries today</span>
<div className="flex items-center justify-between sm:justify-end gap-2 shrink-0 pt-2.5 sm:pt-0 border-t sm:border-t-0 border-slate-100">
<div className="inline-flex items-center gap-2 bg-emerald-50 border border-emerald-200/90 px-3.5 py-1.5 rounded-full text-xs font-mono text-emerald-800 font-semibold shadow-2xs">
<span className="w-2 h-2 rounded-full bg-emerald-500 animate-pulse"></span>
<span>{remainingTries} free tries today</span>
</div>
</div>
</div>
@@ -328,7 +338,7 @@ export function TryItWidget({
CRE Neural Vision Engine Processing...
</h4>
<p className="text-xs sm:text-sm text-slate-500 max-w-sm mx-auto mt-1 font-mono">
Synthesizing deep learning layers while preserving native pore texture in volatile RAM.
Synthesizing deep neural layers while preserving natural textures and micro-details.
</p>
</div>
</div>
@@ -215,15 +215,15 @@ export function VerticalToolStackSection({ context }: VerticalToolStackProps) {
<div className="space-y-2.5 pt-2">
<div className="flex items-center gap-2.5 text-xs text-slate-700 font-medium">
<CheckCircle2 className="w-4 h-4 text-blue-600 shrink-0" />
<span>Zero photo retention with volatile RAM streaming</span>
<span>Sub-pixel edge and realistic texture preservation</span>
</div>
<div className="flex items-center gap-2.5 text-xs text-slate-700 font-medium">
<CheckCircle2 className="w-4 h-4 text-blue-600 shrink-0" />
<span>Full HD lossless output with no watermark</span>
<span>Studio-grade 4K lossless enhancement</span>
</div>
<div className="flex items-center gap-2.5 text-xs text-slate-700 font-medium">
<CheckCircle2 className="w-4 h-4 text-blue-600 shrink-0" />
<span>Seamless mobile handoff with 50 bonus credits</span>
<span>Full creative control in native iOS & Android apps</span>
</div>
</div>
@@ -271,23 +271,23 @@ export function VerticalToolStackSection({ context }: VerticalToolStackProps) {
{/* Centered Symmetrical Bottom Banner */}
<div className="mt-16 max-w-5xl mx-auto rounded-3xl bg-white p-6 sm:p-8 border border-slate-900/[0.08] shadow-cream-sm flex flex-col sm:flex-row items-center justify-between gap-5 text-center sm:text-left">
<div className="flex items-center gap-3.5">
<div className="w-10 h-10 rounded-2xl bg-emerald-50 border border-emerald-200 flex items-center justify-center text-emerald-700 shrink-0">
<ShieldCheck className="w-5 h-5" />
<div className="w-10 h-10 rounded-2xl bg-blue-50 border border-blue-200 flex items-center justify-center text-blue-600 shrink-0">
<Smartphone className="w-5 h-5" />
</div>
<div>
<p className="text-sm font-display font-bold text-slate-900">
100% In-Memory RAM Stream Guaranteed
Dedicated Mobile Creative Suites for iOS & Android
</p>
<p className="text-xs text-slate-500 font-normal">
All photos are processed in volatile RAM buffers and destroyed immediately upon response delivery.
Batch enhancement, RAW camera file support, and instant offline exports across our native mobile app lineup.
</p>
</div>
</div>
<Link
href="/apps"
className="shrink-0 inline-flex items-center gap-2 px-5 py-2.5 rounded-full text-xs font-bold text-blue-700 bg-blue-50 border border-blue-200 hover:bg-blue-100 transition-colors"
className="shrink-0 inline-flex items-center gap-2 px-5 py-2.5 rounded-full text-xs font-bold text-white bg-blue-600 hover:bg-blue-700 shadow-sm shadow-blue-500/20 transition-all"
>
<span>Need Offline or 4K Batch Mode?</span>
<span>Explore Mobile Apps</span>
<ArrowRight className="w-3.5 h-3.5" />
</Link>
</div>