feat(ui): overhaul reel, use-cases, pipeline, and app handoff sections
This commit is contained in:
@@ -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 (
|
||||
<section className="py-16 sm:py-24 bg-white dark:bg-slate-900 border-t border-slate-200/80 dark:border-slate-800/80">
|
||||
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div className="text-center max-w-3xl mx-auto mb-14 space-y-3">
|
||||
<div className="inline-flex items-center space-x-2 px-3.5 py-1.5 rounded-full bg-cyan-50 dark:bg-cyan-950/70 border border-cyan-200 dark:border-cyan-800 text-xs font-bold text-cyan-700 dark:text-cyan-300">
|
||||
<Sparkles className="w-3.5 h-3.5 text-cyan-500" />
|
||||
<span>Real-World Visual Capabilities</span>
|
||||
<section className="py-20 sm:py-28 bg-[#07090E] border-t border-white/[0.08] relative overflow-hidden">
|
||||
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
|
||||
<div className="text-center max-w-3xl mx-auto mb-16 space-y-4">
|
||||
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-cyan-950/60 border border-cyan-500/30 text-xs font-mono text-cyan-300">
|
||||
<Zap className="w-3.5 h-3.5 text-cyan-400" />
|
||||
<span>REAL-WORLD VISUAL CAPABILITIES</span>
|
||||
</div>
|
||||
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-black text-slate-900 dark:text-white tracking-tight">
|
||||
Engineered for Creators & Studios
|
||||
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-extrabold text-white tracking-tight">
|
||||
Engineered for <span className="text-transparent bg-clip-text bg-gradient-to-r from-cyan-400 to-purple-400">Creators & Studios</span>
|
||||
</h2>
|
||||
<p className="text-sm sm:text-base text-slate-600 dark:text-slate-400">
|
||||
<p className="text-sm sm:text-base text-slate-400 max-w-2xl mx-auto">
|
||||
From single-click browser trials to full 4K studio batch exports, CRE Innovations powers every stage of your visual workflow.
|
||||
</p>
|
||||
</div>
|
||||
@@ -90,23 +90,23 @@ export function VisualUseCasesSection() {
|
||||
return (
|
||||
<div
|
||||
key={idx}
|
||||
className="group relative bg-slate-50/80 dark:bg-slate-950/80 rounded-3xl p-6 sm:p-8 border border-slate-200/80 dark:border-slate-800/80 shadow-md hover:shadow-2xl hover:border-blue-500/40 transition-all duration-300 flex flex-col justify-between"
|
||||
className="group relative glass-card rounded-3xl p-6 sm:p-8 border border-white/[0.08] hover:border-cyan-500/30 transition-all duration-300 flex flex-col justify-between"
|
||||
>
|
||||
<div>
|
||||
{/* Visual Before / After Split Frame */}
|
||||
<div className="relative aspect-[16/10] rounded-2xl overflow-hidden mb-6 bg-slate-950 shadow-inner">
|
||||
<div className="relative aspect-[16/10] rounded-2xl overflow-hidden mb-6 bg-[#05070B] border border-white/[0.08] shadow-inner">
|
||||
<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={uc.beforeImg} alt={`${uc.title} before`} className="h-full w-full object-cover" />
|
||||
<span className="absolute top-3 left-3 bg-black/75 backdrop-blur-md px-2.5 py-1 rounded-md text-[10px] font-bold text-white">
|
||||
<span className="absolute top-3 left-3 bg-black/80 backdrop-blur-md px-2.5 py-1 rounded-md text-[9px] font-mono font-bold text-slate-300 border border-white/10">
|
||||
Original Input
|
||||
</span>
|
||||
</div>
|
||||
<div className="relative h-full overflow-hidden">
|
||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||
<img src={uc.afterImg} alt={`${uc.title} after`} className="h-full w-full object-cover group-hover:scale-105 transition-transform duration-300" />
|
||||
<span className="absolute top-3 right-3 bg-gradient-to-r from-blue-600 to-cyan-500 backdrop-blur-md px-2.5 py-1 rounded-md text-[10px] font-bold text-white shadow-md">
|
||||
<img src={uc.afterImg} alt={`${uc.title} after`} className="h-full w-full object-cover group-hover:scale-105 transition-transform duration-500" />
|
||||
<span className="absolute top-3 right-3 bg-gradient-to-r from-cyan-500 to-purple-600 backdrop-blur-md px-2.5 py-1 rounded-md text-[9px] font-mono font-bold text-white shadow-md border border-white/20">
|
||||
CRE AI Result
|
||||
</span>
|
||||
</div>
|
||||
@@ -114,29 +114,29 @@ export function VisualUseCasesSection() {
|
||||
</div>
|
||||
|
||||
{/* Header */}
|
||||
<div className="flex items-center justify-between mb-2">
|
||||
<div className="flex items-center space-x-2 text-xs font-bold text-cyan-600 dark:text-cyan-400">
|
||||
<div className="flex items-center justify-between mb-3">
|
||||
<div className="flex items-center gap-2 text-xs font-mono font-bold text-cyan-400">
|
||||
<Icon className="w-4 h-4" />
|
||||
<span>{uc.category}</span>
|
||||
</div>
|
||||
<span className="text-[11px] font-bold text-slate-500 bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-800 px-2.5 py-0.5 rounded-full">
|
||||
<span className="text-[10.5px] font-mono text-slate-300 bg-white/[0.04] border border-white/[0.08] px-2.5 py-0.5 rounded-full">
|
||||
{uc.badge}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<h3 className="text-xl sm:text-2xl font-black text-slate-900 dark:text-white">
|
||||
<h3 className="text-xl sm:text-2xl font-display font-bold text-white group-hover:text-cyan-300 transition-colors">
|
||||
{uc.title}
|
||||
</h3>
|
||||
|
||||
<p className="mt-2 text-xs sm:text-sm text-slate-600 dark:text-slate-400 leading-relaxed">
|
||||
<p className="mt-2 text-xs sm:text-sm text-slate-400 leading-relaxed">
|
||||
{uc.desc}
|
||||
</p>
|
||||
|
||||
{/* Benefit points */}
|
||||
<div className="mt-4 pt-4 border-t border-slate-200/60 dark:border-slate-800/60 space-y-2">
|
||||
<div className="mt-5 pt-4 border-t border-white/[0.08] space-y-2">
|
||||
{uc.benefits.map((b, bIdx) => (
|
||||
<div key={bIdx} className="flex items-center space-x-2 text-xs font-medium text-slate-700 dark:text-slate-300">
|
||||
<CheckCircle2 className="w-3.5 h-3.5 text-emerald-500 shrink-0" />
|
||||
<div key={bIdx} className="flex items-center gap-2 text-xs text-slate-300">
|
||||
<CheckCircle2 className="w-3.5 h-3.5 text-cyan-400 shrink-0" />
|
||||
<span>{b}</span>
|
||||
</div>
|
||||
))}
|
||||
@@ -146,7 +146,7 @@ export function VisualUseCasesSection() {
|
||||
<div className="mt-6 pt-4">
|
||||
<Link
|
||||
href={`/tools/${uc.toolSlug}`}
|
||||
className="inline-flex items-center space-x-2 text-xs font-bold text-blue-600 dark:text-cyan-400 hover:text-blue-700 group-hover:translate-x-1 transition-all"
|
||||
className="inline-flex items-center gap-2 text-xs font-mono font-bold text-cyan-400 hover:text-cyan-300 group-hover:translate-x-1 transition-all"
|
||||
>
|
||||
<span>Launch {uc.toolName} online</span>
|
||||
<ArrowRight className="w-3.5 h-3.5" />
|
||||
|
||||
Reference in New Issue
Block a user