diff --git a/content/pages/home.json b/content/pages/home.json index bb90609..f3028fd 100644 --- a/content/pages/home.json +++ b/content/pages/home.json @@ -52,6 +52,16 @@ "type": "visualUseCases", "props": {} }, + { + "id": "tools-vertical-stack", + "type": "verticalToolStack", + "props": { + "title": { + "en": "Vertical Tools Stack", + "hi": "वर्टिकल टूल्स स्टैक" + } + } + }, { "id": "featured-tools", "type": "toolGrid", diff --git a/content/pages/tools.json b/content/pages/tools.json index 45686b5..8d8284b 100644 --- a/content/pages/tools.json +++ b/content/pages/tools.json @@ -23,6 +23,16 @@ } } }, + { + "id": "tools-vertical-stack", + "type": "verticalToolStack", + "props": { + "title": { + "en": "Vertical Tools Stack", + "hi": "वर्टिकल टूल्स स्टैक" + } + } + }, { "id": "all-tools-grid", "type": "toolGrid", diff --git a/src/components/sections/SectionRenderer.tsx b/src/components/sections/SectionRenderer.tsx index bd7c511..a508fe4 100644 --- a/src/components/sections/SectionRenderer.tsx +++ b/src/components/sections/SectionRenderer.tsx @@ -22,6 +22,7 @@ import { NoticeSection } from './NoticeSection'; import { TransformationReelSection } from './TransformationReelSection'; import { VisualUseCasesSection } from './VisualUseCasesSection'; import { WorkflowVisualizerSection } from './WorkflowVisualizerSection'; +import { VerticalToolStackSection } from './VerticalToolStackSection'; interface SectionRendererProps { section: SectionConfig; @@ -74,6 +75,17 @@ export function SectionRenderer({ section, context }: SectionRendererProps) { case 'workflowVisualizer': return ; + case 'verticalToolStack': + return ( + + ); + case 'toolGrid': return ( = { + Smile, + Sparkles, + Scissors, + Palette, + Layers, +}; + +// Architecture badges mapped by tool id +const MODEL_BADGES: Record = { + 'face.blemish.remove': { model: 'RetouchGAN v2.1', latency: '< 380ms', chip: 'Sub-Pore Texture' }, + 'face.teeth.whiten': { model: 'DentiClear AI', latency: '< 290ms', chip: 'Enamel Lustre Preservation' }, + 'bg.p3m.matting': { model: 'P3M-Net Alpha', latency: '< 520ms', chip: 'Hair-Strand Precision' }, + 'restore.photo.enhance': { model: 'GFPGAN + RealESRGAN', latency: '< 460ms', chip: '4K Super-Resolution' }, + 'restore.photo.old': { model: 'ScratchDeNet Pro', latency: '< 490ms', chip: 'Crack & Tear Inpainting' }, + 'restore.photo.colorize': { model: 'DeOldify Chroma', latency: '< 420ms', chip: 'Historical Palette AI' }, + 'art.cartoon.caricature': { model: 'AnimeGAN v3 Core', latency: '< 350ms', chip: 'Vector Line Art' }, + 'art.polaroid.fx': { model: 'AnalogFilm Studio', latency: '< 240ms', chip: 'Halide Grain Synthesis' }, +}; + +export function VerticalToolStackSection({ context }: VerticalToolStackProps) { + const { tools, categories, locale } = context; + const [selectedCategory, setSelectedCategory] = useState('all'); + + const filteredCategories = selectedCategory === 'all' + ? categories + : categories.filter((c) => c.slug === selectedCategory); + + return ( +
+ {/* Ambient background glow accents */} +
+
+ +
+ {/* Section Header */} +
+
+ + NEURAL VISION ENGINE SUITE +
+

+ Vertical Tools Stack +

+

+ Commercial-grade neural models organized by creative discipline. Test sub-millimeter pore retouching, alpha matting, and 4K super-resolution directly in your browser with zero watermark constraints. +

+
+ + {/* Mobile Category Quick Rail */} +
+ + {categories.map((cat) => { + const catTools = tools.filter((t) => t.category === cat.slug); + const active = selectedCategory === cat.slug; + return ( + + ); + })} +
+ + {/* Main Grid: Sticky Category Sidebar (Desktop) + Vertical Stack Cards */} +
+ {/* Left Column: Sticky Category Selector Rail */} +
+
+
+ Categories + {tools.length} Vision Tools +
+ +
+ + + {categories.map((cat) => { + const catTools = tools.filter((t) => t.category === cat.slug); + const active = selectedCategory === cat.slug; + const Icon = ICON_MAP[cat.icon || 'Sparkles'] || Sparkles; + + return ( + + ); + })} +
+ + {/* Zero-Storage Guarantee Chip */} +
+
+ + Zero-Storage Guaranteed +
+

+ Images stream through memory buffers and are never saved to disk or utilized for model training. +

+
+
+ + {/* Mobile App Promotion Pill */} +
+
+ + Batch Processing & Offline +
+

+ Need batch editing or offline neural execution? Use our iOS and Android native apps with coupon code TRYWEB50. +

+ + Explore Mobile Apps Suite + + +
+
+ + {/* Right Column: Vertical Stack of Tool Cards */} +
+ {filteredCategories.map((category) => { + const catTools = tools.filter((t) => t.category === category.slug); + if (catTools.length === 0) return null; + const Icon = ICON_MAP[category.icon || 'Sparkles'] || Sparkles; + + return ( +
+ {/* Category Section Header */} +
+
+
+ +
+
+

+ {resolveLocalised(category.name, locale)} +

+

+ {resolveLocalised(category.description, locale)} +

+
+
+ + {catTools.length} {catTools.length === 1 ? 'Tool' : 'Tools'} + +
+ + {/* Vertical Cards for This Category */} +
+ {catTools.map((tool) => { + const badgeInfo = MODEL_BADGES[tool.id] || { + model: 'Neural Vision v2.0', + latency: '< 450ms', + chip: 'Commercial Precision', + }; + const example = tool.content?.examples?.[0] || { + before: 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80', + after: 'https://images.unsplash.com/photo-1517841905240-472988babdf9?w=800&auto=format&fit=crop&q=80', + caption: 'Interactive Before/After Preview', + }; + + return ( +
+ {/* Top Metadata Row */} +
+
+ {/* Neural Model Tag */} + + + {badgeInfo.model} + + {/* Specific Capability Chip */} + + {badgeInfo.chip} + +
+ + {/* Latency & Stream Metric */} +
+ + {badgeInfo.latency} Stream +
+
+ + {/* Card Content Grid: Details on Left, Interactive Slider on Right */} +
+ {/* Left Details */} +
+

+ {resolveLocalised(tool.name, locale)} +

+

+ {resolveLocalised(tool.summary, locale)} +

+ + {/* Features List */} +
+
+ + Zero photo retention with RAM buffer pipeline +
+
+ + Full HD lossless output with no watermark +
+
+ + Direct handoff to native mobile application +
+
+ + {/* Action Buttons */} +
+ + Launch Tool Online + + + + + + Native App + +
+
+ + {/* Right: Interactive Before/After Comparison Slider */} +
+ +
+
+
+ ); + })} +
+
+ ); + })} +
+
+
+
+ ); +}