Skip to content

Commit 7e4358a

Browse files
committed
update homepage
1 parent 8f53506 commit 7e4358a

1 file changed

Lines changed: 16 additions & 9 deletions

File tree

src/routes/+page.svelte

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@
55
66
const profiles = [
77
{
8-
name: "GitHub",
98
url: "https://github.com/hyperz111",
109
icon: "github",
1110
},
11+
{
12+
url: "https://discord.gg/hyperz111",
13+
icon: "discord",
14+
},
1215
];
1316
1417
const config = {
@@ -23,15 +26,19 @@
2326
<Head {config} />
2427

2528
<div class="flex flex-col gap-2 md:flex-row">
26-
<div>
27-
<img class="mx-auto max-h-fit max-w-3xs rounded border-4 border-neutral-600" src="/favicon.png" alt="Profile" />
28-
<ul class="mx-auto my-2 flex w-fit flex-row flex-wrap-reverse justify-center gap-2">
29-
{#each profiles as { name, icon, url } (url)}
30-
<li><a href={url} class="flex items-center gap-1"><Icon {icon} />{name}</a></li>
31-
{/each}
32-
</ul>
29+
<div class="flex md:flex-col w-fit">
30+
<img class="m-auto max-h-fit max-w-30 md:max-w-60 rounded border-4 border-neutral-600" src="/favicon.png" alt="Profile" />
31+
<div class="grow mx-4 md:*:text-center">
32+
<h2 class="text-3xl font-semibold">Hyper-Z11</h2>
33+
<p class="text-gray-500">The beginner programmer</p>
34+
<ul class="md:mx-auto my-2 flex w-fit flex-row flex-wrap-reverse justify-center gap-2">
35+
{#each profiles as { icon, url } (url)}
36+
<li><a href={url} class="flex items-center gap-1"><Icon {icon} /></a></li>
37+
{/each}
38+
</ul>
39+
</div>
3340
</div>
34-
<div>
41+
<div class="grow">
3542
<section id="about">
3643
<h2>About</h2>
3744
<p class="**:inline">

0 commit comments

Comments
 (0)