From 7cc2e3dd25ffa19b7482bc286c7cc8c3e465985b Mon Sep 17 00:00:00 2001 From: vshnosngh Date: Tue, 3 Nov 2026 13:02:29 +0530 Subject: [PATCH] feat(ui): overhaul reel, use-cases, pipeline, and app handoff sections --- src/components/sections/AppHandoffSection.tsx | 57 +++++++++-------- src/components/sections/StatsSection.tsx | 12 ++-- src/components/sections/ToolGridSection.tsx | 64 +++++++++---------- .../sections/TransformationReelSection.tsx | 43 +++++++------ .../sections/VisualUseCasesSection.tsx | 48 +++++++------- .../sections/WorkflowVisualizerSection.tsx | 49 +++++++------- 6 files changed, 141 insertions(+), 132 deletions(-) diff --git a/src/components/sections/AppHandoffSection.tsx b/src/components/sections/AppHandoffSection.tsx index 688af3b..da07077 100644 --- a/src/components/sections/AppHandoffSection.tsx +++ b/src/components/sections/AppHandoffSection.tsx @@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react'; import QRCode from 'qrcode'; -import { Smartphone, QrCode, Copy, Check, Gift, ExternalLink } from 'lucide-react'; +import { Smartphone, QrCode, Copy, Check, Gift, ExternalLink, Zap } from 'lucide-react'; import { AppItem, ToolItem, resolveLocalised } from '@/types'; interface AppHandoffSectionProps { @@ -36,7 +36,7 @@ export function AppHandoffSection({ width: 200, margin: 1, color: { - dark: '#0f172a', + dark: '#030508', light: '#ffffff', }, }) @@ -52,48 +52,51 @@ export function AppHandoffSection({ }; return ( -
-
-
+
+ {/* Ambient background glow */} +
+ +
+
{/* Left Column: Copy & Store CTA */} -
-
- - Native iOS & Android Application +
+
+ + NATIVE IOS & ANDROID APPS
-

+

{tool ? `Continue in ${resolveLocalised(app.name, locale)} with 4K Lossless Export` : `Download ${resolveLocalised(app.name, locale)}`}

-

+

Experience zero-latency hardware-accelerated neural processing, batch photoshoot enhancement, and professional fine-tuning sliders on your phone.

