|
| 1 | +import { Cloud, Shield, Users, Zap } from "lucide-react"; |
| 2 | +import Link from "next/link"; |
| 3 | + |
| 4 | +export default function HomePage({ children }: { children: React.ReactNode }) { |
| 5 | + return ( |
| 6 | + <div className="min-h-screen bg-gradient-to-br from-black via-gray-900 to-gray-800 text-white"> |
| 7 | + {/* Navigation */} |
| 8 | + <nav className="mx-auto flex max-w-7xl items-center justify-between p-6"> |
| 9 | + <div className="flex items-center space-x-2"> |
| 10 | + <Cloud className="h-8 w-8 text-white" /> |
| 11 | + <span className="text-2xl font-bold">T4S Drive</span> |
| 12 | + </div> |
| 13 | + <div className="hidden items-center space-x-8 md:flex"> |
| 14 | + <Link |
| 15 | + href="#features" |
| 16 | + className="text-gray-300 transition-colors hover:text-white" |
| 17 | + > |
| 18 | + Features |
| 19 | + </Link> |
| 20 | + <Link |
| 21 | + href="#pricing" |
| 22 | + className="text-gray-300 transition-colors hover:text-white" |
| 23 | + > |
| 24 | + Pricing |
| 25 | + </Link> |
| 26 | + <Link |
| 27 | + href="#contact" |
| 28 | + className="text-gray-300 transition-colors hover:text-white" |
| 29 | + > |
| 30 | + Contact |
| 31 | + </Link> |
| 32 | + </div> |
| 33 | + </nav> |
| 34 | + |
| 35 | + {/* Hero Section */} |
| 36 | + <main className="mx-auto flex max-w-4xl flex-col items-center justify-center px-6 py-20 text-center"> |
| 37 | + <div className="space-y-8"> |
| 38 | + <h1 className="text-5xl font-bold tracking-tight md:text-7xl"> |
| 39 | + Your files, |
| 40 | + <br /> |
| 41 | + <span className="bg-gradient-to-r from-gray-400 to-gray-200 bg-clip-text text-transparent"> |
| 42 | + everywhere |
| 43 | + </span> |
| 44 | + </h1> |
| 45 | + |
| 46 | + <p className="mx-auto max-w-2xl text-xl leading-relaxed text-gray-300 md:text-2xl"> |
| 47 | + Store, sync, and share your files with T4S Drive. Access your |
| 48 | + documents from any device, anywhere in the world. |
| 49 | + </p> |
| 50 | + |
| 51 | + {children} |
| 52 | + |
| 53 | + <p className="pt-4 text-sm text-gray-400"> |
| 54 | + Free 15GB storage • No credit card required |
| 55 | + </p> |
| 56 | + </div> |
| 57 | + </main> |
| 58 | + |
| 59 | + {/* Features Section */} |
| 60 | + <section className="mx-auto max-w-6xl px-6 py-20"> |
| 61 | + <div className="grid gap-8 md:grid-cols-3"> |
| 62 | + <div className="space-y-4 text-center"> |
| 63 | + <div className="mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-gray-800"> |
| 64 | + <Shield className="h-8 w-8 text-gray-300" /> |
| 65 | + </div> |
| 66 | + <h3 className="text-xl font-semibold">Secure Storage</h3> |
| 67 | + <p className="text-gray-400"> |
| 68 | + Your files are encrypted and protected with enterprise-grade |
| 69 | + security. |
| 70 | + </p> |
| 71 | + </div> |
| 72 | + |
| 73 | + <div className="space-y-4 text-center"> |
| 74 | + <div className="mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-gray-800"> |
| 75 | + <Zap className="h-8 w-8 text-gray-300" /> |
| 76 | + </div> |
| 77 | + <h3 className="text-xl font-semibold">Lightning Fast</h3> |
| 78 | + <p className="text-gray-400"> |
| 79 | + Upload and download files at blazing speeds with our global CDN. |
| 80 | + </p> |
| 81 | + </div> |
| 82 | + |
| 83 | + <div className="space-y-4 text-center"> |
| 84 | + <div className="mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-gray-800"> |
| 85 | + <Users className="h-8 w-8 text-gray-300" /> |
| 86 | + </div> |
| 87 | + <h3 className="text-xl font-semibold">Easy Sharing</h3> |
| 88 | + <p className="text-gray-400"> |
| 89 | + Share files and folders with anyone, with granular permission |
| 90 | + controls. |
| 91 | + </p> |
| 92 | + </div> |
| 93 | + </div> |
| 94 | + </section> |
| 95 | + |
| 96 | + {/* Footer */} |
| 97 | + <footer className="mt-20 border-t border-gray-800 px-6 py-8"> |
| 98 | + <div className="mx-auto flex max-w-6xl flex-col items-center justify-between md:flex-row"> |
| 99 | + <div className="mb-4 flex items-center space-x-2 md:mb-0"> |
| 100 | + <Cloud className="h-6 w-6 text-gray-400" /> |
| 101 | + <span className="text-gray-400"> |
| 102 | + © 2024 T4S Drive. All rights reserved. |
| 103 | + </span> |
| 104 | + </div> |
| 105 | + <div className="flex space-x-6"> |
| 106 | + <Link |
| 107 | + href="#" |
| 108 | + className="text-gray-400 transition-colors hover:text-white" |
| 109 | + > |
| 110 | + Privacy |
| 111 | + </Link> |
| 112 | + <Link |
| 113 | + href="#" |
| 114 | + className="text-gray-400 transition-colors hover:text-white" |
| 115 | + > |
| 116 | + Terms |
| 117 | + </Link> |
| 118 | + <Link |
| 119 | + href="#" |
| 120 | + className="text-gray-400 transition-colors hover:text-white" |
| 121 | + > |
| 122 | + Support |
| 123 | + </Link> |
| 124 | + </div> |
| 125 | + </div> |
| 126 | + </footer> |
| 127 | + </div> |
| 128 | + ); |
| 129 | +} |
0 commit comments