More UI additions
Browse filesFiles changed (3)
83 unmodified lines848586878788899010 unmodified lines10110210310410410510610783 unmodified lines };
return ( <div className="min-h-screen"> <div className="min-h-screen animate-fade-in"> <header className="bg-slate-950 border-b border-emerald-900"> <div className="max-w-7xl mx-auto px-4 py-4 flex items-center justify-between"> <div className="flex items-center gap-3">10 unmodified lines </header>
<main className="max-w-7xl mx-auto px-4 py-6 space-y-8 text-emerald-50"> <section className="flex justify-center"> <section className="flex justify-center animate-fade-in-up"> <form onSubmit={onSubmit} className="w-full max-w-2xl bg-slate-950 border border-emerald-900 rounded-2xl p-6 md:p-7 shadow-md shadow-emerald-900/40 flex flex-col gap-5 items-stretch text-center md:text-left"1 unmodified line234556789 unmodified lines18192021222122232425262728292930313223 unmodified lines565758595960616210 unmodified lines73747576767778798081828384858687888990829192939430 unmodified lines1251261271191281291301221311321331341351361371381391401 unmodified line
export default function Landing() { return ( <div className="min-h-screen flex flex-col bg-slate-950 text-emerald-50 bg-radial-fade"> <div className="min-h-screen flex flex-col bg-slate-950 text-emerald-50 bg-radial-fade animate-fade-in"> <header className="border-b border-emerald-800/60 bg-slate-950/80 backdrop-blur"> <div className="max-w-7xl mx-auto px-4 py-4 flex items-center justify-between"> <div className="flex items-center gap-3">9 unmodified lines </div> </header>
<main className="flex-1"> <section className="relative overflow-hidden border-b border-emerald-900/60"> <main className="flex-1 space-y-10 md:space-y-12"> <section className="relative overflow-hidden border-b border-emerald-900/60 animate-fade-in-up"> <div className="absolute inset-0 pointer-events-none"> <div className="absolute inset-0 opacity-20 bg-[radial-gradient(circle_at_top,_#22c55e33,_transparent_60%)]" /> <div className="absolute inset-0 opacity-[0.07] bg-[linear-gradient(to_right,#10b981_10%,transparent_10%),linear-gradient(to_bottom,#10b981_10%,transparent_10%)] bg-[length:20px_20px]" /> </div>
<div className="relative max-w-7xl mx-auto px-4 py-16 md:py-20 grid md:grid-cols-2 gap-10 items-center"> <div> <div className="space-y-4 animate-fade-in-scale"> <p className="text-xs font-mono uppercase tracking-[0.35em] text-emerald-400/80"> Real-time video forensics </p>23 unmodified lines </div> </div>
<div className="relative"> <div className="relative animate-fade-in-scale"> <div className="rounded-2xl border border-emerald-700/60 bg-slate-950/60 shadow-[0_0_40px_rgba(16,185,129,0.25)] p-4"> <div className="aspect-video rounded-xl bg-slate-900/70 border border-emerald-900/80 flex flex-col justify-between p-4"> <div className="flex items-center justify-between text-xs text-emerald-200/80 font-mono">10 unmodified lines </div> </div>
{/* Step tiles removed as requested */} <div className="mt-3 flex items-center justify-between text-[10px] font-mono"> <span className="px-2 py-0.5 rounded-full bg-slate-900 border border-cyan-500/40 text-cyan-200 flex items-center gap-1"> <span className="h-1.5 w-1.5 rounded-full bg-cyan-300" /> YOLO face crop </span> <span className="px-2 py-0.5 rounded-full bg-slate-900 border border-fuchsia-500/40 text-fuchsia-200 flex items-center gap-1"> <span className="h-1.5 w-1.5 rounded-full bg-fuchsia-300" /> ResNet18 score </span> </div> </div> </div> </div> </section>
<section className="max-w-7xl mx-auto px-4 py-12 md:py-16"> <section className="max-w-7xl mx-auto px-4 py-12 md:py-16 animate-fade-in-up"> <div className="max-w-3xl"> <h2 className="text-xl md:text-2xl font-semibold">How it works</h2> </div>30 unmodified lines heading: "Summarise the video", body: "We combine the face scores into one simple REAL or FAKE verdict.", }, ].map((step) => ( ].map((step, idx) => ( <div key={step.title} className="rounded-lg border border-emerald-700/60 bg-slate-950/80 p-3 flex flex-col gap-1" className={`rounded-lg border bg-slate-950/80 p-3 flex flex-col gap-1 ${ idx % 3 === 0 ? "border-emerald-700/60" : idx % 3 === 1 ? "border-cyan-600/60" : "border-fuchsia-600/60" }`} > <div className="text-[10px] uppercase tracking-wide text-emerald-400/90">{step.title}</div> <div className="font-semibold">{step.heading}</div>23 unmodified lines24252627282930313233343536373823 unmodified lines '0%': { opacity: '0', transform: 'scale(0.96)' }, '100%': { opacity: '1', transform: 'scale(1)' }, }, fadeIn: { '0%': { opacity: '0' }, '100%': { opacity: '1' }, }, }, animation: { 'fade-in-up': 'fadeInUp 0.35s ease-out', 'fade-in-scale': 'fadeInScale 0.3s ease-out', 'fade-in': 'fadeIn 0.4s ease-out', }, }, },frontend/pages/analyze.jsx+2-2
frontend/pages/index.jsx+24-9
frontend/tailwind.config.js+5