|
1 | | -import type { Component } from "solid-js"; |
2 | 1 | import { render } from "solid-js/web"; |
3 | 2 | import "./index.css"; |
4 | 3 |
|
5 | | -import User from "./components/User"; |
| 4 | +import Background from "./components/Background"; |
| 5 | +import Main from "./sections/Main"; |
| 6 | +import Members from "./sections/Members"; |
6 | 7 |
|
7 | | -import linuxRoom from "./assets/Linux-user-Room.webp"; |
8 | | -const App: Component = () => ( |
| 8 | +const App = () => ( |
9 | 9 | <> |
10 | | - <img |
11 | | - src={linuxRoom} |
12 | | - alt="Linux user room" |
13 | | - class="fixed z-0 h-screen w-screen object-cover" |
14 | | - /> |
15 | | - <div class="fixed inset-0 z-0 bg-gradient-to-b from-slate-950/40 to-slate-950" /> |
16 | | - |
17 | | - <section class="relative z-10 flex h-[90vh] snap-start items-center px-[8%] text-white"> |
18 | | - <main class="space-y-7"> |
19 | | - <h1 class="font-logo text-7xl text-violet-50"> |
20 | | - Seg |
21 | | - <span class="text-red-400 underline decoration-red-400 decoration-wavy decoration-2"> |
22 | | - fault |
23 | | - </span>{" "} |
24 | | - Club |
25 | | - </h1> |
26 | | - <div class="space-y-4 font-mono text-lg"> |
27 | | - <p>Linux, Debugging, Chaos and legendary segfaults</p> |
28 | | - <a |
29 | | - class="rounded bg-slate-700 p-2 transition hover:bg-slate-600" |
30 | | - href="https://discord.gg/gohar" |
31 | | - target="_blank" |
32 | | - > |
33 | | - Join{" "} |
34 | | - <span class="underline decoration-blue-400 decoration-2"> |
35 | | - @discord.gg/gohar |
36 | | - </span> |
37 | | - </a> |
38 | | - </div> |
39 | | - </main> |
40 | | - </section> |
41 | | - |
42 | | - <section class="relative z-10 h-screen w-full snap-start"> |
43 | | - <article class="h-screen w-full overflow-y-scroll bg-slate-800/60 p-4 text-white backdrop-blur-sm [scrollbar-width:none]"> |
44 | | - <h2 class="m-4 text-center text-4xl text-slate-300">Our Members</h2> |
45 | | - <ul class="mx-auto my-10 grid max-w-3xl grid-cols-2 gap-5 max-md:grid-cols-1"> |
46 | | - <li> |
47 | | - <User |
48 | | - username="Thatmagicalcat" |
49 | | - avatarUrl="https://cdn.discordapp.com/avatars/815189874478546954/fba107a0a4978c1e11063386102ba7ff.png?size=1024" |
50 | | - /> |
51 | | - </li> |
52 | | - <li> |
53 | | - <User |
54 | | - username="Wicks" |
55 | | - avatarUrl="https://cdn.discordapp.com/avatars/1159829981803860009/80e4790205157fa6b4152f07c4f27ecf.png?size=1024" |
56 | | - /> |
57 | | - </li> |
58 | | - <li> |
59 | | - <User |
60 | | - username="DuskyElf" |
61 | | - avatarUrl="https://cdn.discordapp.com/avatars/820957214264000513/fed1f113e379ef2b2921afb54b154394.png?size=1024" |
62 | | - /> |
63 | | - </li> |
64 | | - <li> |
65 | | - <User |
66 | | - username="ItsCoral" |
67 | | - avatarUrl="https://cdn.discordapp.com/avatars/950347120962064464/460f6977493399d10b689174924db21f.png?size=1024" |
68 | | - /> |
69 | | - </li> |
70 | | - <li> |
71 | | - <User |
72 | | - username="The master of rick rolls" |
73 | | - avatarUrl="https://cdn.discordapp.com/avatars/950521169432432700/92b68d623d59a2be9650b80999d0e345.png?size=1024" |
74 | | - /> |
75 | | - </li> |
76 | | - </ul> |
77 | | - </article> |
78 | | - </section> |
| 10 | + <Background src="/assets/Linux-user-Room.webp" /> |
| 11 | + <Main className="h-[90vh]" /> |
| 12 | + <Members /> |
79 | 13 | </> |
80 | 14 | ); |
81 | 15 |
|
|
0 commit comments