diff --git a/src/components/tools/AlternatingFeaturesSection.tsx b/src/components/tools/AlternatingFeaturesSection.tsx index 6172077..4d37b73 100644 --- a/src/components/tools/AlternatingFeaturesSection.tsx +++ b/src/components/tools/AlternatingFeaturesSection.tsx @@ -91,33 +91,33 @@ export function AlternatingFeaturesSection({ {/* Text Paragraph Block - Rich, informative, space-efficient */}
-
-
- +
+
+ Feature 0{idx + 1} {badge && ( - + {badge} )}
-

+

{title}

-

+

{desc}

{/* Specifications & Hardware Highlights (Fills the column cleanly) */} -
+
{feature.metrics && feature.metrics.length > 0 ? ( feature.metrics.map((metric, mIdx) => (
{/* Breadcrumb row */} -
+
Home / Tools @@ -734,46 +734,37 @@ export function DynamicToolWorkspace({ {toolName}
- {/* Header Title & Summary */} -
-
-
- - Studio Vision Model -
- - Volatile GPU RAM ยท Zero server retention - -
-

+ {/* Header Title & Summary (Pills removed, generous typography breathing room) */} +
+

{toolName}

-

+

{toolSummary}

{/* Studio Workspace: Upload Box on Left, Specimen on Right */} -
+
{/* Upload Box: Configured Dynamically by pageType */} -
+
-
- +
+ {pageType === 'text-to-image' ? 'Text prompt studio' : 'Interactive tool studio'} - Zero server retention + Zero server retention
{/* Dynamic Upload Input by Type */} -
+
{/* Style Thumbnail Selector on Landing Card (Before-Upload / Both) */} {tool.thumbnails && tool.thumbnails.length > 0 && tool.thumbnailPlacement !== 'after-upload' && ( -
-
+
+
1. Select Effect Style {selectedThumbnail && ( @@ -781,7 +772,7 @@ export function DynamicToolWorkspace({ )}
-
+
{tool.thumbnails.map((t) => { const isSelected = selectedThumbnail?.id === t.id; return ( @@ -789,7 +780,7 @@ export function DynamicToolWorkspace({ key={t.id} type="button" onClick={() => setSelectedThumbnail(t)} - className={`shrink-0 flex items-center gap-2 px-3 py-1.5 rounded-xl border text-xs font-sans font-semibold transition-all cursor-pointer ${ + className={`shrink-0 flex items-center gap-2 px-3.5 py-2 rounded-xl border text-xs sm:text-sm font-sans font-semibold transition-all cursor-pointer ${ isSelected ? 'bg-accent/10 border-accent text-accent shadow-xs' : 'bg-paper border-rule text-slate-800 hover:border-rule-2' @@ -797,7 +788,7 @@ export function DynamicToolWorkspace({ > {(t.thumbnail || t.preview) && ( // eslint-disable-next-line @next/next/no-img-element - + )} {resolveLocalised(t.label, locale)} @@ -807,9 +798,9 @@ export function DynamicToolWorkspace({
)} - {/* Type 1, 2, 3: Single Drag & Drop Dropzone with Prominent Buttons Below */} + {/* Type 1, 2, 3: Spacious, Prominently Sized Drag & Drop Dropzone */} {pageType !== 'text-to-image' && pageType !== 'two-images' && ( -
+
e.preventDefault()} onDrop={(e) => { @@ -817,7 +808,7 @@ export function DynamicToolWorkspace({ if (e.dataTransfer.files?.[0]) handlePrimaryFileSelect(e.dataTransfer.files[0]); }} onClick={() => fileInputRef.current?.click()} - className="border-2 border-dashed border-rule hover:border-accent rounded-2xl p-5 sm:p-6 text-center bg-paper/60 hover:bg-accent/5 transition-all cursor-pointer group" + className="min-h-[280px] sm:min-h-[320px] flex flex-col items-center justify-center border-2 border-dashed border-rule hover:border-accent rounded-3xl p-8 sm:p-12 text-center bg-paper/60 hover:bg-accent/5 transition-all cursor-pointer group" > -
- +
+
-

+

Drag and drop your image here

-

- Supports JPG, PNG, WebP up to 12MB. Zero server retention. +

+ Supports high-resolution JPG, PNG, and WebP up to 12MB. Zero server retention.

{/* PROMINENT ACTION BUTTONS DIRECTLY BELOW PHOTO UPLOAD */} -
+
@@ -1030,12 +1021,12 @@ export function DynamicToolWorkspace({ {/* Specimen View: Interactive Before/After Slider */}
-
-
- Transformation specimen - Drag slider to inspect details +
+
+ Transformation specimen + Drag slider to inspect details
-
+
-
+
Full 4K batch processing available in {homeApp ? resolveLocalised(homeApp.name, locale) : 'the mobile app'}.