feat(ui): childhood-friendly how section, squarical android quick-settings tiles with resizing, pure 3D art hero without tool names
This commit is contained in:
@@ -7,21 +7,14 @@ import {
|
|||||||
Sparkles,
|
Sparkles,
|
||||||
ArrowRight,
|
ArrowRight,
|
||||||
Smartphone,
|
Smartphone,
|
||||||
ShieldCheck,
|
|
||||||
Zap,
|
|
||||||
Check,
|
|
||||||
Sliders,
|
|
||||||
ArrowDown,
|
ArrowDown,
|
||||||
UploadCloud,
|
ShieldCheck,
|
||||||
Scissors,
|
LockKeyhole,
|
||||||
Wand2,
|
Check,
|
||||||
Palette,
|
Zap
|
||||||
Layers,
|
|
||||||
LockKeyhole
|
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
import { ToolItem, VariantSpec, resolveLocalised } from '@/types';
|
import { ToolItem, VariantSpec, resolveLocalised } from '@/types';
|
||||||
import { TextAnimate } from '@/components/magicui/text-animate';
|
import { TextAnimate } from '@/components/magicui/text-animate';
|
||||||
import { BorderBeam } from '@/components/magicui/border-beam';
|
|
||||||
import { Particles } from '@/components/magicui/particles';
|
import { Particles } from '@/components/magicui/particles';
|
||||||
|
|
||||||
interface HeroSectionProps {
|
interface HeroSectionProps {
|
||||||
@@ -37,49 +30,6 @@ interface HeroSectionProps {
|
|||||||
locale?: string;
|
locale?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const HERO_SHOWCASE_TABS = [
|
|
||||||
{
|
|
||||||
id: 'enhancer',
|
|
||||||
label: '4K Super-Resolution',
|
|
||||||
icon: Wand2,
|
|
||||||
badge: '4K RESTORATION',
|
|
||||||
beforeUrl: '/management/pages/home/media/landscape_enhancer_before.jpg',
|
|
||||||
afterUrl: '/management/pages/home/media/landscape_enhancer_after.jpg',
|
|
||||||
tagline: 'Sub-pore facial reconstruction & 4K crystal super-resolution.',
|
|
||||||
href: '/tools/photo-enhancer',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'blemish',
|
|
||||||
label: 'Blemish & Pore Retouch',
|
|
||||||
icon: Sparkles,
|
|
||||||
badge: 'STUDIO RETOUCH',
|
|
||||||
beforeUrl: '/management/pages/home/media/landscape_blemish_before.jpg',
|
|
||||||
afterUrl: '/management/pages/home/media/landscape_blemish_after.jpg',
|
|
||||||
tagline: 'Erase acne, redness & blemishes while preserving authentic pores.',
|
|
||||||
href: '/tools/blemish-remover',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'restore',
|
|
||||||
label: 'Vintage Photo Restore',
|
|
||||||
icon: Palette,
|
|
||||||
badge: 'ARCHIVAL AI',
|
|
||||||
beforeUrl: '/management/pages/home/media/landscape_restore_before.jpg',
|
|
||||||
afterUrl: '/management/pages/home/media/landscape_restore_after.jpg',
|
|
||||||
tagline: 'Repair severe scratches, faded contrast, and restore historical iris clarity.',
|
|
||||||
href: '/tools/old-photo-restorer',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'teeth',
|
|
||||||
label: 'Teeth Whitener AI',
|
|
||||||
icon: Layers,
|
|
||||||
badge: 'SMILE ENHANCE',
|
|
||||||
beforeUrl: '/management/pages/home/media/landscape_teeth_before.jpg',
|
|
||||||
afterUrl: '/management/pages/home/media/landscape_teeth_after.jpg',
|
|
||||||
tagline: 'Brighten tooth enamel with natural luminosity and gum tone preservation.',
|
|
||||||
href: '/tools/teeth-whitener',
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
export function HeroSection({
|
export function HeroSection({
|
||||||
title,
|
title,
|
||||||
badge,
|
badge,
|
||||||
@@ -90,16 +40,14 @@ export function HeroSection({
|
|||||||
variants = [],
|
variants = [],
|
||||||
locale = 'en',
|
locale = 'en',
|
||||||
}: HeroSectionProps) {
|
}: HeroSectionProps) {
|
||||||
const resolvedSubtitle = resolveLocalised(subtitle, locale) || 'Studio-grade neural vision tools with zero sign-up and zero data retention. Process high-resolution portraits, precision cutouts, and 4K restorations directly in your browser.';
|
const resolvedBadge = resolveLocalised(badge, locale) || 'Next-Gen Creative Vision AI';
|
||||||
const resolvedBadge = resolveLocalised(badge, locale) || 'All-in-One Neural AI Studio';
|
const primaryCtaLabel = resolveLocalised(primaryCta?.label, locale, 'Explore the Magic');
|
||||||
|
|
||||||
const primaryCtaLabel = resolveLocalised(primaryCta?.label, locale, 'Explore Our Tools');
|
|
||||||
const primaryCtaHref = primaryCta?.href || '#our-tools';
|
const primaryCtaHref = primaryCta?.href || '#our-tools';
|
||||||
|
|
||||||
const secondaryCtaLabel = resolveLocalised(secondaryCta?.label, locale, 'Recommended Apps');
|
const secondaryCtaLabel = resolveLocalised(secondaryCta?.label, locale, 'Mobile App Studio');
|
||||||
const secondaryCtaHref = secondaryCta?.href || '#recommended-apps';
|
const secondaryCtaHref = secondaryCta?.href || '#recommended-apps';
|
||||||
|
|
||||||
// Tool detail page hero
|
// Dedicated Tool Detail Page Hero (when viewing a specific tool page like /tools/[slug])
|
||||||
if (tool) {
|
if (tool) {
|
||||||
return (
|
return (
|
||||||
<section className="relative overflow-hidden bg-white border-b border-slate-900/[0.08] pt-24 sm:pt-28 pb-12 sm:pb-16 px-4 sm:px-6 lg:px-10">
|
<section className="relative overflow-hidden bg-white border-b border-slate-900/[0.08] pt-24 sm:pt-28 pb-12 sm:pb-16 px-4 sm:px-6 lg:px-10">
|
||||||
@@ -147,38 +95,46 @@ export function HeroSection({
|
|||||||
}
|
}
|
||||||
|
|
||||||
// -------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
// High-Impact AI Ease Style Hero View
|
// Pure Front Page Hero View:
|
||||||
|
// ONLY Animated Text, 3D WebGL Prism, Particles, Radiant Colors & Effects
|
||||||
|
// Zero tool names, zero tool selection, zero feature lists
|
||||||
// -------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
return (
|
return (
|
||||||
<section className="relative isolate min-h-[96vh] flex flex-col justify-center items-center text-center overflow-hidden bg-[#FAF8F5] pt-24 pb-20 px-4 sm:px-6 md:px-8 lg:px-10">
|
<section className="relative isolate min-h-[96vh] flex flex-col justify-center items-center text-center overflow-hidden bg-[#FAF8F5] pt-24 pb-20 px-4 sm:px-6 md:px-8 lg:px-10">
|
||||||
{/* 1. Background MagicUI Particles */}
|
{/* 1. MagicUI Ambient Floating Particles */}
|
||||||
<Particles
|
<Particles
|
||||||
className="absolute inset-0 -z-20 opacity-40"
|
className="absolute inset-0 -z-20 opacity-50"
|
||||||
quantity={60}
|
quantity={70}
|
||||||
color="#3b82f6"
|
color="#3b82f6"
|
||||||
size={0.7}
|
size={0.8}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{/* 2. Interactive 3D WebGL Canvas Rotating Behind */}
|
{/* 2. Interactive 3D WebGL Crystal Prism Canvas Rotating Behind the Text */}
|
||||||
<div className="absolute inset-0 -z-10 flex items-center justify-center pointer-events-none select-none overflow-hidden">
|
<div className="absolute inset-0 -z-10 flex items-center justify-center pointer-events-none select-none overflow-hidden">
|
||||||
<div className="w-[600px] h-[600px] sm:w-[900px] sm:h-[900px] lg:w-[1200px] lg:h-[1200px] opacity-60 transform-gpu transition-opacity duration-1000">
|
<div className="w-[650px] h-[650px] sm:w-[950px] sm:h-[950px] lg:w-[1250px] lg:h-[1250px] opacity-75 transform-gpu transition-opacity duration-1000">
|
||||||
<Hero3DCanvas className="w-full h-full" />
|
<Hero3DCanvas className="w-full h-full" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* 3. Ambient Atmospheric Glows */}
|
{/* 3. Radiant Multidimensional Chromatic Glow Mesh */}
|
||||||
<div
|
<div
|
||||||
className="absolute inset-0 -z-30 pointer-events-none"
|
className="absolute inset-0 -z-30 pointer-events-none"
|
||||||
style={{
|
style={{
|
||||||
background: 'radial-gradient(circle at 50% 35%, rgba(37,99,235,0.12) 0%, rgba(14,165,233,0.06) 40%, transparent 70%)',
|
background: 'radial-gradient(circle at 50% 38%, rgba(59,130,246,0.16) 0%, rgba(99,102,241,0.12) 30%, rgba(6,182,212,0.08) 50%, transparent 75%)',
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
className="absolute inset-0 -z-30 pointer-events-none opacity-60"
|
||||||
|
style={{
|
||||||
|
background: 'radial-gradient(ellipse at 80% 20%, rgba(236,72,153,0.08) 0%, transparent 50%), radial-gradient(ellipse at 20% 70%, rgba(16,185,129,0.07) 0%, transparent 50%)',
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<div className="absolute inset-x-0 bottom-0 h-44 bg-gradient-to-t from-[#FAF8F5] to-transparent -z-10 pointer-events-none" />
|
<div className="absolute inset-x-0 bottom-0 h-44 bg-gradient-to-t from-[#FAF8F5] to-transparent -z-10 pointer-events-none" />
|
||||||
|
|
||||||
{/* 4. Hero Content Container */}
|
{/* 4. Center Hero Typography & Visual Atmosphere */}
|
||||||
<div className="relative z-10 max-w-[1640px] mx-auto flex flex-col items-center justify-center w-full">
|
<div className="relative z-10 max-w-[1640px] mx-auto flex flex-col items-center justify-center w-full">
|
||||||
{/* Subtle Elegant Pill Badge */}
|
{/* Glowing Pill Badge */}
|
||||||
<div className="inline-flex items-center gap-2 rounded-full border border-blue-500/20 bg-white/90 backdrop-blur-md px-4 py-1.5 text-xs font-mono font-medium tracking-wider uppercase text-blue-800 shadow-sm mb-6">
|
<div className="inline-flex items-center gap-2 rounded-full border border-blue-500/25 bg-white/90 backdrop-blur-md px-5 py-2 text-xs font-mono font-semibold tracking-wider uppercase text-blue-800 shadow-md mb-8">
|
||||||
<span className="flex h-2 w-2 relative">
|
<span className="flex h-2 w-2 relative">
|
||||||
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-blue-400 opacity-75"></span>
|
<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 className="relative inline-flex rounded-full h-2 w-2 bg-blue-600"></span>
|
||||||
@@ -186,243 +142,67 @@ export function HeroSection({
|
|||||||
<span>{resolvedBadge}</span>
|
<span>{resolvedBadge}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Editorial High-Impact Headline (SF Pro & Poppins) */}
|
{/* Grand Headline with Character-Level MagicUI Animation */}
|
||||||
<h1 className="text-4xl sm:text-6xl md:text-7xl lg:text-[5.25rem] font-display font-black tracking-[-0.04em] text-slate-900 leading-[1.05] max-w-5xl mx-auto text-balance">
|
<h1 className="text-5xl sm:text-7xl md:text-8xl lg:text-[6.5rem] font-display font-black tracking-[-0.045em] text-slate-900 leading-[1.02] max-w-5xl mx-auto text-balance">
|
||||||
<span className="block text-slate-900">
|
<span className="block text-slate-900">
|
||||||
<TextAnimate animation="slideLeft" by="character">
|
<TextAnimate animation="slideLeft" by="character">
|
||||||
Transform Photos with
|
Imagine. Transform.
|
||||||
</TextAnimate>
|
</TextAnimate>
|
||||||
</span>
|
</span>
|
||||||
<span className="block mt-2 text-blue-600 font-extrabold">
|
<span className="block mt-2 sm:mt-3 text-blue-600 font-extrabold pb-2">
|
||||||
<TextAnimate animation="slideLeft" by="character" delay={0.2}>
|
<TextAnimate animation="slideLeft" by="character" delay={0.2}>
|
||||||
Next-Gen Neural AI
|
Create the Impossible.
|
||||||
</TextAnimate>
|
</TextAnimate>
|
||||||
</span>
|
</span>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
{/* Balanced, Readable Subtitle */}
|
{/* Inspiring, Universal Subtitle (No features, no tool lists) */}
|
||||||
<p className="mt-6 text-base sm:text-lg lg:text-xl text-slate-600 max-w-3xl mx-auto font-sans leading-relaxed text-pretty">
|
<p className="mt-8 text-lg sm:text-xl lg:text-2xl text-slate-600 max-w-3xl mx-auto font-sans leading-relaxed text-pretty">
|
||||||
<TextAnimate animation="fadeIn" by="word" delay={0.25}>
|
<TextAnimate animation="fadeIn" by="word" delay={0.25}>
|
||||||
{resolvedSubtitle}
|
Turn ordinary moments into extraordinary visual art. Instant, effortless, and private photo magic right in your browser.
|
||||||
</TextAnimate>
|
</TextAnimate>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{/* Quick Feature Chips (aiease.ai style) */}
|
{/* Elegant Action Buttons */}
|
||||||
<div className="mt-7 flex flex-wrap items-center justify-center gap-2 text-xs font-mono font-semibold">
|
<div className="mt-10 flex flex-wrap items-center justify-center gap-4">
|
||||||
<Link href="/tools/background-remover" className="px-3.5 py-1.5 rounded-full bg-white/80 hover:bg-white text-slate-700 hover:text-blue-600 border border-slate-200/80 shadow-sm transition-all hover:scale-105">
|
|
||||||
🎯 Background Remover
|
|
||||||
</Link>
|
|
||||||
<Link href="/tools/photo-enhancer" className="px-3.5 py-1.5 rounded-full bg-white/80 hover:bg-white text-slate-700 hover:text-blue-600 border border-slate-200/80 shadow-sm transition-all hover:scale-105">
|
|
||||||
⚡ 4K Enhancer
|
|
||||||
</Link>
|
|
||||||
<Link href="/tools/blemish-remover" className="px-3.5 py-1.5 rounded-full bg-white/80 hover:bg-white text-slate-700 hover:text-blue-600 border border-slate-200/80 shadow-sm transition-all hover:scale-105">
|
|
||||||
✨ Blemish Cleaner
|
|
||||||
</Link>
|
|
||||||
<Link href="/tools/old-photo-restorer" className="px-3.5 py-1.5 rounded-full bg-white/80 hover:bg-white text-slate-700 hover:text-blue-600 border border-slate-200/80 shadow-sm transition-all hover:scale-105">
|
|
||||||
🎨 Vintage Restorer
|
|
||||||
</Link>
|
|
||||||
<Link href="/tools/cartoon-avatar" className="px-3.5 py-1.5 rounded-full bg-white/80 hover:bg-white text-slate-700 hover:text-blue-600 border border-slate-200/80 shadow-sm transition-all hover:scale-105">
|
|
||||||
🎭 Anime Avatar
|
|
||||||
</Link>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Action Buttons */}
|
|
||||||
<div className="mt-8 flex flex-wrap items-center justify-center gap-4">
|
|
||||||
<a
|
<a
|
||||||
href={primaryCtaHref}
|
href={primaryCtaHref}
|
||||||
className="group inline-flex items-center gap-3 rounded-full bg-gradient-to-r from-slate-950 via-slate-900 to-indigo-950 px-8 py-4 text-xs sm:text-sm font-bold text-white border border-white/15 shadow-xl shadow-slate-900/20 transition-all duration-300 hover:scale-[1.03] hover:from-blue-600 hover:to-indigo-600 active:scale-95"
|
className="group inline-flex items-center gap-3 rounded-full bg-gradient-to-r from-slate-950 via-slate-900 to-indigo-950 px-9 py-4 text-xs sm:text-sm font-bold text-white border border-white/15 shadow-xl shadow-slate-900/20 transition-all duration-300 hover:scale-105 hover:from-blue-600 hover:to-indigo-600 active:scale-95"
|
||||||
>
|
>
|
||||||
<span>{primaryCtaLabel}</span>
|
<span>{primaryCtaLabel}</span>
|
||||||
<ArrowDown className="w-4 h-4 transition-transform group-hover:translate-y-0.5" />
|
<ArrowDown className="w-4 h-4 transition-transform group-hover:translate-y-0.5" />
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
href={secondaryCtaHref}
|
href={secondaryCtaHref}
|
||||||
className="inline-flex items-center gap-2.5 rounded-full border border-slate-300/80 bg-white/90 backdrop-blur-md px-7 py-4 text-xs sm:text-sm font-semibold text-slate-800 shadow-sm transition-all duration-300 hover:scale-[1.03] hover:border-blue-400 hover:text-blue-600 hover:bg-white active:scale-95"
|
className="inline-flex items-center gap-2.5 rounded-full border border-slate-300/80 bg-white/90 backdrop-blur-md px-8 py-4 text-xs sm:text-sm font-semibold text-slate-800 shadow-sm transition-all duration-300 hover:scale-105 hover:border-blue-400 hover:text-blue-600 hover:bg-white active:scale-95"
|
||||||
>
|
>
|
||||||
<Smartphone className="w-4 h-4 text-blue-600" />
|
<Smartphone className="w-4 h-4 text-blue-600" />
|
||||||
<span>{secondaryCtaLabel}</span>
|
<span>{secondaryCtaLabel}</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* ----------------------------------------------------------- */}
|
{/* Floating 3D Prismatic Light Halo */}
|
||||||
{/* HERO INTERACTIVE SHOWCASE CARD (AI Ease Style with 3D BorderBeam) */}
|
<div className="mt-14 relative w-full max-w-4xl h-24 flex items-center justify-center pointer-events-none">
|
||||||
{/* ----------------------------------------------------------- */}
|
<div className="w-3/4 h-8 bg-gradient-to-r from-transparent via-blue-500/20 to-transparent blur-2xl" />
|
||||||
<HeroShowcaseCard />
|
<div className="w-1/2 h-1 bg-gradient-to-r from-transparent via-cyan-400 to-transparent shadow-[0_0_20px_rgba(6,182,212,0.8)]" />
|
||||||
|
|
||||||
{/* Trust Badges Strip */}
|
|
||||||
<div className="mt-12 flex flex-wrap items-center justify-center gap-3 sm:gap-4 text-xs font-medium text-slate-600 font-sans">
|
|
||||||
<span className="inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-full bg-white/80 border border-slate-200/70 shadow-sm">
|
|
||||||
<ShieldCheck className="h-4 w-4 text-emerald-600" />
|
|
||||||
<span>Zero-Storage Guarantee</span>
|
|
||||||
</span>
|
|
||||||
<span className="inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-full bg-white/80 border border-slate-200/70 shadow-sm">
|
|
||||||
<Check className="h-4 w-4 text-blue-600" />
|
|
||||||
<span>Lossless 4K Export</span>
|
|
||||||
</span>
|
|
||||||
<span className="inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-full bg-white/80 border border-slate-200/70 shadow-sm">
|
|
||||||
<Zap className="h-4 w-4 text-amber-500" />
|
|
||||||
<span>< 0.8s Inference</span>
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{/* Gentle Scroll Cue */}
|
||||||
|
<a
|
||||||
|
href="#our-tools"
|
||||||
|
aria-label="Scroll to our tools"
|
||||||
|
className="mt-6 inline-flex flex-col items-center gap-2 text-[11px] font-mono uppercase tracking-widest text-slate-500 hover:text-blue-600 transition-colors"
|
||||||
|
>
|
||||||
|
<span>Scroll to Explore</span>
|
||||||
|
<span className="w-4 h-7 rounded-full border border-slate-300 flex justify-center p-1">
|
||||||
|
<span className="w-1 h-1.5 rounded-full bg-blue-600 animate-bounce" />
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
|
||||||
// Hero Showcase Card (Interactive Tabs + Live Slider + BorderBeam)
|
|
||||||
// ---------------------------------------------------------------------
|
|
||||||
function HeroShowcaseCard() {
|
|
||||||
const [activeTabIdx, setActiveTabIdx] = useState(0);
|
|
||||||
const [sliderPos, setSliderPos] = useState(50);
|
|
||||||
const [isHovered, setIsHovered] = useState(false);
|
|
||||||
const animRef = useRef<number | null>(null);
|
|
||||||
|
|
||||||
const activeTab = HERO_SHOWCASE_TABS[activeTabIdx];
|
|
||||||
|
|
||||||
// Smooth automatic oscillating sweep when not manually hovering
|
|
||||||
useEffect(() => {
|
|
||||||
let startTime = Date.now();
|
|
||||||
const animate = () => {
|
|
||||||
if (!isHovered) {
|
|
||||||
const elapsed = (Date.now() - startTime) / 1000;
|
|
||||||
const pos = 50 + Math.sin(elapsed * 1.8) * 22;
|
|
||||||
setSliderPos(pos);
|
|
||||||
}
|
|
||||||
animRef.current = requestAnimationFrame(animate);
|
|
||||||
};
|
|
||||||
animRef.current = requestAnimationFrame(animate);
|
|
||||||
|
|
||||||
return () => {
|
|
||||||
if (animRef.current) cancelAnimationFrame(animRef.current);
|
|
||||||
};
|
|
||||||
}, [isHovered]);
|
|
||||||
|
|
||||||
const handleMouseMove = (e: React.MouseEvent<HTMLDivElement>) => {
|
|
||||||
setIsHovered(true);
|
|
||||||
const rect = e.currentTarget.getBoundingClientRect();
|
|
||||||
const x = Math.max(0, Math.min(e.clientX - rect.left, rect.width));
|
|
||||||
const percent = Math.max(10, Math.min(90, (x / rect.width) * 100));
|
|
||||||
setSliderPos(percent);
|
|
||||||
};
|
|
||||||
|
|
||||||
const handleMouseLeave = () => {
|
|
||||||
setIsHovered(false);
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div className="mt-12 w-full max-w-5xl mx-auto text-left">
|
|
||||||
{/* Interactive Tabs Header */}
|
|
||||||
<div className="flex items-center justify-center flex-wrap gap-2 mb-4">
|
|
||||||
{HERO_SHOWCASE_TABS.map((tab, idx) => {
|
|
||||||
const isActive = idx === activeTabIdx;
|
|
||||||
const Icon = tab.icon;
|
|
||||||
return (
|
|
||||||
<button
|
|
||||||
key={tab.id}
|
|
||||||
onClick={() => setActiveTabIdx(idx)}
|
|
||||||
className={`flex items-center gap-2 px-4 py-2 rounded-full text-xs font-bold transition-all duration-300 ${
|
|
||||||
isActive
|
|
||||||
? 'bg-slate-900 text-white shadow-md shadow-slate-900/15 scale-105'
|
|
||||||
: 'bg-white/80 hover:bg-white text-slate-700 hover:text-blue-600 border border-slate-200/80 shadow-sm'
|
|
||||||
}`}
|
|
||||||
>
|
|
||||||
<Icon className={`w-3.5 h-3.5 ${isActive ? 'text-cyan-400' : 'text-blue-600'}`} />
|
|
||||||
<span>{tab.label}</span>
|
|
||||||
</button>
|
|
||||||
);
|
|
||||||
})}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Main Interactive Showcase Card with BorderBeam & 3D Perspective */}
|
|
||||||
<div className="relative rounded-3xl bg-slate-950 border border-slate-800 shadow-2xl overflow-hidden p-2 sm:p-3 transform-gpu transition-all duration-500 hover:shadow-blue-500/10">
|
|
||||||
{/* MagicUI BorderBeam Glow running around perimeter */}
|
|
||||||
<BorderBeam size={300} duration={10} colorFrom="#06b6d4" colorTo="#3b82f6" />
|
|
||||||
|
|
||||||
{/* Comparison Viewport */}
|
|
||||||
<div
|
|
||||||
onMouseMove={handleMouseMove}
|
|
||||||
onMouseLeave={handleMouseLeave}
|
|
||||||
className="relative w-full h-[320px] sm:h-[440px] lg:h-[480px] rounded-2xl overflow-hidden cursor-ew-resize select-none bg-slate-950"
|
|
||||||
>
|
|
||||||
{/* Before Image (Locked centered scale) */}
|
|
||||||
<img
|
|
||||||
src={activeTab.beforeUrl}
|
|
||||||
alt="Before"
|
|
||||||
className="absolute inset-0 w-full h-full object-cover pointer-events-none"
|
|
||||||
loading="eager"
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* After Image (Clipped via clip-path) */}
|
|
||||||
<img
|
|
||||||
src={activeTab.afterUrl}
|
|
||||||
alt="After"
|
|
||||||
className="absolute inset-0 w-full h-full object-cover pointer-events-none"
|
|
||||||
style={{
|
|
||||||
clipPath: `inset(0 ${100 - sliderPos}% 0 0)`,
|
|
||||||
}}
|
|
||||||
loading="eager"
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* Glowing Slider Line */}
|
|
||||||
<div
|
|
||||||
className="absolute top-0 bottom-0 w-0.5 bg-white shadow-[0_0_14px_rgba(255,255,255,1)] pointer-events-none z-20"
|
|
||||||
style={{ left: `${sliderPos}%` }}
|
|
||||||
>
|
|
||||||
<div className="absolute top-1/2 -translate-y-1/2 -translate-x-1/2 w-8 h-8 rounded-full bg-white shadow-xl border border-slate-200 flex items-center justify-center text-xs font-bold text-slate-900 pointer-events-none">
|
|
||||||
↔
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* 4 Floating Corner Telemetry Badges */}
|
|
||||||
<div className="absolute top-4 left-4 z-30 pointer-events-none">
|
|
||||||
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-[10px] font-mono font-bold tracking-wider uppercase bg-black/70 backdrop-blur-md text-cyan-400 border border-cyan-500/30 shadow-md">
|
|
||||||
<Sparkles className="w-3 h-3 text-cyan-400" />
|
|
||||||
{activeTab.badge}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="absolute top-4 right-4 z-30 pointer-events-none">
|
|
||||||
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-[10px] font-mono font-bold tracking-wider uppercase bg-black/70 backdrop-blur-md text-emerald-400 border border-emerald-500/30 shadow-md">
|
|
||||||
<Zap className="w-3 h-3 text-emerald-400" />
|
|
||||||
< 0.8s Inference
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="absolute bottom-4 left-4 z-30 pointer-events-none">
|
|
||||||
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-[10px] font-mono font-bold tracking-wider uppercase bg-black/70 backdrop-blur-md text-white border border-white/20 shadow-md">
|
|
||||||
<ShieldCheck className="w-3 h-3 text-emerald-400" />
|
|
||||||
Zero Cloud Retention
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="absolute bottom-4 right-4 z-30 pointer-events-none">
|
|
||||||
<span className="px-3 py-1 rounded-full text-[10px] font-mono font-bold tracking-wider uppercase bg-black/70 backdrop-blur-md text-white/90 border border-white/20 shadow-md">
|
|
||||||
AFTER | BEFORE
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Bottom Quick Action Bar */}
|
|
||||||
<div className="p-4 sm:p-5 flex flex-col sm:flex-row items-center justify-between gap-4 text-xs">
|
|
||||||
<p className="text-slate-300 font-sans">
|
|
||||||
<strong className="text-white font-semibold">{activeTab.label}:</strong> {activeTab.tagline}
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<Link
|
|
||||||
href={activeTab.href}
|
|
||||||
className="flex-shrink-0 inline-flex items-center gap-2 px-5 py-2.5 rounded-full font-bold text-slate-900 bg-white hover:bg-cyan-400 transition-colors shadow-sm"
|
|
||||||
>
|
|
||||||
<UploadCloud className="w-4 h-4" />
|
|
||||||
<span>Try with Your Photo Free</span>
|
|
||||||
<ArrowRight className="w-3.5 h-3.5" />
|
|
||||||
</Link>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
// Interactive 3D WebGL Crystal Prism Background Canvas
|
// Interactive 3D WebGL Crystal Prism Background Canvas
|
||||||
// -------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
@@ -478,7 +258,7 @@ function Hero3DCanvas({ className }: { className?: string }) {
|
|||||||
crystal.add(wireframe);
|
crystal.add(wireframe);
|
||||||
|
|
||||||
// Subtle Particle Constellation
|
// Subtle Particle Constellation
|
||||||
const particleCount = 40;
|
const particleCount = 45;
|
||||||
const particleGeo = new THREE.BufferGeometry();
|
const particleGeo = new THREE.BufferGeometry();
|
||||||
const posArray = new Float32Array(particleCount * 3);
|
const posArray = new Float32Array(particleCount * 3);
|
||||||
for (let i = 0; i < particleCount * 3; i++) {
|
for (let i = 0; i < particleCount * 3; i++) {
|
||||||
|
|||||||
@@ -2,101 +2,97 @@
|
|||||||
|
|
||||||
import React, { useState, useEffect } from 'react';
|
import React, { useState, useEffect } from 'react';
|
||||||
import {
|
import {
|
||||||
UploadCloud,
|
|
||||||
Cpu,
|
|
||||||
Download,
|
|
||||||
Sparkles,
|
Sparkles,
|
||||||
CheckCircle2,
|
Wand2,
|
||||||
ShieldCheck,
|
Download,
|
||||||
Zap,
|
Heart,
|
||||||
Layers,
|
Smile,
|
||||||
Scan,
|
Image as ImageIcon,
|
||||||
FileCheck2,
|
|
||||||
ArrowRight,
|
ArrowRight,
|
||||||
Sliders,
|
PartyPopper,
|
||||||
Smartphone
|
Camera,
|
||||||
|
Star,
|
||||||
|
CheckCircle2
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
import { TextAnimate } from '@/components/magicui/text-animate';
|
import { TextAnimate } from '@/components/magicui/text-animate';
|
||||||
|
|
||||||
interface HowItWorks3DSectionProps {
|
interface HowItWorksSectionProps {
|
||||||
title?: string;
|
title?: string;
|
||||||
badge?: string;
|
badge?: string;
|
||||||
subtitle?: string;
|
subtitle?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function HowItWorks3DSection({
|
export function HowItWorks3DSection({
|
||||||
title = 'How CRE Innovations Processes Images',
|
title = 'Making Photo Magic is Super Simple',
|
||||||
badge = 'THREE-STAGE NEURAL PIPELINE',
|
badge = 'SUPER EASY AS 1-2-3',
|
||||||
subtitle = 'From raw browser ingestion to lossless 4K neural reconstruction in under 800 milliseconds.',
|
subtitle = 'No complicated buttons or confusing settings. Just three friendly steps from your photo to pure magic!',
|
||||||
}: HowItWorks3DSectionProps) {
|
}: HowItWorksSectionProps) {
|
||||||
return (
|
return (
|
||||||
<section id="how-it-works" className="py-20 sm:py-28 px-4 sm:px-6 md:px-8 lg:px-10 bg-[#FAF8F5] relative overflow-hidden border-t border-slate-900/[0.06]">
|
<section id="how-it-works" className="py-20 sm:py-28 px-4 sm:px-6 md:px-8 lg:px-10 bg-[#FAF8F5] relative overflow-hidden border-t border-slate-900/[0.06]">
|
||||||
{/* Background Ambience */}
|
{/* Playful Ambient Background Glows */}
|
||||||
<div
|
<div
|
||||||
className="absolute inset-0 pointer-events-none -z-10"
|
className="absolute inset-0 pointer-events-none -z-10"
|
||||||
style={{
|
style={{
|
||||||
background: 'radial-gradient(circle at 50% 20%, rgba(37,99,235,0.04) 0%, transparent 60%)',
|
background: 'radial-gradient(circle at 50% 30%, rgba(254,240,138,0.15) 0%, rgba(199,210,254,0.12) 40%, transparent 70%)',
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div className="max-w-[1640px] mx-auto space-y-14">
|
<div className="max-w-[1640px] mx-auto space-y-14">
|
||||||
{/* Section Header */}
|
{/* Playful & Warm Section Header */}
|
||||||
<div className="text-center max-w-3xl mx-auto space-y-4">
|
<div className="text-center max-w-3xl mx-auto space-y-4">
|
||||||
<div className="inline-flex items-center gap-2 px-3.5 py-1 rounded-full text-xs font-mono font-semibold tracking-wider uppercase text-blue-700 bg-blue-50 border border-blue-200">
|
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full text-xs font-display font-bold tracking-wider uppercase text-amber-900 bg-amber-100/80 border border-amber-300 shadow-sm">
|
||||||
<Sparkles className="w-3.5 h-3.5 text-blue-600" />
|
<Sparkles className="w-4 h-4 text-amber-600 animate-spin" style={{ animationDuration: '6s' }} />
|
||||||
<span>{badge}</span>
|
<span>{badge}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2 className="text-3xl sm:text-5xl font-display font-extrabold text-slate-900 tracking-tight text-balance">
|
<h2 className="text-3xl sm:text-5xl font-display font-black text-slate-900 tracking-tight text-balance">
|
||||||
<TextAnimate animation="slideLeft" by="character">
|
<TextAnimate animation="slideLeft" by="character">
|
||||||
{title}
|
{title}
|
||||||
</TextAnimate>
|
</TextAnimate>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<p className="text-sm sm:text-base text-slate-600 font-sans text-pretty">
|
<p className="text-base sm:text-lg text-slate-600 font-sans text-pretty">
|
||||||
<TextAnimate animation="fadeIn" by="word" delay={0.2}>
|
<TextAnimate animation="fadeIn" by="word" delay={0.2}>
|
||||||
{subtitle}
|
{subtitle}
|
||||||
</TextAnimate>
|
</TextAnimate>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* 3 Horizontal Processing Cards */}
|
{/* 3 Childhood & Friendly Horizontal Story Cards */}
|
||||||
<div className="grid grid-cols-1 lg:grid-cols-3 gap-6 sm:gap-8 items-stretch">
|
<div className="grid grid-cols-1 lg:grid-cols-3 gap-6 sm:gap-8 items-stretch">
|
||||||
{/* Card 1: Ingestion & Privacy Lock */}
|
{/* Step 1: Upload Your Picture */}
|
||||||
<IngestionCard />
|
<StepUploadCard />
|
||||||
|
|
||||||
{/* Card 2: Neural Processing Core */}
|
{/* Step 2: The Magic Happens */}
|
||||||
<NeuralCoreCard />
|
<StepMagicCard />
|
||||||
|
|
||||||
{/* Card 3: 4K Reconstruction & Delivery */}
|
{/* Step 3: Tada! Download & Enjoy */}
|
||||||
<ReconstructionCard />
|
<StepTadaCard />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Global Pipeline Telemetry Bar */}
|
{/* Cheerful Bottom Reassurance Banner */}
|
||||||
<div className="rounded-2xl bg-white border border-slate-200/80 p-5 sm:p-6 shadow-sm flex flex-col md:flex-row items-center justify-between gap-4 text-xs font-mono">
|
<div className="rounded-3xl bg-gradient-to-r from-amber-50 via-white to-blue-50 border border-amber-200/80 p-6 shadow-sm flex flex-col md:flex-row items-center justify-between gap-4 text-center md:text-left">
|
||||||
<div className="flex flex-wrap items-center gap-3 sm:gap-6 text-slate-700">
|
<div className="flex items-center gap-3">
|
||||||
<span className="flex items-center gap-2">
|
<div className="w-10 h-10 rounded-2xl bg-amber-400 text-amber-950 flex items-center justify-center font-bold text-lg shadow-sm">
|
||||||
<span className="w-2 h-2 rounded-full bg-emerald-500 animate-pulse" />
|
🎈
|
||||||
<strong className="text-slate-900 font-semibold">End-to-End Pipeline:</strong> Fully Synchronous In-Memory
|
</div>
|
||||||
</span>
|
<div>
|
||||||
<span className="hidden sm:inline text-slate-300">|</span>
|
<h4 className="font-display font-bold text-slate-900 text-sm">
|
||||||
<span className="flex items-center gap-1.5 text-slate-600">
|
100% Free Trial • No Credit Card • No Sign-Up Needed
|
||||||
<Zap className="w-3.5 h-3.5 text-amber-500" /> Average Latency: < 780ms
|
</h4>
|
||||||
</span>
|
<p className="text-xs text-slate-600 mt-0.5 font-sans">
|
||||||
<span className="hidden sm:inline text-slate-300">|</span>
|
Anyone can do it in seconds. Your photos stay completely private and are never saved.
|
||||||
<span className="flex items-center gap-1.5 text-slate-600">
|
</p>
|
||||||
<ShieldCheck className="w-3.5 h-3.5 text-emerald-600" /> Retention: 0 Seconds (Volatile Cache Only)
|
</div>
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex items-center gap-2">
|
<a
|
||||||
<span className="px-3 py-1 rounded-full bg-blue-50 text-blue-700 font-bold border border-blue-200">
|
href="#our-tools"
|
||||||
TensorRT 10.2 Accel
|
className="inline-flex items-center gap-2 px-6 py-3 rounded-full text-xs font-bold text-slate-900 bg-amber-400 hover:bg-amber-300 shadow-md transition-all hover:scale-105 active:scale-95"
|
||||||
</span>
|
>
|
||||||
<span className="px-3 py-1 rounded-full bg-slate-100 text-slate-700 font-bold border border-slate-200">
|
<span>Try It Yourself Now</span>
|
||||||
WebGPU Ready
|
<ArrowRight className="w-4 h-4" />
|
||||||
</span>
|
</a>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@@ -104,346 +100,231 @@ export function HowItWorks3DSection({
|
|||||||
}
|
}
|
||||||
|
|
||||||
// -------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
// Card 1: Intelligent Browser Ingestion & Privacy Lock
|
// Card 1: Upload Your Picture (Super Warm & Visual)
|
||||||
// -------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
function IngestionCard() {
|
function StepUploadCard() {
|
||||||
const [scanY, setScanY] = useState(20);
|
const [bounce, setBounce] = useState(false);
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
const interval = setInterval(() => {
|
|
||||||
setScanY((prev) => (prev > 80 ? 15 : prev + 3));
|
|
||||||
}, 60);
|
|
||||||
return () => clearInterval(interval);
|
|
||||||
}, []);
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div className="group relative flex flex-col justify-between rounded-3xl bg-white border border-slate-200/90 p-6 sm:p-7 shadow-cream-sm hover:shadow-cream-lg transition-all duration-300 hover:-translate-y-1 hover:border-blue-400/60">
|
|
||||||
<div>
|
|
||||||
{/* Top Badges */}
|
|
||||||
<div className="flex items-center justify-between mb-4">
|
|
||||||
<span className="px-3 py-1 rounded-full bg-blue-50 border border-blue-200 text-blue-700 text-xs font-mono font-bold tracking-wider uppercase">
|
|
||||||
STAGE 01
|
|
||||||
</span>
|
|
||||||
<span className="text-[11px] font-mono text-emerald-600 bg-emerald-50 px-2.5 py-0.5 rounded-full border border-emerald-200 flex items-center gap-1 font-semibold">
|
|
||||||
<ShieldCheck className="w-3 h-3" /> Zero Storage
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Animated Visual Viewport */}
|
|
||||||
<div className="relative w-full h-[220px] rounded-2xl bg-slate-950 border border-slate-800 overflow-hidden flex items-center justify-center p-4 select-none">
|
|
||||||
{/* Subtle Cyber Grid */}
|
|
||||||
<div
|
|
||||||
className="absolute inset-0 opacity-20 pointer-events-none"
|
|
||||||
style={{
|
|
||||||
backgroundImage: 'radial-gradient(circle, rgba(59,130,246,0.3) 1px, transparent 1px)',
|
|
||||||
backgroundSize: '16px 16px',
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* Holographic Ingestion Frame */}
|
|
||||||
<div className="relative w-36 h-44 rounded-xl border border-blue-500/40 bg-slate-900/80 shadow-2xl overflow-hidden flex flex-col items-center justify-center p-3">
|
|
||||||
{/* Sample Photo Silhouette */}
|
|
||||||
<div className="w-16 h-16 rounded-full bg-gradient-to-tr from-blue-600/30 to-indigo-500/30 border border-blue-400/30 flex items-center justify-center mb-2">
|
|
||||||
<UploadCloud className="w-7 h-7 text-blue-400 animate-pulse" />
|
|
||||||
</div>
|
|
||||||
<div className="w-20 h-2 rounded bg-slate-800" />
|
|
||||||
<div className="w-14 h-1.5 rounded bg-slate-800/60 mt-1.5" />
|
|
||||||
|
|
||||||
{/* Traveling Laser Scanline */}
|
|
||||||
<div
|
|
||||||
className="absolute inset-x-0 h-0.5 bg-gradient-to-r from-transparent via-cyan-400 to-transparent shadow-[0_0_12px_rgba(6,182,212,0.9)] pointer-events-none transition-all duration-75"
|
|
||||||
style={{ top: `${scanY}%` }}
|
|
||||||
>
|
|
||||||
<div className="absolute right-2 -top-2 px-1.5 py-0.5 rounded text-[8px] font-mono font-bold bg-cyan-500/80 text-black">
|
|
||||||
SCAN
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Floating Telemetry Tags */}
|
|
||||||
<div className="absolute top-3 left-3 px-2 py-0.5 rounded bg-slate-900/90 border border-slate-800 text-[10px] font-mono text-cyan-400 flex items-center gap-1.5">
|
|
||||||
<span className="w-1.5 h-1.5 rounded-full bg-cyan-400 animate-ping" />
|
|
||||||
Direct RAM Lock
|
|
||||||
</div>
|
|
||||||
<div className="absolute bottom-3 right-3 px-2 py-0.5 rounded bg-slate-900/90 border border-slate-800 text-[10px] font-mono text-emerald-400">
|
|
||||||
Disk Write: 0 KB
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Content */}
|
|
||||||
<h3 className="mt-5 text-xl font-display font-bold text-slate-900 group-hover:text-blue-600 transition-colors">
|
|
||||||
1. Direct Ingestion & Memory Lock
|
|
||||||
</h3>
|
|
||||||
<p className="mt-2 text-xs text-slate-600 leading-relaxed font-sans">
|
|
||||||
Your image streams directly into temporary volatile GPU cache memory. Zero files are ever committed to persistent disk or cloud databases, guaranteeing total privacy.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
{/* Features Checklist */}
|
|
||||||
<ul className="mt-4 space-y-2 text-xs text-slate-600 border-t border-slate-100 pt-4">
|
|
||||||
<li className="flex items-center gap-2">
|
|
||||||
<CheckCircle2 className="w-3.5 h-3.5 text-blue-600 flex-shrink-0" />
|
|
||||||
<span>Lossless Drag & Drop intake up to 12MB</span>
|
|
||||||
</li>
|
|
||||||
<li className="flex items-center gap-2">
|
|
||||||
<CheckCircle2 className="w-3.5 h-3.5 text-blue-600 flex-shrink-0" />
|
|
||||||
<span>Encrypted ephemeral memory session</span>
|
|
||||||
</li>
|
|
||||||
<li className="flex items-center gap-2">
|
|
||||||
<CheckCircle2 className="w-3.5 h-3.5 text-blue-600 flex-shrink-0" />
|
|
||||||
<span>No account, credit card, or registration</span>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="mt-6 pt-4 border-t border-slate-100 text-[11px] font-mono text-slate-500 flex items-center justify-between">
|
|
||||||
<span>Format: RAW, PNG, JPG, WebP</span>
|
|
||||||
<span className="font-bold text-blue-600">< 50ms</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------
|
|
||||||
// Card 2: Neural AI Vision Engine & Feature Matting
|
|
||||||
// -------------------------------------------------------------
|
|
||||||
function NeuralCoreCard() {
|
|
||||||
const [pulseIdx, setPulseIdx] = useState(0);
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const timer = setInterval(() => {
|
const timer = setInterval(() => {
|
||||||
setPulseIdx((prev) => (prev + 1) % 6);
|
setBounce((prev) => !prev);
|
||||||
}, 450);
|
}, 2000);
|
||||||
return () => clearInterval(timer);
|
return () => clearInterval(timer);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="group relative flex flex-col justify-between rounded-3xl bg-white border border-slate-200/90 p-6 sm:p-7 shadow-cream-sm hover:shadow-cream-lg transition-all duration-300 hover:-translate-y-1 hover:border-blue-400/60">
|
<div className="group relative flex flex-col justify-between rounded-[36px] bg-white border border-slate-200/90 p-7 shadow-cream-sm hover:shadow-cream-lg transition-all duration-300 hover:-translate-y-1.5 hover:border-blue-400/60">
|
||||||
<div>
|
<div>
|
||||||
{/* Top Badges */}
|
{/* Step Badge */}
|
||||||
<div className="flex items-center justify-between mb-4">
|
<div className="flex items-center justify-between mb-5">
|
||||||
<span className="px-3 py-1 rounded-full bg-indigo-50 border border-indigo-200 text-indigo-700 text-xs font-mono font-bold tracking-wider uppercase">
|
<div className="inline-flex items-center gap-2 px-3.5 py-1 rounded-full bg-blue-50 border border-blue-200 text-blue-700 text-xs font-display font-bold uppercase tracking-wider">
|
||||||
STAGE 02
|
<span>STEP 01</span>
|
||||||
</span>
|
</div>
|
||||||
<span className="text-[11px] font-mono text-indigo-600 bg-indigo-50 px-2.5 py-0.5 rounded-full border border-indigo-200 flex items-center gap-1 font-semibold">
|
<span className="text-xl">📸</span>
|
||||||
<Cpu className="w-3 h-3" /> Neural Vision
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Animated Visual Viewport (Interactive Neural Matrix) */}
|
{/* Visual Animation: Friendly Photo Drop-In */}
|
||||||
<div className="relative w-full h-[220px] rounded-2xl bg-slate-950 border border-slate-800 overflow-hidden flex items-center justify-center p-4 select-none">
|
<div className="relative w-full h-[230px] rounded-3xl bg-gradient-to-b from-blue-50/70 to-indigo-50/40 border border-blue-100 overflow-hidden flex flex-col items-center justify-center p-4 select-none">
|
||||||
{/* Neural Synapse Nodes Diagram */}
|
{/* Animated floating dashed dropzone */}
|
||||||
<div className="relative w-full h-full flex items-center justify-around px-2">
|
<div className="w-full h-full border-2 border-dashed border-blue-300/80 rounded-2xl flex flex-col items-center justify-center p-4 relative">
|
||||||
{/* Layer 1: Input Features */}
|
{/* Playful Floating Photo Frame */}
|
||||||
<div className="flex flex-col gap-3">
|
|
||||||
{[0, 1, 2].map((node) => (
|
|
||||||
<div
|
<div
|
||||||
key={node}
|
className={`w-36 h-28 rounded-2xl bg-white shadow-xl border-2 border-white overflow-hidden p-1.5 transition-transform duration-700 ${
|
||||||
className={`w-6 h-6 rounded-full border flex items-center justify-center transition-all duration-300 ${
|
bounce ? 'translate-y-0 rotate-1 scale-105' : '-translate-y-2 -rotate-2 scale-100'
|
||||||
pulseIdx % 3 === node
|
|
||||||
? 'border-cyan-400 bg-cyan-500/30 shadow-[0_0_10px_rgba(6,182,212,0.8)] scale-110'
|
|
||||||
: 'border-slate-700 bg-slate-900 text-slate-500'
|
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<span className="w-1.5 h-1.5 rounded-full bg-cyan-400" />
|
<img
|
||||||
</div>
|
src="/management/pages/home/media/landscape_blemish_before.jpg"
|
||||||
))}
|
alt="Your Photo"
|
||||||
</div>
|
className="w-full h-full object-cover rounded-xl"
|
||||||
|
|
||||||
{/* Connecting Synaptic Pulse Lines */}
|
|
||||||
<div className="flex-1 flex flex-col justify-around h-3/4 mx-2">
|
|
||||||
<div className="w-full h-px bg-gradient-to-r from-cyan-500/40 via-blue-500 to-indigo-500/40 relative">
|
|
||||||
<div
|
|
||||||
className="absolute top-1/2 -translate-y-1/2 w-2 h-2 rounded-full bg-white shadow-[0_0_8px_#fff] transition-all duration-500"
|
|
||||||
style={{ left: `${(pulseIdx * 20) % 100}%` }}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="w-full h-px bg-gradient-to-r from-cyan-500/40 via-indigo-500 to-purple-500/40 relative">
|
|
||||||
<div
|
{/* Little Cheerful Badges */}
|
||||||
className="absolute top-1/2 -translate-y-1/2 w-2 h-2 rounded-full bg-cyan-300 shadow-[0_0_8px_#06b6d4] transition-all duration-500"
|
<div className="absolute top-2 left-2 px-2.5 py-1 rounded-full bg-white shadow-sm border border-blue-100 text-[10px] font-bold text-blue-700 flex items-center gap-1">
|
||||||
style={{ left: `${((pulseIdx + 2) * 20) % 100}%` }}
|
<span>Drop Any Photo</span>
|
||||||
/>
|
<span>👇</span>
|
||||||
|
</div>
|
||||||
|
<div className="absolute bottom-2 right-2 px-2.5 py-1 rounded-full bg-blue-600 text-white shadow-sm text-[10px] font-bold flex items-center gap-1">
|
||||||
|
<span>Phone or Laptop</span>
|
||||||
|
<Heart className="w-3 h-3 fill-rose-300 text-rose-300" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Layer 2: Deep Convolutional Core */}
|
{/* Text */}
|
||||||
<div className="relative w-24 h-24 rounded-2xl border border-indigo-500/40 bg-indigo-950/40 backdrop-blur flex flex-col items-center justify-center p-2 shadow-2xl">
|
<h3 className="mt-6 text-2xl font-display font-black text-slate-900 group-hover:text-blue-600 transition-colors">
|
||||||
<Scan className="w-8 h-8 text-indigo-400 animate-spin" style={{ animationDuration: '8s' }} />
|
1. Pick Any Picture
|
||||||
<span className="mt-1 text-[8px] font-mono font-bold text-indigo-300">P3M MATTING</span>
|
|
||||||
<span className="text-[7px] font-mono text-cyan-400">SUB-PORE</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Connecting Synaptic Pulse Lines */}
|
|
||||||
<div className="flex-1 flex flex-col justify-around h-3/4 mx-2">
|
|
||||||
<div className="w-full h-px bg-gradient-to-r from-indigo-500/40 via-purple-500 to-pink-500/40 relative">
|
|
||||||
<div
|
|
||||||
className="absolute top-1/2 -translate-y-1/2 w-2 h-2 rounded-full bg-indigo-300 shadow-[0_0_8px_#818cf8] transition-all duration-500"
|
|
||||||
style={{ left: `${((pulseIdx + 1) * 20) % 100}%` }}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Layer 3: Output Latents */}
|
|
||||||
<div className="flex flex-col gap-3">
|
|
||||||
{[0, 1, 2].map((node) => (
|
|
||||||
<div
|
|
||||||
key={node}
|
|
||||||
className={`w-6 h-6 rounded-full border flex items-center justify-center transition-all duration-300 ${
|
|
||||||
(pulseIdx + 1) % 3 === node
|
|
||||||
? 'border-purple-400 bg-purple-500/30 shadow-[0_0_10px_rgba(168,85,247,0.8)] scale-110'
|
|
||||||
: 'border-slate-700 bg-slate-900 text-slate-500'
|
|
||||||
}`}
|
|
||||||
>
|
|
||||||
<span className="w-1.5 h-1.5 rounded-full bg-purple-400" />
|
|
||||||
</div>
|
|
||||||
))}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Floating Metric Badges */}
|
|
||||||
<div className="absolute top-3 left-3 px-2 py-0.5 rounded bg-slate-900/90 border border-slate-800 text-[10px] font-mono text-indigo-400">
|
|
||||||
50+ Neural Layers
|
|
||||||
</div>
|
|
||||||
<div className="absolute bottom-3 right-3 px-2 py-0.5 rounded bg-slate-900/90 border border-slate-800 text-[10px] font-mono text-cyan-400">
|
|
||||||
FP16 Precision
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Content */}
|
|
||||||
<h3 className="mt-5 text-xl font-display font-bold text-slate-900 group-hover:text-blue-600 transition-colors">
|
|
||||||
2. Multi-Stage Neural Processing
|
|
||||||
</h3>
|
</h3>
|
||||||
<p className="mt-2 text-xs text-slate-600 leading-relaxed font-sans">
|
<p className="mt-2 text-sm text-slate-600 leading-relaxed font-sans">
|
||||||
Deep convolutional architectures isolate flyaway hair boundaries, smooth dermal imperfections without plastic blur, and restore authentic facial micro-textures.
|
Grab any photo from your phone or computer. Selfies, family memories, portraits, or old albums—anything works like a charm!
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{/* Features Checklist */}
|
{/* Simple bullet points */}
|
||||||
<ul className="mt-4 space-y-2 text-xs text-slate-600 border-t border-slate-100 pt-4">
|
<ul className="mt-5 space-y-2 text-xs font-medium text-slate-600 border-t border-slate-100 pt-4">
|
||||||
<li className="flex items-center gap-2">
|
<li className="flex items-center gap-2">
|
||||||
<CheckCircle2 className="w-3.5 h-3.5 text-blue-600 flex-shrink-0" />
|
<CheckCircle2 className="w-4 h-4 text-emerald-500 shrink-0" />
|
||||||
<span>Sub-pixel hair-strand P3M alpha matting</span>
|
<span>Just tap or drag and drop</span>
|
||||||
</li>
|
</li>
|
||||||
<li className="flex items-center gap-2">
|
<li className="flex items-center gap-2">
|
||||||
<CheckCircle2 className="w-3.5 h-3.5 text-blue-600 flex-shrink-0" />
|
<CheckCircle2 className="w-4 h-4 text-emerald-500 shrink-0" />
|
||||||
<span>Pore-preserving epidermal blemish removal</span>
|
<span>No account or sign-up needed</span>
|
||||||
</li>
|
|
||||||
<li className="flex items-center gap-2">
|
|
||||||
<CheckCircle2 className="w-3.5 h-3.5 text-blue-600 flex-shrink-0" />
|
|
||||||
<span>Generative facial prior reconstruction</span>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="mt-6 pt-4 border-t border-slate-100 text-[11px] font-mono text-slate-500 flex items-center justify-between">
|
<div className="mt-6 pt-4 border-t border-slate-100 text-xs font-display font-bold text-blue-600 flex items-center justify-between">
|
||||||
<span>Inference Engine: PyTorch / ONNX</span>
|
<span>Ready in 1 second</span>
|
||||||
<span className="font-bold text-indigo-600">< 640ms</span>
|
<span>⚡ Quick & Easy</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// -------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
// Card 3: 4K Reconstruction, Instant Download & Mobile Handoff
|
// Card 2: The Magic Happens (Playful & Magical)
|
||||||
// -------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
function ReconstructionCard() {
|
function StepMagicCard() {
|
||||||
const [sliderX, setSliderX] = useState(50);
|
const [sparkleRot, setSparkleRot] = useState(0);
|
||||||
|
|
||||||
// Gentle automatic sweep of before/after
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
let forward = true;
|
|
||||||
const interval = setInterval(() => {
|
const interval = setInterval(() => {
|
||||||
setSliderX((prev) => {
|
setSparkleRot((prev) => (prev + 30) % 360);
|
||||||
if (prev >= 75) forward = false;
|
}, 250);
|
||||||
if (prev <= 25) forward = true;
|
|
||||||
return forward ? prev + 1 : prev - 1;
|
|
||||||
});
|
|
||||||
}, 45);
|
|
||||||
return () => clearInterval(interval);
|
return () => clearInterval(interval);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="group relative flex flex-col justify-between rounded-3xl bg-white border border-slate-200/90 p-6 sm:p-7 shadow-cream-sm hover:shadow-cream-lg transition-all duration-300 hover:-translate-y-1 hover:border-blue-400/60">
|
<div className="group relative flex flex-col justify-between rounded-[36px] bg-white border border-slate-200/90 p-7 shadow-cream-sm hover:shadow-cream-lg transition-all duration-300 hover:-translate-y-1.5 hover:border-amber-400/60">
|
||||||
<div>
|
<div>
|
||||||
{/* Top Badges */}
|
{/* Step Badge */}
|
||||||
<div className="flex items-center justify-between mb-4">
|
<div className="flex items-center justify-between mb-5">
|
||||||
<span className="px-3 py-1 rounded-full bg-emerald-50 border border-emerald-200 text-emerald-700 text-xs font-mono font-bold tracking-wider uppercase">
|
<div className="inline-flex items-center gap-2 px-3.5 py-1 rounded-full bg-amber-50 border border-amber-200 text-amber-800 text-xs font-display font-bold uppercase tracking-wider">
|
||||||
STAGE 03
|
<span>STEP 02</span>
|
||||||
</span>
|
</div>
|
||||||
<span className="text-[11px] font-mono text-blue-600 bg-blue-50 px-2.5 py-0.5 rounded-full border border-blue-200 flex items-center gap-1 font-semibold">
|
<span className="text-xl">🪄</span>
|
||||||
<Sparkles className="w-3 h-3" /> Studio 4K
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Animated Visual Viewport (Interactive Before/After Sweeper) */}
|
{/* Visual Animation: Swirling Magical Portal */}
|
||||||
<div className="relative w-full h-[220px] rounded-2xl bg-slate-950 border border-slate-800 overflow-hidden select-none">
|
<div className="relative w-full h-[230px] rounded-3xl bg-gradient-to-b from-amber-50/80 via-purple-50/50 to-pink-50/60 border border-amber-200/80 overflow-hidden flex flex-col items-center justify-center p-4 select-none">
|
||||||
{/* Base Image (Underneath) */}
|
{/* Glowing Aura Ring */}
|
||||||
<img
|
<div className="absolute w-36 h-36 rounded-full bg-gradient-to-tr from-amber-300/40 via-purple-300/40 to-pink-300/40 blur-xl animate-pulse" />
|
||||||
src="/management/pages/home/media/reel_restore_before.jpg"
|
|
||||||
alt="Before"
|
|
||||||
className="absolute inset-0 w-full h-full object-cover filter blur-[1px] brightness-90"
|
|
||||||
loading="lazy"
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* Enhanced Top Image (Clipped) */}
|
{/* Central Wand and Sparkling Swirl */}
|
||||||
|
<div className="relative z-10 flex flex-col items-center justify-center">
|
||||||
|
<div className="w-20 h-20 rounded-3xl bg-white shadow-xl border border-amber-200 flex items-center justify-center transform group-hover:scale-110 transition-transform duration-300">
|
||||||
|
<Wand2 className="w-10 h-10 text-amber-500 animate-bounce" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Orbiting Stars & Sparkles */}
|
||||||
<div
|
<div
|
||||||
className="absolute inset-0 overflow-hidden"
|
className="absolute inset-[-20px] pointer-events-none transition-transform duration-300"
|
||||||
style={{ width: `${sliderX}%` }}
|
style={{ transform: `rotate(${sparkleRot}deg)` }}
|
||||||
>
|
>
|
||||||
<img
|
<span className="absolute top-0 left-1/2 -translate-x-1/2 text-amber-400 text-base">✨</span>
|
||||||
src="/management/pages/home/media/reel_restore_after.jpg"
|
<span className="absolute bottom-0 left-1/2 -translate-x-1/2 text-purple-400 text-sm">⭐</span>
|
||||||
alt="After 4K"
|
<span className="absolute left-0 top-1/2 -translate-y-1/2 text-pink-400 text-sm">💫</span>
|
||||||
className="absolute inset-0 w-full h-full object-cover max-w-none filter contrast-105"
|
<span className="absolute right-0 top-1/2 -translate-y-1/2 text-cyan-400 text-sm">✨</span>
|
||||||
style={{ width: '100%', height: '100%' }}
|
|
||||||
loading="lazy"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Sweeping Laser Divider Line */}
|
<div className="mt-3 px-3.5 py-1 rounded-full bg-white/95 shadow-md border border-amber-200 text-xs font-display font-bold text-amber-900 flex items-center gap-1.5">
|
||||||
<div
|
<span>Mixing Magic Pixels...</span>
|
||||||
className="absolute top-0 bottom-0 w-0.5 bg-white shadow-[0_0_12px_rgba(255,255,255,1)] pointer-events-none"
|
<span>🪄</span>
|
||||||
style={{ left: `${sliderX}%` }}
|
</div>
|
||||||
>
|
|
||||||
<div className="absolute top-1/2 -translate-y-1/2 -translate-x-1/2 w-6 h-6 rounded-full bg-white shadow-lg flex items-center justify-center text-[10px] font-bold text-slate-900 border border-slate-300">
|
|
||||||
↔
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Overlay Badges */}
|
{/* Text */}
|
||||||
<div className="absolute top-3 left-3 px-2 py-0.5 rounded bg-black/70 backdrop-blur text-[10px] font-mono font-bold text-emerald-400 border border-emerald-500/30 flex items-center gap-1">
|
<h3 className="mt-6 text-2xl font-display font-black text-slate-900 group-hover:text-amber-600 transition-colors">
|
||||||
<Sparkles className="w-3 h-3 text-emerald-400" /> Lossless 4K
|
2. Some Magic Happens!
|
||||||
</div>
|
|
||||||
<div className="absolute bottom-3 right-3 px-2 py-0.5 rounded bg-black/70 backdrop-blur text-[10px] font-mono font-bold text-white/90">
|
|
||||||
AFTER | BEFORE
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Content */}
|
|
||||||
<h3 className="mt-5 text-xl font-display font-bold text-slate-900 group-hover:text-blue-600 transition-colors">
|
|
||||||
3. Lossless 4K Export & Mobile Handoff
|
|
||||||
</h3>
|
</h3>
|
||||||
<p className="mt-2 text-xs text-slate-600 leading-relaxed font-sans">
|
<p className="mt-2 text-sm text-slate-600 leading-relaxed font-sans">
|
||||||
The finished image is rendered instantly at maximum native fidelity. Save directly to your camera roll or scan the QR code to open inside the native mobile apps.
|
Our friendly AI waves its magic wand—dusting away marks, cleaning backgrounds, brightening smiles, and restoring crisp details instantly!
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{/* Features Checklist */}
|
{/* Simple bullet points */}
|
||||||
<ul className="mt-4 space-y-2 text-xs text-slate-600 border-t border-slate-100 pt-4">
|
<ul className="mt-5 space-y-2 text-xs font-medium text-slate-600 border-t border-slate-100 pt-4">
|
||||||
<li className="flex items-center gap-2">
|
<li className="flex items-center gap-2">
|
||||||
<CheckCircle2 className="w-3.5 h-3.5 text-blue-600 flex-shrink-0" />
|
<CheckCircle2 className="w-4 h-4 text-amber-500 shrink-0" />
|
||||||
<span>Full 4K resolution with zero compression loss</span>
|
<span>Cleans blemishes & background gently</span>
|
||||||
</li>
|
</li>
|
||||||
<li className="flex items-center gap-2">
|
<li className="flex items-center gap-2">
|
||||||
<CheckCircle2 className="w-3.5 h-3.5 text-blue-600 flex-shrink-0" />
|
<CheckCircle2 className="w-4 h-4 text-amber-500 shrink-0" />
|
||||||
<span>No watermarks, no trial paywalls</span>
|
<span>Keeps your real smile & face natural</span>
|
||||||
</li>
|
|
||||||
<li className="flex items-center gap-2">
|
|
||||||
<CheckCircle2 className="w-3.5 h-3.5 text-blue-600 flex-shrink-0" />
|
|
||||||
<span>Instant QR code handoff to iOS & Android</span>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="mt-6 pt-4 border-t border-slate-100 text-[11px] font-mono text-slate-500 flex items-center justify-between">
|
<div className="mt-6 pt-4 border-t border-slate-100 text-xs font-display font-bold text-amber-700 flex items-center justify-between">
|
||||||
<span>Delivery: Instant Download & Mobile Sync</span>
|
<span>Takes under a second</span>
|
||||||
<span className="font-bold text-emerald-600">< 80ms</span>
|
<span>✨ Pure Wonder</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------
|
||||||
|
// Card 3: Tada! Your Picture is Ready (Celebration & Joy)
|
||||||
|
// -------------------------------------------------------------
|
||||||
|
function StepTadaCard() {
|
||||||
|
return (
|
||||||
|
<div className="group relative flex flex-col justify-between rounded-[36px] bg-white border border-slate-200/90 p-7 shadow-cream-sm hover:shadow-cream-lg transition-all duration-300 hover:-translate-y-1.5 hover:border-emerald-400/60">
|
||||||
|
<div>
|
||||||
|
{/* Step Badge */}
|
||||||
|
<div className="flex items-center justify-between mb-5">
|
||||||
|
<div className="inline-flex items-center gap-2 px-3.5 py-1 rounded-full bg-emerald-50 border border-emerald-200 text-emerald-800 text-xs font-display font-bold uppercase tracking-wider">
|
||||||
|
<span>STEP 03</span>
|
||||||
|
</div>
|
||||||
|
<span className="text-xl">🎉</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Visual Animation: Sparking Gorgeous Final Output */}
|
||||||
|
<div className="relative w-full h-[230px] rounded-3xl bg-gradient-to-b from-emerald-50/80 via-teal-50/50 to-cyan-50/60 border border-emerald-200/80 overflow-hidden flex flex-col items-center justify-center p-3 select-none">
|
||||||
|
{/* Finished Masterpiece Preview */}
|
||||||
|
<div className="relative w-full h-full rounded-2xl overflow-hidden shadow-xl border-2 border-white">
|
||||||
|
<img
|
||||||
|
src="/management/pages/home/media/landscape_blemish_after.jpg"
|
||||||
|
alt="Finished Photo"
|
||||||
|
className="w-full h-full object-cover transform group-hover:scale-105 transition-transform duration-500"
|
||||||
|
/>
|
||||||
|
|
||||||
|
{/* Tada Ribbon / Celebration Badge */}
|
||||||
|
<div className="absolute top-2 left-2 px-3 py-1 rounded-full bg-emerald-500 text-white shadow-lg text-xs font-display font-bold flex items-center gap-1.5">
|
||||||
|
<PartyPopper className="w-3.5 h-3.5" />
|
||||||
|
<span>Tada! Masterpiece</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="absolute bottom-2 right-2 px-3 py-1 rounded-full bg-white/95 text-slate-900 shadow-md border border-slate-200 text-[10px] font-display font-bold flex items-center gap-1">
|
||||||
|
<Download className="w-3 h-3 text-emerald-600" />
|
||||||
|
<span>Crystal 4K Ready</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Text */}
|
||||||
|
<h3 className="mt-6 text-2xl font-display font-black text-slate-900 group-hover:text-emerald-600 transition-colors">
|
||||||
|
3. Tada! Ready to Love
|
||||||
|
</h3>
|
||||||
|
<p className="mt-2 text-sm text-slate-600 leading-relaxed font-sans">
|
||||||
|
One tap to download your gorgeous new picture in ultra-clear quality! No annoying watermarks, no limits, ready to share with family and friends.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{/* Simple bullet points */}
|
||||||
|
<ul className="mt-5 space-y-2 text-xs font-medium text-slate-600 border-t border-slate-100 pt-4">
|
||||||
|
<li className="flex items-center gap-2">
|
||||||
|
<CheckCircle2 className="w-4 h-4 text-emerald-500 shrink-0" />
|
||||||
|
<span>Crisp high-definition download</span>
|
||||||
|
</li>
|
||||||
|
<li className="flex items-center gap-2">
|
||||||
|
<CheckCircle2 className="w-4 h-4 text-emerald-500 shrink-0" />
|
||||||
|
<span>Zero watermarks or hidden charges</span>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="mt-6 pt-4 border-t border-slate-100 text-xs font-display font-bold text-emerald-700 flex items-center justify-between">
|
||||||
|
<span>Instant Download</span>
|
||||||
|
<span>🎉 All Yours</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
import React from 'react';
|
import React, { useState } from 'react';
|
||||||
|
import Link from 'next/link';
|
||||||
import {
|
import {
|
||||||
Sparkles,
|
Sparkles,
|
||||||
Scissors,
|
Scissors,
|
||||||
@@ -9,120 +10,166 @@ import {
|
|||||||
Video,
|
Video,
|
||||||
SunMedium,
|
SunMedium,
|
||||||
Layers,
|
Layers,
|
||||||
|
ArrowRight,
|
||||||
|
Maximize2,
|
||||||
|
Minimize2,
|
||||||
|
GripHorizontal,
|
||||||
|
LayoutGrid,
|
||||||
|
Square,
|
||||||
|
RectangleHorizontal,
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
import { BentoGrid, BentoCard } from '@/components/magicui/bento-grid';
|
|
||||||
import { TextAnimate } from '@/components/magicui/text-animate';
|
import { TextAnimate } from '@/components/magicui/text-animate';
|
||||||
|
|
||||||
|
export type TileTemplate = 'squarical' | 'squared' | 'rectangular';
|
||||||
|
|
||||||
interface TrendyBentoSectionProps {
|
interface TrendyBentoSectionProps {
|
||||||
title?: string;
|
title?: string;
|
||||||
badge?: string;
|
badge?: string;
|
||||||
subtitle?: string;
|
subtitle?: string;
|
||||||
|
template?: TileTemplate;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function TrendyBentoSection({
|
interface TileItem {
|
||||||
title = 'Trendy Neural Effects',
|
id: string;
|
||||||
badge = 'FEATURED CAPABILITIES',
|
name: string;
|
||||||
subtitle = 'Cutting-edge AI transformations engineered for creators, ecommerce, and studio professionals.',
|
description: string;
|
||||||
}: TrendyBentoSectionProps) {
|
href: string;
|
||||||
const bentoCards = [
|
cta: string;
|
||||||
|
badge: string;
|
||||||
|
icon: React.ElementType;
|
||||||
|
imageUrl: string;
|
||||||
|
isWide?: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
const INITIAL_TILES: TileItem[] = [
|
||||||
{
|
{
|
||||||
Icon: Scissors,
|
id: 'tile-matting',
|
||||||
name: 'Hair-Strand P3M Matting',
|
name: 'Hair-Strand Matting',
|
||||||
description: 'Microscopic flyaway hair boundary separation with sub-pixel alpha matting.',
|
description: 'Flyaway hair boundary separation with sub-pixel alpha matting.',
|
||||||
href: '/tools/background-remover',
|
href: '/tools/background-remover',
|
||||||
cta: 'Try Alpha Matting',
|
cta: 'Try Matting',
|
||||||
badge: 'TRENDING CUTOUT',
|
badge: 'TRENDING CUTOUT',
|
||||||
className: 'md:col-span-2',
|
icon: Scissors,
|
||||||
background: (
|
imageUrl: '/management/pages/home/media/landscape_bg_matting.jpg',
|
||||||
<img
|
isWide: false,
|
||||||
src="/management/pages/home/media/reel_hair_alpha.jpg"
|
|
||||||
alt="Hair Cutout"
|
|
||||||
className="absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"
|
|
||||||
/>
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Icon: Wand2,
|
id: 'tile-restore',
|
||||||
name: '4K Generative Face Restoration',
|
name: '4K Face Restore',
|
||||||
description: 'Neural restoration that preserves real skin pores, eyelashes, and authentic iris glints.',
|
description: 'Generative restoration preserving real skin pores and eyelashes.',
|
||||||
href: '/tools/old-photo-restorer',
|
href: '/tools/old-photo-restorer',
|
||||||
cta: 'Restore Photos',
|
cta: 'Restore Photo',
|
||||||
badge: '4K RESTORATION',
|
badge: '4K RESTORE',
|
||||||
className: 'md:col-span-1',
|
icon: Wand2,
|
||||||
background: (
|
imageUrl: '/management/pages/home/media/landscape_restore_after.jpg',
|
||||||
<img
|
isWide: false,
|
||||||
src="/management/pages/home/media/reel_restore_after.jpg"
|
|
||||||
alt="Restoration"
|
|
||||||
className="absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"
|
|
||||||
/>
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Icon: Sparkles,
|
id: 'tile-anime',
|
||||||
name: 'Cartoon & AnimeGAN Synthesis',
|
name: 'AnimeGAN Synthesis',
|
||||||
description: 'Transform portraits into high-definition anime illustrations and stylized manga art.',
|
description: 'Transform portraits into high-definition anime illustrations.',
|
||||||
href: '/tools/cartoon-avatar',
|
href: '/tools/cartoon-avatar',
|
||||||
cta: 'Create Avatar',
|
cta: 'Create Avatar',
|
||||||
badge: 'VIRAL ANIME',
|
badge: 'VIRAL ANIME',
|
||||||
className: 'md:col-span-1',
|
icon: Sparkles,
|
||||||
background: (
|
imageUrl: '/management/pages/home/media/landscape_cartoon_after.jpg',
|
||||||
<img
|
isWide: false,
|
||||||
src="/management/pages/home/media/showcase_05_cartoon_after.jpg"
|
|
||||||
alt="Cartoon Avatar"
|
|
||||||
className="absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"
|
|
||||||
/>
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Icon: Video,
|
id: 'tile-video',
|
||||||
name: 'Temporal Video Retouching',
|
name: 'Video Retouching',
|
||||||
description: 'Continuous temporal epidermal smoothing across 4K dynamic video clips with zero flicker.',
|
description: 'Temporal epidermal smoothing across 4K dynamic video clips.',
|
||||||
href: '/tools/blemish-remover',
|
href: '/tools/blemish-remover',
|
||||||
cta: 'Watch Reel',
|
cta: 'Watch Reel',
|
||||||
badge: '4K 60FPS REEL',
|
badge: '4K 60FPS',
|
||||||
className: 'md:col-span-2',
|
icon: Video,
|
||||||
background: (
|
imageUrl: '/management/pages/home/media/landscape_blemish_after.jpg',
|
||||||
<img
|
isWide: false,
|
||||||
src="/management/pages/home/media/reel_video_poster.jpg"
|
|
||||||
alt="Video Retouch"
|
|
||||||
className="absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"
|
|
||||||
/>
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Icon: Palette,
|
id: 'tile-color',
|
||||||
name: 'Historical Deep Colorizer',
|
name: 'Deep Colorizer',
|
||||||
description: 'Reconstruct vintage monochrome family archives with historically grounded pigment priors.',
|
description: 'Reconstruct vintage monochrome family archives with rich pigments.',
|
||||||
href: '/tools/colorization',
|
href: '/tools/colorization',
|
||||||
cta: 'Colorize Archive',
|
cta: 'Colorize Archive',
|
||||||
badge: 'ARCHIVAL AI',
|
badge: 'ARCHIVAL AI',
|
||||||
className: 'md:col-span-1',
|
icon: Palette,
|
||||||
background: (
|
imageUrl: '/management/pages/home/media/landscape_color_after.jpg',
|
||||||
<img
|
isWide: false,
|
||||||
src="/management/pages/home/media/showcase_04_restore_after.jpg"
|
|
||||||
alt="Colorizer"
|
|
||||||
className="absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"
|
|
||||||
/>
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Icon: SunMedium,
|
id: 'tile-relight',
|
||||||
name: 'Studio Relight & Sub-Pore Retouch',
|
name: 'Studio Relight',
|
||||||
description: 'Virtual three-point studio softbox illumination and non-destructive blemish removal.',
|
description: 'Virtual three-point studio softbox illumination and retouch.',
|
||||||
href: '/tools/blemish-remover',
|
href: '/tools/blemish-remover',
|
||||||
cta: 'Relight Portrait',
|
cta: 'Relight Portrait',
|
||||||
badge: 'STUDIO GRADE',
|
badge: 'STUDIO GRADE',
|
||||||
className: 'md:col-span-2',
|
icon: SunMedium,
|
||||||
background: (
|
imageUrl: '/management/pages/home/media/landscape_portrait_studio.jpg',
|
||||||
<img
|
isWide: false,
|
||||||
src="/management/pages/home/media/sample_portrait_1.jpg"
|
|
||||||
alt="Studio Relight"
|
|
||||||
className="absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"
|
|
||||||
/>
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
export function TrendyBentoSection({
|
||||||
|
title = 'Trendy Neural Effects',
|
||||||
|
badge = 'CUSTOM SQUARICAL TILES',
|
||||||
|
subtitle = 'Explore modular AI effects. Resize, customize, and rearrange tiles just like an Android Quick Settings panel.',
|
||||||
|
template: defaultTemplate = 'squarical',
|
||||||
|
}: TrendyBentoSectionProps) {
|
||||||
|
const [template, setTemplate] = useState<TileTemplate>(defaultTemplate);
|
||||||
|
const [tiles, setTiles] = useState<TileItem[]>(INITIAL_TILES);
|
||||||
|
const [draggedIdx, setDraggedIdx] = useState<number | null>(null);
|
||||||
|
|
||||||
|
// Toggle individual tile width (1x1 to 2x1 just like Android Quick Settings)
|
||||||
|
const toggleTileSize = (id: string, e: React.MouseEvent) => {
|
||||||
|
e.preventDefault();
|
||||||
|
e.stopPropagation();
|
||||||
|
setTiles((prev) =>
|
||||||
|
prev.map((tile) =>
|
||||||
|
tile.id === id ? { ...tile, isWide: !tile.isWide } : tile
|
||||||
|
)
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
// Drag-and-drop tile reordering
|
||||||
|
const handleDragStart = (idx: number) => {
|
||||||
|
setDraggedIdx(idx);
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleDragOver = (e: React.DragEvent, targetIdx: number) => {
|
||||||
|
e.preventDefault();
|
||||||
|
if (draggedIdx === null || draggedIdx === targetIdx) return;
|
||||||
|
setTiles((prev) => {
|
||||||
|
const updated = [...prev];
|
||||||
|
const [draggedItem] = updated.splice(draggedIdx, 1);
|
||||||
|
updated.splice(targetIdx, 0, draggedItem);
|
||||||
|
return updated;
|
||||||
|
});
|
||||||
|
setDraggedIdx(targetIdx);
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleDragEnd = () => {
|
||||||
|
setDraggedIdx(null);
|
||||||
|
};
|
||||||
|
|
||||||
|
// Determine styling based on selected template
|
||||||
|
const getTemplateClasses = (isWide?: boolean) => {
|
||||||
|
if (template === 'squarical') {
|
||||||
|
// Default Squarical / Squircle geometry
|
||||||
|
return isWide
|
||||||
|
? 'col-span-1 md:col-span-2 aspect-[16/9] sm:aspect-[2/1] rounded-[36px] sm:rounded-[42px]'
|
||||||
|
: 'col-span-1 aspect-square rounded-[36px] sm:rounded-[42px]';
|
||||||
|
}
|
||||||
|
if (template === 'squared') {
|
||||||
|
// Classic square
|
||||||
|
return isWide
|
||||||
|
? 'col-span-1 md:col-span-2 aspect-[2/1] rounded-2xl'
|
||||||
|
: 'col-span-1 aspect-square rounded-2xl';
|
||||||
|
}
|
||||||
|
// Rectangular template
|
||||||
|
return 'col-span-1 md:col-span-2 aspect-[16/8] rounded-3xl';
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section id="trendy-effects" className="py-20 sm:py-28 px-4 sm:px-6 md:px-8 lg:px-10 bg-[#FAF8F5] relative overflow-hidden border-t border-slate-900/[0.06]">
|
<section id="trendy-effects" className="py-20 sm:py-28 px-4 sm:px-6 md:px-8 lg:px-10 bg-[#FAF8F5] relative overflow-hidden border-t border-slate-900/[0.06]">
|
||||||
<div className="max-w-[1640px] mx-auto space-y-12">
|
<div className="max-w-[1640px] mx-auto space-y-12">
|
||||||
@@ -133,7 +180,7 @@ export function TrendyBentoSection({
|
|||||||
<span>{badge}</span>
|
<span>{badge}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2 className="text-3xl sm:text-5xl font-display font-extrabold text-slate-900 tracking-tight">
|
<h2 className="text-3xl sm:text-5xl font-display font-extrabold text-slate-900 tracking-tight text-balance">
|
||||||
<TextAnimate animation="slideLeft" by="character">
|
<TextAnimate animation="slideLeft" by="character">
|
||||||
{title}
|
{title}
|
||||||
</TextAnimate>
|
</TextAnimate>
|
||||||
@@ -144,14 +191,126 @@ export function TrendyBentoSection({
|
|||||||
{subtitle}
|
{subtitle}
|
||||||
</TextAnimate>
|
</TextAnimate>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
{/* Android Quick Settings Template Switcher Pills */}
|
||||||
|
<div className="pt-2 flex items-center justify-center flex-wrap gap-2 text-xs font-display font-bold">
|
||||||
|
<button
|
||||||
|
onClick={() => setTemplate('squarical')}
|
||||||
|
className={`flex items-center gap-1.5 px-4 py-2 rounded-full transition-all duration-200 ${
|
||||||
|
template === 'squarical'
|
||||||
|
? 'bg-slate-900 text-white shadow-md shadow-slate-900/15 scale-105'
|
||||||
|
: 'bg-white text-slate-700 hover:bg-slate-100 border border-slate-200'
|
||||||
|
}`}
|
||||||
|
>
|
||||||
|
<LayoutGrid className="w-3.5 h-3.5 text-blue-500" />
|
||||||
|
<span>Squarical (Default)</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
onClick={() => setTemplate('squared')}
|
||||||
|
className={`flex items-center gap-1.5 px-4 py-2 rounded-full transition-all duration-200 ${
|
||||||
|
template === 'squared'
|
||||||
|
? 'bg-slate-900 text-white shadow-md shadow-slate-900/15 scale-105'
|
||||||
|
: 'bg-white text-slate-700 hover:bg-slate-100 border border-slate-200'
|
||||||
|
}`}
|
||||||
|
>
|
||||||
|
<Square className="w-3.5 h-3.5 text-indigo-500" />
|
||||||
|
<span>Squared</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
onClick={() => setTemplate('rectangular')}
|
||||||
|
className={`flex items-center gap-1.5 px-4 py-2 rounded-full transition-all duration-200 ${
|
||||||
|
template === 'rectangular'
|
||||||
|
? 'bg-slate-900 text-white shadow-md shadow-slate-900/15 scale-105'
|
||||||
|
: 'bg-white text-slate-700 hover:bg-slate-100 border border-slate-200'
|
||||||
|
}`}
|
||||||
|
>
|
||||||
|
<RectangleHorizontal className="w-3.5 h-3.5 text-cyan-500" />
|
||||||
|
<span>Rectangular</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Bento Grid Layout */}
|
{/* Squarical Tile Grid (Android Quick Settings Style) */}
|
||||||
<BentoGrid className="lg:grid-rows-2">
|
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6">
|
||||||
{bentoCards.map((card, idx) => (
|
{tiles.map((tile, idx) => {
|
||||||
<BentoCard key={idx} {...card} />
|
const Icon = tile.icon;
|
||||||
))}
|
const templateClass = getTemplateClasses(tile.isWide);
|
||||||
</BentoGrid>
|
|
||||||
|
return (
|
||||||
|
<div
|
||||||
|
key={tile.id}
|
||||||
|
draggable
|
||||||
|
onDragStart={() => handleDragStart(idx)}
|
||||||
|
onDragOver={(e) => handleDragOver(e, idx)}
|
||||||
|
onDragEnd={handleDragEnd}
|
||||||
|
className={`group relative flex flex-col justify-between overflow-hidden bg-slate-950 border border-slate-900/[0.08] shadow-cream-sm hover:shadow-cream-lg transition-all duration-500 hover:-translate-y-1.5 cursor-grab active:cursor-grabbing select-none ${templateClass}`}
|
||||||
|
>
|
||||||
|
{/* Background Image (Covering the squarical tile) */}
|
||||||
|
<img
|
||||||
|
src={tile.imageUrl}
|
||||||
|
alt={tile.name}
|
||||||
|
className="absolute inset-0 w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"
|
||||||
|
loading="lazy"
|
||||||
|
/>
|
||||||
|
|
||||||
|
{/* Dark Vignette Overlay for Readability */}
|
||||||
|
<div className="absolute inset-0 bg-gradient-to-t from-slate-950/90 via-slate-950/30 to-slate-950/20 group-hover:via-slate-950/15 transition-all duration-300 pointer-events-none" />
|
||||||
|
|
||||||
|
{/* Top Tile Bar: Drag Handle, Badge, and Resize Button */}
|
||||||
|
<div className="relative z-20 flex items-center justify-between p-5">
|
||||||
|
<div className="flex items-center gap-2">
|
||||||
|
{/* Drag Handle Indicator */}
|
||||||
|
<div className="w-8 h-8 rounded-full bg-black/50 backdrop-blur-md text-white/70 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity">
|
||||||
|
<GripHorizontal className="w-4 h-4" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<span className="px-3 py-1 rounded-full text-[10px] font-mono font-bold tracking-wider uppercase bg-black/60 backdrop-blur-md text-cyan-400 border border-cyan-500/30 shadow-sm">
|
||||||
|
{tile.badge}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Android Quick Settings Size Toggle Button (1x1 to 2x1) */}
|
||||||
|
<button
|
||||||
|
onClick={(e) => toggleTileSize(tile.id, e)}
|
||||||
|
title={tile.isWide ? 'Shrink to 1x1' : 'Expand to 2x1'}
|
||||||
|
className="w-9 h-9 rounded-2xl bg-white/90 hover:bg-white text-slate-800 shadow-md flex items-center justify-center transition-all duration-200 hover:scale-110 active:scale-95"
|
||||||
|
>
|
||||||
|
{tile.isWide ? (
|
||||||
|
<Minimize2 className="w-4 h-4 text-blue-600" />
|
||||||
|
) : (
|
||||||
|
<Maximize2 className="w-4 h-4 text-blue-600" />
|
||||||
|
)}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Bottom Tile Info & Link */}
|
||||||
|
<div className="relative z-20 p-6 flex flex-col gap-2">
|
||||||
|
<div className="w-10 h-10 rounded-2xl bg-white/90 backdrop-blur-md text-blue-600 flex items-center justify-center shadow-md mb-1">
|
||||||
|
<Icon className="w-5 h-5" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h3 className="text-xl font-display font-bold text-white tracking-tight group-hover:text-cyan-300 transition-colors">
|
||||||
|
{tile.name}
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<p className="text-xs text-slate-200 line-clamp-2 leading-relaxed font-sans">
|
||||||
|
{tile.description}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<Link
|
||||||
|
href={tile.href}
|
||||||
|
className="mt-2 inline-flex items-center gap-1.5 text-xs font-display font-bold text-cyan-300 group-hover:text-white transition-colors"
|
||||||
|
>
|
||||||
|
<span>{tile.cta}</span>
|
||||||
|
<ArrowRight className="w-3.5 h-3.5 transition-transform group-hover:translate-x-1" />
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
})}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user