~repos /website
git clone https://pyrossh.dev/repos/website.git
木 Personal website of pyrossh. Built with astrojs, shiki, vite.
0e3be1ec
—
pyrossh 1 year ago
fix html
- src/app.html +13 -11
- src/lib/components/Slide.svelte +1 -1
src/app.html
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
2
|
<html lang="en">
|
|
3
|
+
|
|
3
|
-
|
|
4
|
+
<head>
|
|
4
|
-
<title>pyros.sh</title>
|
|
5
|
-
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
-
|
|
6
|
+
<link rel="icon" type="image/png" href="%sveltekit.assets%/favicon.png" />
|
|
7
|
-
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
8
|
-
|
|
8
|
+
%unocss-svelte-scoped.global% %sveltekit.head%
|
|
9
|
-
|
|
9
|
+
</head>
|
|
10
|
+
|
|
10
|
-
|
|
11
|
+
<body data-sveltekit-preload-data="hover">
|
|
11
|
-
|
|
12
|
+
<div style="display: contents">%sveltekit.body%</div>
|
|
12
|
-
|
|
13
|
+
</body>
|
|
14
|
+
|
|
13
|
-
</html>
|
|
15
|
+
</html>
|
src/lib/components/Slide.svelte
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
rel="noopener noreferrer"
|
|
14
14
|
>
|
|
15
15
|
<div class="i-mdi-github mr-2" />
|
|
16
|
-
<
|
|
16
|
+
<h2>{title}</h2>
|
|
17
17
|
</a>
|
|
18
18
|
<!-- {@render children()} -->
|
|
19
19
|
<slot />
|