|
1 | 1 | <script>
|
2 |
| - import { Accordion, AccordionItem, CodeBlock } from '@skeletonlabs/skeleton'; |
3 |
| -
|
4 |
| - const projects = { |
5 |
| - 'console-utils-rs': { |
6 |
| - description: 'CLI Input Library for Rust, down below is an Example!', |
7 |
| - url: 'https://github.com/nwrenger/console-utils-rs' |
| 2 | + let projects = [ |
| 3 | + { |
| 4 | + title: 'console-utils-rs', |
| 5 | + description: 'CLI Input Library for Rust', |
| 6 | + href: 'https://github.com/nwrenger/console-utils-rs' |
8 | 7 | },
|
9 |
| - dashboard: { |
| 8 | + { |
| 9 | + title: 'dashboard', |
10 | 10 | description: 'Dashboard of all my websites',
|
11 |
| - url: 'https://github.com/nwrenger/dashboard' |
| 11 | + href: 'https://github.com/nwrenger/dashboard' |
12 | 12 | },
|
13 |
| - 'doenermann-bot': { |
| 13 | + { |
| 14 | + title: 'doenermann-bot', |
14 | 15 | description: 'The Dönermann Discord Bot used on a Discord-Server of mine',
|
15 |
| - url: 'https://github.com/nwrenger/doenermann-bot' |
| 16 | + href: 'https://github.com/nwrenger/doenermann-bot' |
16 | 17 | },
|
17 |
| - 'Escaping-from-the-Supernova': { |
| 18 | + { |
| 19 | + title: 'Escaping-from-the-Supernova', |
18 | 20 | description: 'A procedural generated textadventure coded in Rust',
|
19 |
| - url: 'https://github.com/nwrenger/Escaping-from-the-Supernova' |
| 21 | + href: 'https://github.com/nwrenger/Escaping-from-the-Supernova' |
20 | 22 | },
|
21 |
| - eta: { |
22 |
| - description: ' An efficient Code Editor made from scratch using egui! ', |
23 |
| - url: 'https://github.com/nwrenger/eta' |
| 23 | + { |
| 24 | + title: 'eta', |
| 25 | + description: 'An efficient Code Editor made from scratch using egui!', |
| 26 | + href: 'https://github.com/nwrenger/eta' |
24 | 27 | },
|
25 |
| - 'flip-ui': { |
| 28 | + { |
| 29 | + title: 'flip-ui', |
26 | 30 | description: 'The UI Builder for the Flipper Zero',
|
27 |
| - url: 'https://github.com/flip-ui' |
| 31 | + href: 'https://github.com/flip-ui' |
28 | 32 | },
|
29 |
| - hadar: { |
| 33 | + { |
| 34 | + title: 'hadar', |
30 | 35 | description: 'The current code of Hunger of Hadar, a battlesnake agent',
|
31 |
| - url: 'https://github.com/nwrenger/hadar' |
| 36 | + href: 'https://github.com/nwrenger/hadar' |
32 | 37 | },
|
33 |
| - portfolio: { |
| 38 | + { |
| 39 | + title: 'portfolio', |
34 | 40 | description: 'My personal Portfolio, or more precise THIS website',
|
35 |
| - url: 'https://github.com/nwrenger/portfolio' |
| 41 | + href: 'https://github.com/nwrenger/portfolio' |
36 | 42 | },
|
37 |
| - quickmaths: { |
| 43 | + { |
| 44 | + title: 'quickmaths', |
38 | 45 | description: 'A school project...QUICKMATHS!!!',
|
39 |
| - url: 'https://github.com/nwrenger/quickmaths' |
| 46 | + href: 'https://github.com/nwrenger/quickmaths' |
40 | 47 | },
|
41 |
| - 'schiller-db': { |
| 48 | + { |
| 49 | + title: 'schiller-db', |
42 | 50 | description: "Schillernova's Database Management Software",
|
43 |
| - url: 'https://github.com/nwrenger/schiller-db' |
| 51 | + href: 'https://github.com/nwrenger/schiller-db' |
44 | 52 | },
|
45 |
| - 'schiller-lib': { |
| 53 | + { |
| 54 | + title: 'schiller-lib', |
46 | 55 | description: 'The Schiller School Library App',
|
47 |
| - url: 'https://github.com/wrenger/schiller-lib' |
| 56 | + href: 'https://github.com/wrenger/schiller-lib' |
48 | 57 | },
|
49 |
| - 'schulen-im-chaos': { |
| 58 | + { |
| 59 | + title: 'schulen-im-chaos', |
50 | 60 | description: 'Homework-Sharing Platform',
|
51 |
| - url: 'https://github.com/schulen-im-chaos' |
| 61 | + href: 'https://github.com/schulen-im-chaos' |
52 | 62 | },
|
53 |
| - shitboard: { |
54 |
| - description: 'Soundboard online website', |
55 |
| - url: 'https://github.com/nwrenger/shitboard' |
| 63 | + { |
| 64 | + title: 'shitboard', |
| 65 | + description: 'Online Soundboard App', |
| 66 | + href: 'https://github.com/nwrenger/shitboard' |
56 | 67 | }
|
57 |
| - }; |
| 68 | + ]; |
58 | 69 | </script>
|
59 | 70 |
|
60 | 71 | <svelte:head>
|
61 |
| - <title>Hi, there!</title> |
62 |
| - <meta name="description" content="Hi, there!" /> |
| 72 | + <title>portfolio</title> |
| 73 | + <meta |
| 74 | + name="description" |
| 75 | + content="Hi, there! I'm Nils, a high school student passionate about coding, particularly in Rust and in Svelte." |
| 76 | + /> |
63 | 77 | </svelte:head>
|
64 | 78 |
|
65 | 79 | <div class="container space-y-8 flex flex-col items-center !max-w-6xl mx-auto p-4">
|
66 | 80 | <h1 class="h1">Hi, there!</h1>
|
67 | 81 |
|
68 |
| - <div class="card p-4 w-full"> |
69 |
| - <Accordion autocollapse> |
70 |
| - <AccordionItem open> |
71 |
| - <svelte:fragment slot="lead"><i class="fa-solid fa-house"></i></svelte:fragment> |
72 |
| - <svelte:fragment slot="summary">Welcome</svelte:fragment> |
73 |
| - <svelte:fragment slot="content" |
74 |
| - >Welcome to my very informative Website! Just go to <code class="code">Projects</code> |
75 |
| - or to <code class="code">About Me</code>. |
76 |
| - </svelte:fragment> |
77 |
| - </AccordionItem> |
78 |
| - <AccordionItem> |
79 |
| - <svelte:fragment slot="lead"><i class="fa-solid fa-diagram-project"></i></svelte:fragment> |
80 |
| - <svelte:fragment slot="summary">Projects</svelte:fragment> |
81 |
| - <svelte:fragment slot="content"> |
82 |
| - <ul class="list pb-2"> |
83 |
| - {#each Object.entries(projects) as [key, val] (key)} |
84 |
| - <li> |
85 |
| - <span class="badge-icon p-2 variant-soft-primary" |
86 |
| - ><i class="fa-solid fa-chevron-right"></i></span |
87 |
| - > |
88 |
| - <span class="flex-auto" |
89 |
| - ><span class="font-bold">{key}</span>: {val.description}</span |
90 |
| - > |
91 |
| - <a href={val.url} class="anchor" target="_blank"> |
92 |
| - <i class="fa-solid fa-up-right-from-square"></i> |
93 |
| - </a> |
94 |
| - </li> |
95 |
| - {/each} |
96 |
| - </ul> |
97 |
| - More details and other smaller Projects can be seen on |
98 |
| - <a href="https://www.github.com/nwrenger" class="anchor" target="_blank">My Github</a |
99 |
| - >.</svelte:fragment |
100 |
| - > |
101 |
| - </AccordionItem> |
102 |
| - <AccordionItem> |
103 |
| - <svelte:fragment slot="lead"><i class="fa-solid fa-user"></i></svelte:fragment> |
104 |
| - <svelte:fragment slot="summary">About Me</svelte:fragment> |
105 |
| - <svelte:fragment slot="content" |
106 |
| - >Hi there! I'm Nils, a high school student passionate about coding, particularly in <a |
107 |
| - href="https://www.rust-lang.org/" |
108 |
| - class="anchor" |
109 |
| - target="_blank">Rust</a |
110 |
| - > |
111 |
| - and in <a href="https://svelte.dev/" class="anchor" target="_blank">Svelte</a>. I have |
112 |
| - done a lot of things so far, so look for that under <code class="code">Projects</code>. |
113 |
| - Feel free to reach out for a chat about coding or anything else! |
114 |
| - </svelte:fragment> |
115 |
| - </AccordionItem> |
116 |
| - <AccordionItem> |
117 |
| - <svelte:fragment slot="lead"><i class="fa-solid fa-envelope"></i></svelte:fragment> |
118 |
| - <svelte:fragment slot="summary">Contact</svelte:fragment> |
119 |
| - <svelte:fragment slot="content" |
120 |
| - >You can contact me via my E-Mail <a |
121 |
| - href="mailto:nils@wrenger.net" |
122 |
| - class="anchor" |
123 |
| - target="_parent">nils@wrenger.net</a |
124 |
| - >.</svelte:fragment |
125 |
| - > |
126 |
| - </AccordionItem> |
127 |
| - </Accordion> |
| 82 | + <p class="text-center"> |
| 83 | + I'm Nils, a high school student passionate about coding, particularly in <a |
| 84 | + href="https://www.rust-lang.org/" |
| 85 | + class="anchor" |
| 86 | + target="_blank">Rust</a |
| 87 | + > |
| 88 | + and in <a href="https://svelte.dev/" class="anchor" target="_blank">Svelte</a>. I have done a |
| 89 | + lot of things so far, so look for that under <code class="code">Projects</code>. Feel free to |
| 90 | + reach out for a chat about coding or anything else via my E-Mail |
| 91 | + <a href="mailto:nils@wrenger.net" class="anchor" target="_parent">nils@wrenger.net</a>! |
| 92 | + </p> |
| 93 | + |
| 94 | + <div class="flex flex-col items-center"> |
| 95 | + <h2 class="h2 pb-2">Projects</h2> |
| 96 | + <code class="code">Count: {projects.length}</code> |
128 | 97 | </div>
|
129 |
| - <CodeBlock |
130 |
| - class="w-full" |
131 |
| - language="rust" |
132 |
| - code={`use console_utils::input::reveal;\n\nfn main() {\n\t// Display "Rust is awesome!" with a time interval of 0.1 seconds between each character\n\treveal("Rust is awesome!", 0.1);\n}`} |
133 |
| - ></CodeBlock> |
| 98 | + |
| 99 | + <div class="grid md:grid-cols-2 gap-4 w-full"> |
| 100 | + {#each projects as project} |
| 101 | + <a class="overflow-hidden block card card-hover" href={project.href} target="_blank"> |
| 102 | + <div class="p-4"> |
| 103 | + <h3 class="h3">{project.title}</h3> |
| 104 | + <p>{project.description}</p> |
| 105 | + </div> |
| 106 | + </a> |
| 107 | + {/each} |
| 108 | + </div> |
| 109 | + |
| 110 | + <p class="text-center"> |
| 111 | + More details and other smaller Projects can be seen on |
| 112 | + <a href="https://www.github.com/nwrenger" class="anchor" target="_blank">my Github</a> |
| 113 | + </p> |
134 | 114 | </div>
|
0 commit comments