fix(ui): center and symmetrize commercial tools suite layout to eliminate right-alignment asymmetry
This commit is contained in:
@@ -59,16 +59,15 @@ export function VerticalToolStackSection({ context }: VerticalToolStackProps) {
|
||||
id="studio-suite"
|
||||
className="py-24 sm:py-32 lg:py-36 relative bg-[#FAF8F5] border-t border-b border-slate-900/[0.07] overflow-hidden scroll-mt-20"
|
||||
>
|
||||
{/* Anchor alias for tools-stack */}
|
||||
{/* Anchor alias for backwards compatibility */}
|
||||
<div id="tools-stack" className="absolute -top-20" />
|
||||
|
||||
{/* Subtle ambient light gradient */}
|
||||
<div className="absolute top-1/4 -left-48 w-96 h-96 bg-blue-500/[0.03] rounded-full blur-3xl pointer-events-none" />
|
||||
<div className="absolute bottom-1/4 -right-48 w-96 h-96 bg-indigo-500/[0.03] rounded-full blur-3xl pointer-events-none" />
|
||||
<div className="absolute top-1/4 left-1/2 -translate-x-1/2 w-[800px] h-96 bg-blue-500/[0.025] rounded-full blur-3xl pointer-events-none" />
|
||||
|
||||
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
|
||||
{/* Section Header: Spacious, Clean, Editorial */}
|
||||
<div className="text-center max-w-3xl mx-auto mb-16 sm:mb-24">
|
||||
{/* Section Header: Centered & Balanced */}
|
||||
<div className="text-center max-w-3xl mx-auto mb-12 sm:mb-16">
|
||||
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-blue-50 border border-blue-200 text-xs font-mono font-semibold text-blue-700 mb-4 shadow-sm">
|
||||
<Zap className="w-3.5 h-3.5 text-blue-600" />
|
||||
<span>THE CREATIVE STUDIO SUITE</span>
|
||||
@@ -81,260 +80,210 @@ export function VerticalToolStackSection({ context }: VerticalToolStackProps) {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* Mobile Category Quick Rail */}
|
||||
<div className="lg:hidden flex items-center gap-2 overflow-x-auto pb-4 mb-8 no-scrollbar">
|
||||
{/* Centered Symmetrical Category Filter Rail */}
|
||||
<div className="flex flex-wrap items-center justify-center gap-2 sm:gap-3 max-w-4xl mx-auto mb-16 sm:mb-20">
|
||||
<button
|
||||
onClick={() => setSelectedCategory('all')}
|
||||
className={`px-4 py-2.5 rounded-full text-xs font-bold whitespace-nowrap transition-all shadow-sm ${
|
||||
className={`flex items-center gap-2 px-5 py-2.5 rounded-full text-xs font-bold transition-all duration-200 shadow-sm ${
|
||||
selectedCategory === 'all'
|
||||
? 'bg-blue-600 text-white shadow-blue-500/20'
|
||||
: 'bg-white text-slate-700 border border-slate-200'
|
||||
? 'bg-blue-600 text-white shadow-blue-500/20 scale-105'
|
||||
: 'bg-white text-slate-700 border border-slate-200 hover:bg-slate-50 hover:border-slate-300'
|
||||
}`}
|
||||
>
|
||||
All Disciplines ({tools.length})
|
||||
<Layers className="w-3.5 h-3.5" />
|
||||
<span>All Disciplines</span>
|
||||
<span className={`text-[10px] font-mono px-2 py-0.5 rounded-full ${
|
||||
selectedCategory === 'all' ? 'bg-white/20 text-white' : 'bg-slate-100 text-slate-600'
|
||||
}`}>
|
||||
{tools.length}
|
||||
</span>
|
||||
</button>
|
||||
|
||||
{categories.map((cat) => {
|
||||
const catTools = tools.filter((t) => t.category === cat.slug);
|
||||
const active = selectedCategory === cat.slug;
|
||||
const Icon = ICON_MAP[cat.icon || 'Sparkles'] || Sparkles;
|
||||
|
||||
return (
|
||||
<button
|
||||
key={cat.slug}
|
||||
onClick={() => setSelectedCategory(cat.slug)}
|
||||
className={`px-4 py-2.5 rounded-full text-xs font-bold whitespace-nowrap transition-all shadow-sm ${
|
||||
className={`flex items-center gap-2 px-5 py-2.5 rounded-full text-xs font-bold transition-all duration-200 shadow-sm ${
|
||||
active
|
||||
? 'bg-blue-600 text-white shadow-blue-500/20'
|
||||
: 'bg-white text-slate-700 border border-slate-200'
|
||||
? 'bg-blue-600 text-white shadow-blue-500/20 scale-105'
|
||||
: 'bg-white text-slate-700 border border-slate-200 hover:bg-slate-50 hover:border-slate-300'
|
||||
}`}
|
||||
>
|
||||
{resolveLocalised(cat.name, locale)} ({catTools.length})
|
||||
<Icon className={`w-3.5 h-3.5 ${active ? 'text-white' : 'text-blue-600'}`} />
|
||||
<span>{resolveLocalised(cat.name, locale)}</span>
|
||||
<span className={`text-[10px] font-mono px-2 py-0.5 rounded-full ${
|
||||
active ? 'bg-white/20 text-white' : 'bg-slate-100 text-slate-600'
|
||||
}`}>
|
||||
{catTools.length}
|
||||
</span>
|
||||
</button>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
|
||||
{/* Main Grid: Sticky Category Rail (Desktop) + Spacious Vertical Stack */}
|
||||
<div className="grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-14 items-start">
|
||||
{/* Left Column: Sticky Category Selector Rail */}
|
||||
<div className="hidden lg:block lg:col-span-4 sticky top-28 space-y-5">
|
||||
<div className="bg-white rounded-3xl p-6 sm:p-7 border border-slate-900/[0.07] shadow-sm">
|
||||
<div className="flex items-center justify-between pb-4 border-b border-slate-100 mb-5">
|
||||
<span className="text-xs font-mono uppercase tracking-wider text-slate-500 font-semibold">Disciplines</span>
|
||||
<span className="text-xs font-mono font-bold text-blue-600">{tools.length} Vision Tools</span>
|
||||
</div>
|
||||
{/* Centered Symmetrical Vertical Stack Container (No Lopsided Gutter) */}
|
||||
<div className="max-w-5xl mx-auto space-y-16">
|
||||
{filteredCategories.map((category) => {
|
||||
const catTools = tools.filter((t) => t.category === category.slug);
|
||||
if (catTools.length === 0) return null;
|
||||
const Icon = ICON_MAP[category.icon || 'Sparkles'] || Sparkles;
|
||||
|
||||
<div className="space-y-2">
|
||||
<button
|
||||
onClick={() => setSelectedCategory('all')}
|
||||
className={`w-full flex items-center justify-between px-4 py-3.5 rounded-2xl text-left text-xs font-bold transition-all duration-200 ${
|
||||
selectedCategory === 'all'
|
||||
? 'bg-blue-50 text-blue-700 border border-blue-200 shadow-sm'
|
||||
: 'text-slate-600 hover:text-slate-900 hover:bg-slate-50'
|
||||
}`}
|
||||
>
|
||||
<div className="flex items-center gap-3">
|
||||
<Layers className="w-4 h-4 text-blue-600" />
|
||||
<span>Complete Suite</span>
|
||||
</div>
|
||||
<span className="text-[11px] font-mono px-2 py-0.5 rounded-full bg-slate-100 text-slate-700">
|
||||
{tools.length}
|
||||
</span>
|
||||
</button>
|
||||
|
||||
{categories.map((cat) => {
|
||||
const catTools = tools.filter((t) => t.category === cat.slug);
|
||||
const active = selectedCategory === cat.slug;
|
||||
const Icon = ICON_MAP[cat.icon || 'Sparkles'] || Sparkles;
|
||||
|
||||
return (
|
||||
<button
|
||||
key={cat.slug}
|
||||
onClick={() => setSelectedCategory(cat.slug)}
|
||||
className={`w-full flex items-center justify-between px-4 py-3.5 rounded-2xl text-left text-xs font-bold transition-all duration-200 ${
|
||||
active
|
||||
? 'bg-blue-50 text-blue-700 border border-blue-200 shadow-sm'
|
||||
: 'text-slate-600 hover:text-slate-900 hover:bg-slate-50'
|
||||
}`}
|
||||
>
|
||||
<div className="flex items-center gap-3">
|
||||
<Icon className={`w-4 h-4 ${active ? 'text-blue-600' : 'text-slate-400'}`} />
|
||||
<div>
|
||||
<p className="leading-tight">{resolveLocalised(cat.name, locale)}</p>
|
||||
</div>
|
||||
</div>
|
||||
<span className="text-[11px] font-mono px-2 py-0.5 rounded-full bg-slate-100 text-slate-700">
|
||||
{catTools.length}
|
||||
</span>
|
||||
</button>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
|
||||
{/* Zero-Storage Guarantee Chip */}
|
||||
<div className="mt-7 pt-6 border-t border-slate-100 space-y-2.5">
|
||||
<div className="flex items-center gap-2 text-xs text-emerald-800 font-mono font-bold">
|
||||
<ShieldCheck className="w-4 h-4 text-emerald-600 shrink-0" />
|
||||
<span>Zero-Storage Guaranteed</span>
|
||||
</div>
|
||||
<p className="text-[11.5px] text-slate-500 leading-relaxed font-normal">
|
||||
Images stream through memory buffers in volatile RAM and are never persisted to disk or utilized for training.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Mobile App Promotion Pill */}
|
||||
<div className="p-6 rounded-3xl bg-white border border-slate-900/[0.07] text-xs space-y-2.5 shadow-sm">
|
||||
<div className="flex items-center gap-2 text-indigo-700 font-bold">
|
||||
<Smartphone className="w-4 h-4 text-indigo-600" />
|
||||
<span>Batch Processing & Offline Mode</span>
|
||||
</div>
|
||||
<p className="text-slate-600 text-[11.5px] leading-relaxed">
|
||||
Need batch editing or offline neural execution? Use our iOS and Android native apps with promo code <code className="text-blue-700 font-mono font-bold bg-blue-50 border border-blue-200 px-1.5 py-0.5 rounded">TRYWEB50</code>.
|
||||
</p>
|
||||
<Link
|
||||
href="/apps"
|
||||
className="inline-flex items-center gap-1.5 text-blue-600 hover:text-blue-700 font-bold text-xs pt-1 transition-colors"
|
||||
>
|
||||
<span>Explore Native Apps</span>
|
||||
<ArrowRight className="w-3.5 h-3.5" />
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Right Column: Spacious Vertical Stack of Tool Cards */}
|
||||
<div className="lg:col-span-8 space-y-14">
|
||||
{filteredCategories.map((category) => {
|
||||
const catTools = tools.filter((t) => t.category === category.slug);
|
||||
if (catTools.length === 0) return null;
|
||||
const Icon = ICON_MAP[category.icon || 'Sparkles'] || Sparkles;
|
||||
|
||||
return (
|
||||
<div key={category.slug} className="space-y-7">
|
||||
{/* Category Header */}
|
||||
<div className="flex items-center justify-between pb-3.5 border-b border-slate-900/[0.08]">
|
||||
<div className="flex items-center gap-3">
|
||||
<div className="w-9 h-9 rounded-xl bg-blue-50 border border-blue-200 flex items-center justify-center text-blue-600 shadow-sm">
|
||||
<Icon className="w-4 h-4" />
|
||||
</div>
|
||||
<div>
|
||||
<h3 className="text-xl font-display font-bold text-slate-900">
|
||||
{resolveLocalised(category.name, locale)}
|
||||
</h3>
|
||||
<p className="text-xs text-slate-500 font-normal">
|
||||
{resolveLocalised(category.description, locale)}
|
||||
</p>
|
||||
</div>
|
||||
return (
|
||||
<div key={category.slug} className="space-y-8">
|
||||
{/* Category Section Header */}
|
||||
<div className="flex flex-col sm:flex-row sm:items-center justify-between gap-3 pb-4 border-b border-slate-900/[0.08]">
|
||||
<div className="flex items-center gap-3.5">
|
||||
<div className="w-10 h-10 rounded-2xl bg-blue-50 border border-blue-200 flex items-center justify-center text-blue-600 shadow-sm">
|
||||
<Icon className="w-5 h-5" />
|
||||
</div>
|
||||
<div>
|
||||
<h3 className="text-xl sm:text-2xl font-display font-bold text-slate-900">
|
||||
{resolveLocalised(category.name, locale)}
|
||||
</h3>
|
||||
<p className="text-xs sm:text-sm text-slate-500 font-normal">
|
||||
{resolveLocalised(category.description, locale)}
|
||||
</p>
|
||||
</div>
|
||||
<span className="text-xs font-mono font-semibold text-blue-700 bg-blue-50 border border-blue-200 px-3 py-1 rounded-full">
|
||||
{catTools.length} {catTools.length === 1 ? 'Tool' : 'Tools'}
|
||||
</span>
|
||||
</div>
|
||||
<span className="self-start sm:self-auto text-xs font-mono font-semibold text-blue-700 bg-blue-50 border border-blue-200 px-3 py-1 rounded-full">
|
||||
{catTools.length} {catTools.length === 1 ? 'Production Tool' : 'Production Tools'}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{/* Vertical Cards for This Category */}
|
||||
<div className="space-y-8">
|
||||
{catTools.map((tool) => {
|
||||
const badgeInfo = MODEL_BADGES[tool.id] || {
|
||||
model: 'Neural Vision v2.0',
|
||||
latency: '< 450ms',
|
||||
chip: 'Commercial Precision',
|
||||
};
|
||||
const example = tool.content?.examples?.[0] || {
|
||||
before: 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80',
|
||||
after: 'https://images.unsplash.com/photo-1517841905240-472988babdf9?w=800&auto=format&fit=crop&q=80',
|
||||
caption: 'Interactive Before/After Preview',
|
||||
};
|
||||
{/* Symmetrical Tool Cards */}
|
||||
<div className="space-y-8">
|
||||
{catTools.map((tool) => {
|
||||
const badgeInfo = MODEL_BADGES[tool.id] || {
|
||||
model: 'Neural Vision v2.0',
|
||||
latency: '< 450ms',
|
||||
chip: 'Commercial Precision',
|
||||
};
|
||||
const example = tool.content?.examples?.[0] || {
|
||||
before: 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80',
|
||||
after: 'https://images.unsplash.com/photo-1517841905240-472988babdf9?w=800&auto=format&fit=crop&q=80',
|
||||
caption: 'Interactive Before/After Preview',
|
||||
};
|
||||
|
||||
return (
|
||||
<div
|
||||
key={tool.id}
|
||||
className="bg-white rounded-3xl p-7 sm:p-9 border border-slate-900/[0.08] hover:border-blue-400 shadow-sm hover:shadow-md transition-all duration-300 relative group"
|
||||
>
|
||||
{/* Top Metadata Row */}
|
||||
<div className="flex flex-wrap items-center justify-between gap-3 mb-6">
|
||||
<div className="flex flex-wrap items-center gap-2">
|
||||
{/* Neural Model Tag */}
|
||||
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-blue-50 border border-blue-200 text-blue-700 font-mono text-[11px] font-semibold">
|
||||
<Cpu className="w-3 h-3 text-blue-600" />
|
||||
<span>{badgeInfo.model}</span>
|
||||
</span>
|
||||
{/* Specific Capability Chip */}
|
||||
<span className="px-2.5 py-1 rounded-full bg-slate-100 border border-slate-200 text-slate-700 text-[11px] font-mono font-medium">
|
||||
{badgeInfo.chip}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{/* Latency Metric */}
|
||||
<div className="flex items-center gap-1.5 text-[11px] font-mono text-emerald-700 bg-emerald-50 border border-emerald-200 px-2.5 py-1 rounded-full font-semibold">
|
||||
<span className="w-1.5 h-1.5 rounded-full bg-emerald-500 animate-pulse" />
|
||||
<span>{badgeInfo.latency} Stream</span>
|
||||
</div>
|
||||
return (
|
||||
<div
|
||||
key={tool.id}
|
||||
className="bg-white rounded-3xl p-7 sm:p-9 border border-slate-900/[0.08] hover:border-blue-400 shadow-cream-sm hover:shadow-cream-md transition-all duration-300 relative group"
|
||||
>
|
||||
{/* Top Metadata Row */}
|
||||
<div className="flex flex-wrap items-center justify-between gap-3 mb-6 pb-4 border-b border-slate-100">
|
||||
<div className="flex flex-wrap items-center gap-2">
|
||||
{/* Neural Model Tag */}
|
||||
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-blue-50 border border-blue-200 text-blue-700 font-mono text-[11px] font-semibold">
|
||||
<Cpu className="w-3 h-3 text-blue-600" />
|
||||
<span>{badgeInfo.model}</span>
|
||||
</span>
|
||||
{/* Specific Capability Chip */}
|
||||
<span className="px-2.5 py-1 rounded-full bg-slate-100 border border-slate-200 text-slate-700 text-[11px] font-mono font-medium">
|
||||
{badgeInfo.chip}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{/* Card Content Grid: Details Left, Interactive Slider Right */}
|
||||
<div className="grid grid-cols-1 md:grid-cols-12 gap-7 sm:gap-8 items-center">
|
||||
{/* Left Details */}
|
||||
<div className="md:col-span-6 space-y-4">
|
||||
<h4 className="text-xl sm:text-2xl font-display font-bold text-slate-900 group-hover:text-blue-600 transition-colors">
|
||||
{resolveLocalised(tool.name, locale)}
|
||||
</h4>
|
||||
<p className="text-xs sm:text-sm text-slate-600 leading-relaxed font-normal">
|
||||
{resolveLocalised(tool.summary, locale)}
|
||||
</p>
|
||||
|
||||
{/* Features List */}
|
||||
<div className="space-y-2.5 pt-2">
|
||||
<div className="flex items-center gap-2.5 text-xs text-slate-700">
|
||||
<CheckCircle2 className="w-4 h-4 text-blue-600 shrink-0" />
|
||||
<span>Zero photo retention with volatile RAM streaming</span>
|
||||
</div>
|
||||
<div className="flex items-center gap-2.5 text-xs text-slate-700">
|
||||
<CheckCircle2 className="w-4 h-4 text-blue-600 shrink-0" />
|
||||
<span>Full HD lossless output with no watermark</span>
|
||||
</div>
|
||||
<div className="flex items-center gap-2.5 text-xs text-slate-700">
|
||||
<CheckCircle2 className="w-4 h-4 text-blue-600 shrink-0" />
|
||||
<span>Seamless mobile handoff with 50 bonus credits</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Action Buttons */}
|
||||
<div className="pt-4 flex flex-wrap items-center gap-3">
|
||||
<Link
|
||||
href={`/tools/${tool.slug}`}
|
||||
className="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 duration-200 hover:-translate-y-0.5 active:translate-y-0"
|
||||
>
|
||||
<span>Launch Tool Online</span>
|
||||
<ArrowRight className="w-3.5 h-3.5" />
|
||||
</Link>
|
||||
|
||||
<Link
|
||||
href={`/apps/${tool.homeApp}`}
|
||||
className="inline-flex items-center gap-1.5 px-4 py-2.5 rounded-full text-xs font-bold text-slate-700 bg-slate-100 border border-slate-200 hover:bg-slate-200 transition-colors"
|
||||
>
|
||||
<Smartphone className="w-3.5 h-3.5 text-blue-600" />
|
||||
<span>Native App</span>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Right: Interactive Before/After Comparison Slider */}
|
||||
<div className="md:col-span-6">
|
||||
<BeforeAfterSlider
|
||||
beforeUrl={example.before}
|
||||
afterUrl={example.after}
|
||||
beforeLabel="Raw Input"
|
||||
afterLabel="CRE Result"
|
||||
aspectRatio="aspect-[4/3]"
|
||||
/>
|
||||
</div>
|
||||
{/* Latency Metric */}
|
||||
<div className="flex items-center gap-1.5 text-[11px] font-mono text-emerald-700 bg-emerald-50 border border-emerald-200 px-3 py-1 rounded-full font-semibold">
|
||||
<span className="w-1.5 h-1.5 rounded-full bg-emerald-500 animate-pulse" />
|
||||
<span>{badgeInfo.latency} Stream</span>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
|
||||
{/* Card Content Grid: 2 Symmetric Columns */}
|
||||
<div className="grid grid-cols-1 md:grid-cols-12 gap-8 lg:gap-10 items-center">
|
||||
{/* Left Details Column */}
|
||||
<div className="md:col-span-6 space-y-4">
|
||||
<h4 className="text-2xl sm:text-3xl font-display font-bold text-slate-900 group-hover:text-blue-600 transition-colors">
|
||||
{resolveLocalised(tool.name, locale)}
|
||||
</h4>
|
||||
<p className="text-xs sm:text-sm text-slate-600 leading-relaxed font-normal">
|
||||
{resolveLocalised(tool.summary, locale)}
|
||||
</p>
|
||||
|
||||
{/* Features Checklist */}
|
||||
<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>
|
||||
</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>
|
||||
</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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Action Buttons */}
|
||||
<div className="pt-4 flex flex-wrap items-center gap-3">
|
||||
<Link
|
||||
href={`/tools/${tool.slug}`}
|
||||
className="inline-flex items-center gap-2 px-6 py-3 rounded-full text-xs font-bold text-white bg-blue-600 hover:bg-blue-700 shadow-sm shadow-blue-500/20 transition-all duration-200 hover:-translate-y-0.5 active:translate-y-0"
|
||||
>
|
||||
<span>Launch Tool Online</span>
|
||||
<ArrowRight className="w-3.5 h-3.5" />
|
||||
</Link>
|
||||
|
||||
<Link
|
||||
href={`/apps/${tool.homeApp}`}
|
||||
className="inline-flex items-center gap-1.5 px-5 py-3 rounded-full text-xs font-bold text-slate-700 bg-slate-100 border border-slate-200 hover:bg-slate-200 transition-colors"
|
||||
>
|
||||
<Smartphone className="w-3.5 h-3.5 text-blue-600" />
|
||||
<span>Native App</span>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Right Interactive Before/After Comparison Slider */}
|
||||
<div className="md:col-span-6">
|
||||
<BeforeAfterSlider
|
||||
beforeUrl={example.before}
|
||||
afterUrl={example.after}
|
||||
beforeLabel="Raw Input"
|
||||
afterLabel="CRE Result"
|
||||
aspectRatio="aspect-[4/3]"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
|
||||
{/* 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>
|
||||
<div>
|
||||
<p className="text-sm font-display font-bold text-slate-900">
|
||||
100% In-Memory RAM Stream Guaranteed
|
||||
</p>
|
||||
<p className="text-xs text-slate-500 font-normal">
|
||||
All photos are processed in volatile RAM buffers and destroyed immediately upon response delivery.
|
||||
</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"
|
||||
>
|
||||
<span>Need Offline or 4K Batch Mode?</span>
|
||||
<ArrowRight className="w-3.5 h-3.5" />
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user