{/* Welcome Bonus Promo Banner */} {showBonus && ( -
-
-
+
+
+
-

+

{app.welcomeBonus?.title || '50 Free HD Export Credits'}

-

- Claim promo code upon first mobile install +

+ Claim promo code on first mobile launch

@@ -105,7 +108,7 @@ export function AppHandoffSection({ href={app.stores.android?.url || '#'} target="_blank" rel="noreferrer" - className="px-5 py-3 rounded-2xl text-xs font-bold text-white bg-slate-900 hover:bg-slate-800 dark:bg-white dark:text-slate-900 dark:hover:bg-slate-100 shadow-md transition-all flex items-center space-x-2" + className="px-5 py-3 rounded-full text-xs font-bold text-black bg-white hover:bg-slate-200 shadow-md transition-all flex items-center gap-2 hover:scale-105 active:scale-95" > Google Play @@ -114,7 +117,7 @@ export function AppHandoffSection({ href={app.stores.ios?.url || '#'} target="_blank" rel="noreferrer" - className="px-5 py-3 rounded-2xl text-xs font-bold text-white bg-slate-900 hover:bg-slate-800 dark:bg-white dark:text-slate-900 dark:hover:bg-slate-100 shadow-md transition-all flex items-center space-x-2" + className="px-5 py-3 rounded-full text-xs font-bold text-white bg-white/[0.08] border border-white/[0.15] hover:bg-white/[0.15] shadow-md transition-all flex items-center gap-2 hover:scale-105 active:scale-95" > Apple App Store @@ -122,23 +125,23 @@ export function AppHandoffSection({
{/* Disclaimer */} -

+

{resolveLocalised(app.creditsNote, locale, 'Credits and in-app purchases are specific to this app.')}

{/* Right Column: QR Code Handoff */} {showQr && qrDataUrl && ( -
-
+
+
{/* eslint-disable-next-line @next/next/no-img-element */} Scan QR code to install app
-
- +
+ Scan with phone camera
-

Instant redirect to store listing

+

Instant redirect to store listing

)}
diff --git a/src/components/sections/StatsSection.tsx b/src/components/sections/StatsSection.tsx index 63ae8d4..b9a674c 100644 --- a/src/components/sections/StatsSection.tsx +++ b/src/components/sections/StatsSection.tsx @@ -11,15 +11,15 @@ export function StatsSection({ items = [] }: StatsSectionProps) { if (!items || items.length === 0) return null; return ( -
-
-
+
+
+
{items.map((stat, idx) => ( -
-

+

+

{stat.value}

-

+

{stat.label}

diff --git a/src/components/sections/ToolGridSection.tsx b/src/components/sections/ToolGridSection.tsx index 26b7cf3..c4b15e7 100644 --- a/src/components/sections/ToolGridSection.tsx +++ b/src/components/sections/ToolGridSection.tsx @@ -2,7 +2,7 @@ import React, { useState, useMemo } from 'react'; import Link from 'next/link'; -import { Search, Sparkles, ArrowRight, Wand2, Scissors, Smile, Palette, RefreshCcw, Eye } from 'lucide-react'; +import { Search, ArrowRight, Wand2, Scissors, Smile, Palette, RefreshCcw } from 'lucide-react'; import { ToolItem, CategoryItem, AppItem, resolveLocalised } from '@/types'; interface ToolGridSectionProps { @@ -56,31 +56,31 @@ export function ToolGridSection({ const getCategoryIcon = (catId: string) => { switch (catId) { case 'portrait-retouch': - return ; + return ; case 'restoration': - return ; + return ; case 'background-cutout': - return ; + return ; case 'creative-art': - return ; + return ; default: - return ; + return ; } }; return ( -
+
{/* Section Heading */} {(title || subtitle) && ( -
+
{title && ( -

+

{resolveLocalised(title, locale)}

)} {subtitle && ( -

+

{resolveLocalised(subtitle, locale)}

)} @@ -96,8 +96,8 @@ export function ToolGridSection({ onClick={() => setSelectedCategory('all')} className={`px-4 py-2 rounded-xl text-xs font-bold transition-all duration-200 ${ selectedCategory === 'all' - ? 'bg-blue-600 text-white shadow-md shadow-blue-500/25 scale-105' - : 'bg-slate-100 dark:bg-slate-800 text-slate-600 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-700' + ? 'bg-cyan-500 text-black shadow-lg shadow-cyan-500/25 scale-105' + : 'bg-white/[0.04] text-slate-300 border border-white/[0.08] hover:bg-white/[0.08]' }`} > All Tools @@ -106,10 +106,10 @@ export function ToolGridSection({
)} @@ -143,12 +143,12 @@ export function ToolGridSection({ return (
{/* Visual Before/After Preview Card */} {example ? ( -
+
{/* eslint-disable-next-line @next/next/no-img-element */} @@ -158,7 +158,7 @@ export function ToolGridSection({ loading="lazy" className="h-full w-full object-cover" /> - + Before
@@ -168,10 +168,10 @@ export function ToolGridSection({ src={example.after} alt="After preview" loading="lazy" - className="h-full w-full object-cover group-hover:scale-105 transition-transform duration-300" + className="h-full w-full object-cover group-hover:scale-105 transition-transform duration-500" /> - - After + + CRE AI
@@ -180,28 +180,28 @@ export function ToolGridSection({ {/* Category Tag & Icon */}
- + {tool.category} -
+
{getCategoryIcon(tool.category)}
-

+

{resolveLocalised(tool.name, locale)}

-

+

{resolveLocalised(tool.summary, locale)}

-
+
{homeApp && ( -
- Home App: - +
+ Home App: + {resolveLocalised(homeApp.name, locale)}
@@ -209,7 +209,7 @@ export function ToolGridSection({ Try Free Online @@ -221,7 +221,7 @@ export function ToolGridSection({
{filteredTools.length === 0 && ( -
+

No photo tools found matching "{searchQuery}"

Try searching for "blemish", "background", "photo", or clear filters.

diff --git a/src/components/sections/TransformationReelSection.tsx b/src/components/sections/TransformationReelSection.tsx index 6b53d9a..5cd2fc0 100644 --- a/src/components/sections/TransformationReelSection.tsx +++ b/src/components/sections/TransformationReelSection.tsx @@ -2,7 +2,7 @@ import React from 'react'; import Link from 'next/link'; -import { ArrowRight, Sparkles } from 'lucide-react'; +import { ArrowRight, Sparkles, Zap } from 'lucide-react'; interface TransformationItem { toolSlug: string; @@ -66,64 +66,67 @@ const transformations: TransformationItem[] = [ export function TransformationReelSection() { return ( -
+
-
- -

+
+ + + + +

Live Transformations by CRE Neural Engine

- Explore all 8+ tools + Explore All 8+ Tools

{/* Horizontal scrolling showcase */} -
+
{transformations.map((item, idx) => ( {/* Visual side-by-side or split thumbnail */} -
+
{/* eslint-disable-next-line @next/next/no-img-element */} Before - + Before
{/* eslint-disable-next-line @next/next/no-img-element */} - After - - After + After + + CRE AI
-
+
- + {item.category} - + Try Free →
-

+

{item.toolName}

-

+

{item.tag}

diff --git a/src/components/sections/VisualUseCasesSection.tsx b/src/components/sections/VisualUseCasesSection.tsx index 59fb796..4945a34 100644 --- a/src/components/sections/VisualUseCasesSection.tsx +++ b/src/components/sections/VisualUseCasesSection.tsx @@ -1,6 +1,6 @@ import React from 'react'; import Link from 'next/link'; -import { Sparkles, ArrowRight, CheckCircle2, ShoppingBag, Camera, Archive, Palette } from 'lucide-react'; +import { Sparkles, ArrowRight, CheckCircle2, ShoppingBag, Camera, Archive, Palette, Zap } from 'lucide-react'; interface UseCaseCard { title: string; @@ -68,17 +68,17 @@ const useCases: UseCaseCard[] = [ export function VisualUseCasesSection() { return ( -
-
-
-
- - Real-World Visual Capabilities +
+
+
+
+ + REAL-WORLD VISUAL CAPABILITIES
-

- Engineered for Creators & Studios +

+ Engineered for Creators & Studios

-

+

From single-click browser trials to full 4K studio batch exports, CRE Innovations powers every stage of your visual workflow.

@@ -90,23 +90,23 @@ export function VisualUseCasesSection() { return (
{/* Visual Before / After Split Frame */} -
+
{/* eslint-disable-next-line @next/next/no-img-element */} {`${uc.title} - + Original Input
{/* eslint-disable-next-line @next/next/no-img-element */} - {`${uc.title} - + {`${uc.title} + CRE AI Result
@@ -114,29 +114,29 @@ export function VisualUseCasesSection() {
{/* Header */} -
-
+
+
{uc.category}
- + {uc.badge}
-

+

{uc.title}

-

+

{uc.desc}

{/* Benefit points */} -
+
{uc.benefits.map((b, bIdx) => ( -
- +
+ {b}
))} @@ -146,7 +146,7 @@ export function VisualUseCasesSection() {
Launch {uc.toolName} online diff --git a/src/components/sections/WorkflowVisualizerSection.tsx b/src/components/sections/WorkflowVisualizerSection.tsx index 3080bb8..e827cfd 100644 --- a/src/components/sections/WorkflowVisualizerSection.tsx +++ b/src/components/sections/WorkflowVisualizerSection.tsx @@ -6,42 +6,45 @@ export function WorkflowVisualizerSection() { { num: '01', title: 'Upload Any Photo', - desc: 'Drag & drop JPG, PNG, or WEBP up to 12MB. Client-side signature checks ensure fast, safe processing.', + desc: 'Drag & drop JPG, PNG, or WEBP up to 12MB. Client-side signature checks ensure instantaneous, secure processing.', icon: UploadCloud, highlight: 'Zero Sign-Up Required', - badgeColor: 'text-blue-500 bg-blue-50 dark:bg-blue-950/60', + gradient: 'from-cyan-500/20 to-blue-500/10 text-cyan-400 border-cyan-500/30', }, { num: '02', title: 'In-Memory Neural Inference', - desc: 'Our neural models process pixels in volatile RAM and stream the result straight back. Nothing is stored.', + desc: 'Our neural models process pixels purely in volatile RAM buffers and stream the binary result directly back. Zero disk storage.', icon: Cpu, highlight: 'Zero Storage Guarantee', - badgeColor: 'text-cyan-500 bg-cyan-50 dark:bg-cyan-950/60', + gradient: 'from-purple-500/20 to-pink-500/10 text-purple-400 border-purple-500/30', }, { num: '03', title: 'Instant HD & 4K Mobile Handoff', - desc: 'Download your result in standard HD or scan the QR code to unlock batch processing and 4K export in our app.', + desc: 'Download your result in standard HD or scan the dynamic QR code to unlock batch processing and 4K lossless export in our mobile apps.', icon: Smartphone, highlight: '50 Free App Credits', - badgeColor: 'text-indigo-500 bg-indigo-50 dark:bg-indigo-950/60', + gradient: 'from-emerald-500/20 to-teal-500/10 text-emerald-400 border-emerald-500/30', }, ]; return ( -
-
-
-
- - High-Speed Architecture +
+ {/* Ambient background glow */} +
+ +
+
+
+ + HIGH-SPEED ZERO-STORAGE PIPELINE
-

- How CRE Innovations Works +

+ How CRE Innovations Works

-

- A frictionless pipeline engineered for speed, privacy, and seamless mobile transition. +

+ A frictionless pipeline engineered for microsecond latency, cryptographic user privacy, and fluid mobile transition.

@@ -51,28 +54,28 @@ export function WorkflowVisualizerSection() { return (
- + {st.num} -
+
-

+

{st.title}

-

+

{st.desc}

-
- +
+ {st.highlight}