~repos /website
git clone https://pyrossh.dev/repos/website.git
木 Personal website of pyrossh. Built with astrojs, shiki, vite.
310293ca
—
pyrossh 1 year ago
Fix header links
src/lib/components/Header.svelte
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import { base } from '$app/paths';
|
|
3
2
|
import SocialLinks from './SocialLinks.svelte';
|
|
4
3
|
</script>
|
|
5
4
|
|
|
6
5
|
<header>
|
|
7
6
|
<nav class="py-2 md:py-0 flex w-full flex-1 flex-row justify-center bg-black font-mono">
|
|
8
7
|
<div class="flex flex-row flex-1 items-center p-3 max-w-5xl">
|
|
9
|
-
<a class="flex text-#f1fa8c pr-4 hover:no-underline ml-0 pl-0" href="
|
|
8
|
+
<a class="flex text-#f1fa8c pr-4 hover:no-underline ml-0 pl-0" href="/">
|
|
10
9
|
<span class="mr-1 font-logo font-bold">木</span> pyros.sh
|
|
11
10
|
</a>
|
|
12
11
|
<div
|
|
13
12
|
class="flex flex-row flex-1 items-center text-white sm:[&>a]:mx-1 [&>a]:px-2 [&>a:hover]:bg-gray-600 data-current:child:bg-gray-600"
|
|
14
13
|
>
|
|
15
14
|
<div>|</div>
|
|
16
|
-
<a href="
|
|
15
|
+
<a href="/cv" rel="prefetch"> cv </a>
|
|
17
16
|
<div>|</div>
|
|
18
|
-
<a href="
|
|
17
|
+
<a href="/posts" rel="prefetch"> posts </a>
|
|
19
18
|
</div>
|
|
20
19
|
<SocialLinks />
|
|
21
20
|
</div>
|