|
1 | 1 | import { createFileRoute } from "@tanstack/react-router"; |
2 | 2 | import { DownloadIcon, GithubIcon } from "lucide-react"; |
| 3 | +import { Button } from "@/components/ui/button"; |
3 | 4 |
|
4 | 5 | export const Route = createFileRoute("/")({ component: App }); |
5 | 6 |
|
6 | 7 | function App() { |
7 | | - return ( |
8 | | - <div className="h-screen overflow-y-auto scroll-smooth bg-[#0f1115] text-white font-sans"> |
9 | | - <header className="sticky top-0 z-50 flex justify-between items-center px-8 py-6 bg-[#0f1115]/90 backdrop-blur border-b border-white/5"> |
10 | | - <div className="flex items-center gap-2"> |
11 | | - <img src="/logo512.png" alt="Void Mod Manager" className="h-10" /> |
12 | | - <span className="text-sm opacity-80">Void Mod Manager</span> |
13 | | - </div> |
14 | | - <nav> |
15 | | - <a |
16 | | - href="https://github.com/void-modding/web" |
17 | | - className="text-sm opacity-80 hover:opacity-100 transition" |
18 | | - > |
19 | | - Documentation |
20 | | - </a> |
21 | | - {/*We need to add the docs page, github has a wiki we could use that*/} |
22 | | - </nav> |
23 | | - </header> |
| 8 | + return ( |
| 9 | + <div className="h-screen overflow-y-auto scroll-smooth bg-[#0f1115] font-sans text-white"> |
| 10 | + <header className="sticky top-0 z-50 flex items-center justify-between border-white/5 border-b bg-[#0f1115]/90 px-8 py-6 backdrop-blur"> |
| 11 | + <div className="flex items-center gap-2"> |
| 12 | + <img src="/logo512.png" alt="Void Mod Manager" className="h-10" /> |
| 13 | + <span className="text-sm opacity-80">Void Mod Manager</span> |
| 14 | + </div> |
| 15 | + <nav> |
| 16 | + <a |
| 17 | + href="https://github.com/void-modding/web" |
| 18 | + className="text-sm opacity-80 transition hover:opacity-100" |
| 19 | + > |
| 20 | + Documentation |
| 21 | + </a> |
| 22 | + {/*We need to add the docs page, github has a wiki we could use that*/} |
| 23 | + </nav> |
| 24 | + </header> |
24 | 25 |
|
25 | | - <main className="flex flex-col items-center text-center mt-10 px-4"> |
26 | | - <img src="/logo512.png" alt="Logo" className="h-50" /> |
27 | | - <h1 className="text-4xl font-bold mb-2"> |
28 | | - The new <span className="text-cyan-400">home</span> of Modding |
29 | | - </h1> |
30 | | - <p className="opacity-70 max-w-md mb-6"> |
31 | | - Welcome to the new home of Modding for any game, fully Open-Sourced. |
32 | | - </p> |
| 26 | + <main className="flex flex-col items-center gap-16 py-16 text-center"> |
| 27 | + <div className="flex flex-col items-center gap-6"> |
| 28 | + <img src="/logo512.png" alt="Logo" className="h-50" /> |
| 29 | + <div className="flex flex-col items-center gap-3"> |
| 30 | + <h1 className="font-bold text-5xl"> |
| 31 | + The new <span className="text-cyan-400">home</span> of Modding |
| 32 | + </h1> |
| 33 | + <p className="mb-6 max-w-md opacity-70"> |
| 34 | + Welcome to the new home of Modding for any game, fully |
| 35 | + Open-Sourced. |
| 36 | + </p> |
| 37 | + </div> |
| 38 | + </div> |
33 | 39 |
|
34 | | - <div className="flex gap-4 mb-20"> |
35 | | - <a |
36 | | - href="/download" |
37 | | - target="_blank" |
38 | | - rel="noopener noreferrer" |
39 | | - className="bg-cyan-500 hover:bg-cyan-600 px-6 py-2 rounded-md font-medium transition inline-flex items-center gap-2" |
40 | | - > |
41 | | - <DownloadIcon size={20} /> |
42 | | - Download |
43 | | - </a> |
44 | | - <a |
45 | | - href="https://github.com/void-modding/" |
46 | | - target="_blank" |
47 | | - rel="noopener noreferrer" |
48 | | - className="bg-[#1a1d23] hover:bg-[#22262d] px-6 py-2 rounded-md font-medium transition border border-white/10 inline-flex items-center gap-2" |
49 | | - > |
50 | | - <GithubIcon size={20} /> |
51 | | - Source Code |
52 | | - </a> |
53 | | - </div> |
54 | | - <section className="w-full max-w-5xl flex flex-col md:flex-row items-center justify-between mt-20"> |
55 | | - <div className="max-w-lg text-left"> |
56 | | - <h2 className="text-3xl font-semibold mb-2"> |
57 | | - Find what you need, |
58 | | - <br /> |
59 | | - <span className="text-cyan-400">whenever you need</span> |
60 | | - </h2> |
61 | | - <p className="opacity-70 text-sm"> |
62 | | - Search through thousands of mods spanning across hundreds of games |
63 | | - instantly. Filter by category, popularity and more. |
64 | | - </p> |
65 | | - </div> |
| 40 | + <div className="mb-20 flex gap-4"> |
| 41 | + <Button variant="primary" size="lg" asChild> |
| 42 | + <a href="/download" target="_blank" rel="noopener noreferrer"> |
| 43 | + <DownloadIcon /> |
| 44 | + Download |
| 45 | + </a> |
| 46 | + </Button> |
| 47 | + <Button size="lg" asChild> |
| 48 | + <a |
| 49 | + href="https://github.com/void-modding/" |
| 50 | + target="_blank" |
| 51 | + rel="noopener noreferrer" |
| 52 | + > |
| 53 | + <GithubIcon /> |
| 54 | + Source Code |
| 55 | + </a> |
| 56 | + </Button> |
| 57 | + </div> |
| 58 | + <section className="mt-20 flex w-full max-w-5xl flex-col items-center justify-between md:flex-row"> |
| 59 | + <div className="max-w-lg text-left"> |
| 60 | + <h2 className="mb-2 font-semibold text-3xl"> |
| 61 | + Find what you need, |
| 62 | + <br /> |
| 63 | + <span className="text-cyan-400">whenever you need</span> |
| 64 | + </h2> |
| 65 | + <p className="text-sm opacity-70"> |
| 66 | + Search through thousands of mods spanning across hundreds of games |
| 67 | + instantly. Filter by category, popularity and more. |
| 68 | + </p> |
| 69 | + </div> |
66 | 70 |
|
67 | | - <div> |
68 | | - <img src="Placeholder.png"></img> |
69 | | - {/* I guess we adding an image here */} |
70 | | - </div> |
71 | | - </section> |
| 71 | + <div> |
| 72 | + <img src="Placeholder.png"></img> |
| 73 | + {/* I guess we adding an image here */} |
| 74 | + </div> |
| 75 | + </section> |
72 | 76 |
|
73 | | - <section className="w-full max-w-5xl flex flex-col md:flex-row items-center justify-between mt-20"> |
74 | | - <div> |
75 | | - <img src="Placeholder.png"></img> |
76 | | - {/* I guess we adding an image here */} |
77 | | - </div> |
| 77 | + <section className="mt-20 flex w-full max-w-5xl flex-col items-center justify-between md:flex-row"> |
| 78 | + <div> |
| 79 | + <img src="Placeholder.png"></img> |
| 80 | + {/* I guess we adding an image here */} |
| 81 | + </div> |
78 | 82 |
|
79 | | - <div className="max-w-lg text-left"> |
80 | | - <h2 className="text-3xl font-semibold mb-2"> |
81 | | - Automaticlly installs |
82 | | - <br /> |
83 | | - <span className="text-cyan-400">for you</span> |
84 | | - </h2> |
85 | | - <p className="opacity-70 text-sm"> |
86 | | - Automaticly installs mods for you with a single click. No more |
87 | | - manual installs, no more broken mods. |
88 | | - </p> |
89 | | - </div> |
90 | | - </section> |
91 | | - </main> |
92 | | - </div> |
93 | | - ); |
| 83 | + <div className="max-w-lg text-left"> |
| 84 | + <h2 className="mb-2 font-semibold text-3xl"> |
| 85 | + Automaticlly installs |
| 86 | + <br /> |
| 87 | + <span className="text-cyan-400">for you</span> |
| 88 | + </h2> |
| 89 | + <p className="text-sm opacity-70"> |
| 90 | + Automaticly installs mods for you with a single click. No more |
| 91 | + manual installs, no more broken mods. |
| 92 | + </p> |
| 93 | + </div> |
| 94 | + </section> |
| 95 | + </main> |
| 96 | + </div> |
| 97 | + ); |
94 | 98 | } |
0 commit comments