-
-
-
+
+
+
+ System active
-
System Active
+
+
+
-
- {/* Theme Toggle */}
-
-
- {/* Logout Button */}
-
);
-}
\ No newline at end of file
+}
diff --git a/src/app/components/Landing.tsx b/src/app/components/Landing.tsx
index e188ec3..b37dca9 100644
--- a/src/app/components/Landing.tsx
+++ b/src/app/components/Landing.tsx
@@ -1,756 +1,136 @@
import { motion } from "motion/react";
-import { useEffect, useRef } from "react";
-import { Shield, FileText, Image, Video, Link as LinkIcon, ArrowRight, CheckCircle, AlertTriangle, TrendingUp, Users, DollarSign, Upload, Scan, BarChart3, Share2, Clock } from "lucide-react";
+import { ArrowRight, Check, ChevronRight, FileText, Image, Link as LinkIcon, Shield, Terminal, Video } from "lucide-react";
+import { useEffect, useState } from "react";
import { Link as RouterLink } from "react-router";
-export default function Landing() {
- const analyticsRef = useRef
(null);
+const features = [
+ { icon: FileText, title: "Text analysis", copy: "Trace claims, detect misleading narratives, and understand confidence." },
+ { icon: Image, title: "Image detection", copy: "Inspect visual content for synthetic or manipulated media." },
+ { icon: Video, title: "Video verification", copy: "Surface deepfake signals across moving and synthetic media." },
+ { icon: LinkIcon, title: "URL intelligence", copy: "Check source reputation and credibility before you trust a link." },
+];
- useEffect(() => {
- const section = analyticsRef.current;
- if (!section) {
- return;
- }
+const terminalLines = [
+ ["$ veritas verify --url example.com", "Analyzing source…", "✓ credibility signals mapped"],
+ ["$ veritas inspect --image upload.jpg", "Scanning visual artifacts…", "✓ no synthetic pattern detected"],
+ ["$ veritas analyze --text claim.txt", "Cross-checking evidence…", "✓ confidence: 94.2%"],
+];
- const timer = window.setTimeout(() => {
- section.scrollIntoView({ behavior: "auto", block: "start" });
- }, 0);
+export default function Landing() {
+ const [terminalIndex, setTerminalIndex] = useState(0);
+ const [visible, setVisible] = useState(0);
- return () => window.clearTimeout(timer);
+ useEffect(() => {
+ const id = window.setInterval(() => {
+ setVisible(0);
+ setTerminalIndex((current) => (current + 1) % terminalLines.length);
+ }, 4200);
+ return () => window.clearInterval(id);
}, []);
- const features = [
- {
- icon: FileText,
- title: "Text Analysis",
- description: "Detect misinformation in articles and news content",
- },
- {
- icon: Image,
- title: "Image Detection",
- description: "Identify AI-generated and manipulated images",
- },
- {
- icon: Video,
- title: "Video Verification",
- description: "Expose deepfakes and synthetic media",
- },
- {
- icon: LinkIcon,
- title: "URL Checker",
- description: "Verify domain reputation and source credibility",
- },
- ];
-
- const benefits = [
- "Real-time AI-powered analysis",
- "Multi-modal detection capabilities",
- "Detailed confidence scores",
- "Comprehensive explanations",
- ];
+ useEffect(() => {
+ setVisible(1);
+ const id = window.setTimeout(() => setVisible(2), 650);
+ return () => window.clearTimeout(id);
+ }, [terminalIndex]);
return (
-
- {/* Animated background */}
-
-
- {/* Header */}
-
-
-
-
-
- Sign In
-
-
- Get Started
-
+
+
+
+
+