feat(ui): overhaul reel, use-cases, pipeline, and app handoff sections

This commit is contained in:
2026-11-03 13:02:29 +05:30
parent 7aa031f6db
commit 7cc2e3dd25
6 changed files with 141 additions and 132 deletions
@@ -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 (
<section className="py-10 bg-slate-100/50 dark:bg-slate-950/40 border-y border-slate-200/80 dark:border-slate-800/80 overflow-hidden">
<section className="py-12 bg-[#05070B] border-y border-white/[0.08] overflow-hidden relative">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 mb-6 flex items-center justify-between">
<div className="flex items-center space-x-2">
<Sparkles className="w-4 h-4 text-cyan-500 animate-pulse" />
<h3 className="text-xs sm:text-sm font-extrabold uppercase tracking-wider text-slate-900 dark:text-white">
<div className="flex items-center gap-2.5">
<span className="flex h-2 w-2 relative">
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-cyan-400 opacity-75"></span>
<span className="relative inline-flex rounded-full h-2 w-2 bg-cyan-500"></span>
</span>
<h3 className="text-xs sm:text-sm font-mono uppercase tracking-widest text-slate-300">
Live Transformations by CRE Neural Engine
</h3>
</div>
<Link
href="/tools"
className="text-xs font-bold text-blue-600 dark:text-cyan-400 hover:underline flex items-center space-x-1"
href="/#tools-stack"
className="text-xs font-mono text-cyan-400 hover:text-cyan-300 hover:underline flex items-center gap-1.5 transition-colors"
>
<span>Explore all 8+ tools</span>
<span>Explore All 8+ Tools</span>
<ArrowRight className="w-3.5 h-3.5" />
</Link>
</div>
{/* Horizontal scrolling showcase */}
<div className="flex gap-4 sm:gap-6 overflow-x-auto pb-4 px-4 sm:px-8 no-scrollbar scroll-smooth">
<div className="flex gap-5 sm:gap-6 overflow-x-auto pb-4 px-4 sm:px-8 no-scrollbar scroll-smooth">
{transformations.map((item, idx) => (
<Link
key={idx}
href={`/tools/${item.toolSlug}`}
className="group shrink-0 w-64 sm:w-72 bg-white dark:bg-slate-900 rounded-2xl p-3 border border-slate-200/80 dark:border-slate-800/80 shadow-sm hover:shadow-xl hover:border-blue-500/50 hover:-translate-y-1 transition-all duration-300"
className="group shrink-0 w-64 sm:w-72 bg-[#0B0F17]/80 rounded-2xl p-3.5 border border-white/[0.08] hover:border-cyan-500/40 shadow-xl hover:shadow-[0_0_25px_rgba(0,240,255,0.15)] hover:-translate-y-1 transition-all duration-300"
>
{/* Visual side-by-side or split thumbnail */}
<div className="relative aspect-[16/10] rounded-xl overflow-hidden mb-3 bg-slate-950">
<div className="relative aspect-[16/10] rounded-xl overflow-hidden mb-3 bg-[#07090E] border border-white/[0.06]">
<div className="grid grid-cols-2 h-full w-full">
<div className="relative h-full overflow-hidden border-r border-white/20">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={item.before} alt="Before" className="h-full w-full object-cover" />
<span className="absolute bottom-1.5 left-1.5 bg-black/70 backdrop-blur-md px-1.5 py-0.5 rounded text-[9px] font-bold text-white">
<span className="absolute bottom-1.5 left-1.5 bg-black/80 backdrop-blur-md px-1.5 py-0.5 rounded text-[8.5px] font-mono font-bold text-slate-300 border border-white/10">
Before
</span>
</div>
<div className="relative h-full overflow-hidden">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={item.after} alt="After" className="h-full w-full object-cover group-hover:scale-105 transition-transform duration-300" />
<span className="absolute bottom-1.5 right-1.5 bg-blue-600/90 backdrop-blur-md px-1.5 py-0.5 rounded text-[9px] font-bold text-white">
After
<img src={item.after} alt="After" className="h-full w-full object-cover group-hover:scale-105 transition-transform duration-500" />
<span className="absolute bottom-1.5 right-1.5 bg-gradient-to-r from-cyan-500/90 to-purple-600/90 backdrop-blur-md px-1.5 py-0.5 rounded text-[8.5px] font-mono font-bold text-white shadow-sm border border-white/20">
CRE AI
</span>
</div>
</div>
</div>
<div className="space-y-1">
<div className="space-y-1.5">
<div className="flex items-center justify-between">
<span className="text-[10px] font-bold text-cyan-600 dark:text-cyan-400 uppercase tracking-wide">
<span className="text-[10px] font-mono uppercase tracking-wider text-cyan-400">
{item.category}
</span>
<span className="text-[10px] font-medium text-slate-400">
<span className="text-[10px] font-mono text-slate-400 group-hover:text-cyan-300 transition-colors">
Try Free →
</span>
</div>
<p className="font-bold text-xs sm:text-sm text-slate-900 dark:text-white truncate group-hover:text-blue-600 transition-colors">
<p className="font-display font-bold text-sm text-white group-hover:text-cyan-300 transition-colors truncate">
{item.toolName}
</p>
<p className="text-[11px] text-slate-500 dark:text-slate-400 truncate">
<p className="text-[11px] font-mono text-slate-400 truncate">
{item.tag}
</p>
</div>