|
1 | | -import { ArrowRight, Box, Truck, BarChart2 } from 'lucide-react'; |
| 1 | +import { ArrowRight, Layers, Zap, Terminal, Box } from 'lucide-react'; |
2 | 2 | import Link from 'next/link'; |
3 | | -import { Badge } from '@/components/ui/badge'; |
4 | 3 | import { Button } from '@/components/ui/button'; |
5 | 4 |
|
6 | | -const MOCK_PROJECTS = [ |
7 | | - { slug: 'inventory', name: 'Inventory Management', status: 'Operational', updated: '2m ago' }, |
8 | | - { slug: 'fleet', name: 'Fleet Routing', status: 'Degraded', updated: '1h ago' }, |
9 | | - { slug: 'analytics', name: 'Data Warehouse', status: 'Operational', updated: 'Just now' }, |
10 | | - { slug: 'inbound', name: 'Inbound Receiving', status: 'Maintenance', updated: '1d ago' }, |
11 | | -]; |
12 | | - |
13 | | -export default function DashboardPage() { |
| 5 | +export default function HomeLandingPage() { |
14 | 6 | return ( |
15 | 7 | <div className="flex flex-col w-full"> |
16 | | - {/* Header Section */} |
17 | | - <div className="p-8 border-b border-border"> |
18 | | - <h1 className="text-3xl font-semibold tracking-tight mb-2">Overview</h1> |
19 | | - <p className="text-muted-foreground">Manage your logistics applications from a single hub.</p> |
20 | | - </div> |
| 8 | + {/* Hero Section */} |
| 9 | + <section className="px-6 py-24 md:py-32 border-b border-border bg-gradient-to-b from-secondary/20 to-transparent"> |
| 10 | + <div className="max-w-3xl"> |
| 11 | + <div className="inline-flex items-center border border-border bg-background px-3 py-1 mb-8"> |
| 12 | + <span className="flex h-2 w-2 bg-primary mr-2"></span> |
| 13 | + <span className="text-xs font-mono uppercase tracking-wider text-muted-foreground">Wareflow OS v1.0</span> |
| 14 | + </div> |
| 15 | + <h1 className="text-5xl md:text-7xl font-bold tracking-tighter mb-6 leading-tight"> |
| 16 | + The unified hub for modern logistics. |
| 17 | + </h1> |
| 18 | + <p className="text-lg md:text-xl text-muted-foreground mb-10 max-w-2xl leading-relaxed"> |
| 19 | + A comprehensive, modular logistics management solution. We combine the power of a lightweight ERP with the developer-first aesthetic of modern deployment platforms. |
| 20 | + </p> |
| 21 | + <div className="flex flex-col sm:flex-row gap-4"> |
| 22 | + <Button size="lg" className="rounded-none text-base px-8 h-14 group"> |
| 23 | + Explore the Ecosystem <ArrowRight className="w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform" /> |
| 24 | + </Button> |
| 25 | + <Button size="lg" variant="outline" className="rounded-none text-base px-8 h-14 border-border"> |
| 26 | + Read the Manifesto |
| 27 | + </Button> |
| 28 | + </div> |
| 29 | + </div> |
| 30 | + </section> |
21 | 31 |
|
22 | | - {/* Quick Stats (Glued together via divide-x) */} |
23 | | - <div className="grid grid-cols-1 md:grid-cols-3 divide-y md:divide-y-0 md:divide-x divide-border border-b border-border bg-secondary/20"> |
24 | | - <div className="p-6 flex flex-col"> |
25 | | - <span className="text-sm text-muted-foreground font-mono mb-1">Total Packages (24h)</span> |
26 | | - <span className="text-3xl font-semibold">14,239</span> |
| 32 | + {/* Value Proposition (Glued Grid) */} |
| 33 | + <section className="grid grid-cols-1 md:grid-cols-3 divide-y md:divide-y-0 md:divide-x divide-border border-b border-border"> |
| 34 | + <div className="p-10 hover:bg-secondary/10 transition-colors"> |
| 35 | + <Layers className="w-8 h-8 mb-6 text-muted-foreground" /> |
| 36 | + <h3 className="text-xl font-semibold mb-3">Modular by Design</h3> |
| 37 | + <p className="text-muted-foreground text-sm leading-relaxed"> |
| 38 | + Inspired by Odoo. Only install the applications you need. Your warehouse operations, supply chain, and delivery workflows remain independent but perfectly integrated. |
| 39 | + </p> |
27 | 40 | </div> |
28 | | - <div className="p-6 flex flex-col"> |
29 | | - <span className="text-sm text-muted-foreground font-mono mb-1">Active Vehicles</span> |
30 | | - <span className="text-3xl font-semibold">124 / 150</span> |
| 41 | + <div className="p-10 hover:bg-secondary/10 transition-colors"> |
| 42 | + <Terminal className="w-8 h-8 mb-6 text-muted-foreground" /> |
| 43 | + <h3 className="text-xl font-semibold mb-3">Single Entry Point</h3> |
| 44 | + <p className="text-muted-foreground text-sm leading-relaxed"> |
| 45 | + One login for all your logistics apps. Command your entire operation from a centralized dashboard with a universal command palette. |
| 46 | + </p> |
31 | 47 | </div> |
32 | | - <div className="p-6 flex flex-col"> |
33 | | - <span className="text-sm text-muted-foreground font-mono mb-1">System Health</span> |
34 | | - <span className="text-3xl font-semibold text-emerald-500">99.9%</span> |
| 48 | + <div className="p-10 hover:bg-secondary/10 transition-colors"> |
| 49 | + <Zap className="w-8 h-8 mb-6 text-muted-foreground" /> |
| 50 | + <h3 className="text-xl font-semibold mb-3">Professional Grade</h3> |
| 51 | + <p className="text-muted-foreground text-sm leading-relaxed"> |
| 52 | + Dark-first, high contrast, zero distractions. Built for operators who need clear information hierarchy and blazing-fast interactions. |
| 53 | + </p> |
35 | 54 | </div> |
36 | | - </div> |
| 55 | + </section> |
37 | 56 |
|
38 | | - {/* Projects Grid Container */} |
39 | | - <div className="p-8"> |
40 | | - <div className="flex items-center justify-between mb-6"> |
41 | | - <h2 className="text-xl font-medium">Recent Projects</h2> |
42 | | - <Button variant="link" className="text-muted-foreground hover:text-foreground p-0 rounded-none h-auto"> |
43 | | - View all <ArrowRight className="w-4 h-4 ml-1" /> |
| 57 | + {/* CTA Section */} |
| 58 | + <section className="p-12 md:p-24 flex flex-col items-center text-center bg-gradient-to-b from-secondary/10 to-transparent"> |
| 59 | + <Box className="w-12 h-12 mb-6 text-primary" /> |
| 60 | + <h2 className="text-3xl md:text-4xl font-bold tracking-tight mb-4">Ready to upgrade your infrastructure?</h2> |
| 61 | + <p className="text-muted-foreground max-w-xl mb-8"> |
| 62 | + Join forward-thinking supply chain teams using Wareflow to consolidate their fragmented logistics stack. |
| 63 | + </p> |
| 64 | + <Link href="/projects"> |
| 65 | + <Button variant="outline" size="lg" className="rounded-none border-border bg-background hover:bg-secondary transition-all"> |
| 66 | + View available modules |
44 | 67 | </Button> |
45 | | - </div> |
46 | | - |
47 | | - {/* Glued Grid: borders on elements to avoid gaps */} |
48 | | - <div className="grid grid-cols-1 md:grid-cols-2 border-t border-l border-border"> |
49 | | - {MOCK_PROJECTS.map((project) => ( |
50 | | - <Link |
51 | | - key={project.slug} |
52 | | - href={`/projects/${project.slug}`} |
53 | | - className="group block p-6 border-b border-r border-border hover:bg-secondary/30 transition-colors" |
54 | | - > |
55 | | - <div className="flex justify-between items-start mb-4"> |
56 | | - <div className="flex items-center space-x-3"> |
57 | | - <div className="w-8 h-8 bg-secondary border border-border flex items-center justify-center group-hover:bg-primary group-hover:text-primary-foreground transition-colors"> |
58 | | - <Box className="w-4 h-4" /> |
59 | | - </div> |
60 | | - <h3 className="font-medium">{project.name}</h3> |
61 | | - </div> |
62 | | - <Badge variant={project.status === 'Operational' ? 'default' : 'secondary'} className="rounded-none font-mono text-xs"> |
63 | | - {project.status} |
64 | | - </Badge> |
65 | | - </div> |
66 | | - <p className="text-sm text-muted-foreground font-mono mt-8"> |
67 | | - Updated {project.updated} |
68 | | - </p> |
69 | | - </Link> |
70 | | - ))} |
71 | | - </div> |
72 | | - </div> |
| 68 | + </Link> |
| 69 | + </section> |
73 | 70 | </div> |
74 | 71 | ); |
75 | 72 | } |
0 commit comments