diff --git a/src/components/sections/HeroSection.tsx b/src/components/sections/HeroSection.tsx index 0d725e0..712908c 100644 --- a/src/components/sections/HeroSection.tsx +++ b/src/components/sections/HeroSection.tsx @@ -1,6 +1,6 @@ import React from 'react'; import Link from 'next/link'; -import { Sparkles, ArrowRight, Smartphone, ShieldCheck, Zap } from 'lucide-react'; +import { Sparkles, ArrowRight, Smartphone, ShieldCheck, Zap, Layers, Cpu } from 'lucide-react'; import { resolveLocalised, ToolItem, AppItem, VariantSpec } from '@/types'; import { TryItWidget } from './TryItWidget'; @@ -34,38 +34,50 @@ export function HeroSection({ if (variant === 'tryit' && tool) { return ( -
- {/* Ambient Radial Gradient Lights */} -
+
+ {/* Ambient Cosmic Radial Background */} +
+
-
+
+ {/* Live Core Status Pill */} {resolvedBadge && ( -
- +
+ + + + {resolvedBadge}
)} -

- {resolvedTitle} + + {/* Main Headline with Chromatic Gradient */} +

+ Transform Photos with
+ + Next-Gen Neural AI +

-

+ + {/* Subtitle */} +

{resolvedSubtitle}

- {/* Quick Guarantees Pill */} -
- - - Zero Storage Retention + {/* Quick Badges Bar */} +
+ + + 100% In-Memory RAM Stream - - - Hardware Accelerated + + + Commercial Sub-Pore Models - - - Pore-Preserving Texture + + + Zero Watermark Free Trials
@@ -84,40 +96,40 @@ export function HeroSection({ ); } - // Centered Hero + // Centered Hero for Tools/Apps/Pricing pages return ( -
-
+
+
{resolvedBadge && ( -
- +
+ {resolvedBadge}
)} -

+

{resolvedTitle}

-

+

{resolvedSubtitle}

-
+
- Explore All Free Tools - + + Vertical Tools Stack - + Mobile Apps Suite
diff --git a/src/components/sections/TryItWidget.tsx b/src/components/sections/TryItWidget.tsx index e7d5aaa..7571106 100644 --- a/src/components/sections/TryItWidget.tsx +++ b/src/components/sections/TryItWidget.tsx @@ -1,8 +1,21 @@ 'use client'; -import React, { useState, useRef, useEffect } from 'react'; +import React, { useState, useRef } from 'react'; import Link from 'next/link'; -import { UploadCloud, CheckCircle2, AlertCircle, RefreshCw, Download, Smartphone, Sparkles, Loader2, Image as ImageIcon, Zap, ChevronRight } from 'lucide-react'; +import { + UploadCloud, + AlertCircle, + RefreshCw, + Download, + Smartphone, + Sparkles, + Loader2, + Image as ImageIcon, + Zap, + ChevronRight, + ShieldCheck, + CheckCircle2 +} from 'lucide-react'; import { ToolItem, AppItem, VariantSpec, resolveLocalised } from '@/types'; import { BeforeAfterSlider } from '../ui/BeforeAfterSlider'; @@ -35,13 +48,17 @@ export function TryItWidget({ const samplePresets = [ { - label: 'Portrait Sample', + label: 'Portrait Retouch', url: 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=600&auto=format&fit=crop&q=80', }, { - label: 'Natural Face', + label: 'Natural Studio Model', url: 'https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=600&auto=format&fit=crop&q=80', }, + { + label: 'Vintage Archival Shot', + url: 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=600&auto=format&fit=crop&q=80', + }, ]; const handleFileChange = (file: File) => { @@ -146,28 +163,31 @@ export function TryItWidget({ }; return ( -
- {/* Decorative Glow Corner */} -
+
+ {/* Decorative Radial Ambient Corner Glow */} +
{/* Top Header & Tries Counter */} -
-
-
- +
+
+
+
-

- {resolveLocalised(tool.name, locale)} — Free Online Try +

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

-

- Zero Watermarks • In-Memory Processing • No Sign-Up +

+ Zero Watermarks • In-Memory RAM Stream • No Sign-Up

-
- +
+ {remainingTries} free tries today
@@ -187,8 +207,8 @@ export function TryItWidget({ onClick={() => fileInputRef.current?.click()} className={`border-2 border-dashed rounded-3xl p-8 sm:p-14 text-center cursor-pointer transition-all duration-300 group ${ isDragOver - ? 'border-blue-500 bg-blue-50/50 dark:bg-blue-950/40 scale-[1.01]' - : 'border-slate-300 dark:border-slate-700 hover:border-blue-500 dark:hover:border-blue-400 hover:bg-slate-50/60 dark:hover:bg-slate-800/40' + ? 'border-cyan-400 bg-cyan-950/30 scale-[1.01] shadow-[0_0_30px_rgba(0,240,255,0.2)]' + : 'border-white/[0.12] hover:border-cyan-400/60 hover:bg-white/[0.03]' }`} > e.target.files?.[0] && handleFileChange(e.target.files[0])} /> -
+
-

- Drag & drop your photo here, or browse +

+ Drag & drop your photo here, or browse file

-

+

Supports JPG, PNG, WEBP up to {tool.tryIt?.limits?.maxMB || 12}MB

{/* Quick Sample Presets */}
-

- Or test with a sample photo: +

+ Or inspect with an instant sample preset:

{samplePresets.map((preset, idx) => ( ))} @@ -234,22 +254,22 @@ export function TryItWidget({
{/* Image Preview Card */} -
+
{/* eslint-disable-next-line @next/next/no-img-element */} Selected photo
{/* Mode Selection & Run Action */} -
+
{variants.length > 0 && (
-