~repos /website

#astro#js#html#css

git clone https://pyrossh.dev/repos/website.git

木 Personal website of pyrossh. Built with astrojs, shiki, vite.


0e3be1ec pyrossh

1 year ago
fix html
Files changed (2) hide show
  1. src/app.html +13 -11
  2. 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
- <head>
4
+ <head>
4
- <title>pyros.sh</title>
5
- <meta charset="utf-8" />
5
+ <meta charset="utf-8" />
6
- <link rel="icon" type="image/png" href="%sveltekit.assets%/favicon.png" />
6
+ <link rel="icon" type="image/png" href="%sveltekit.assets%/favicon.png" />
7
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8
- %unocss-svelte-scoped.global% %sveltekit.head%
8
+ %unocss-svelte-scoped.global% %sveltekit.head%
9
- </head>
9
+ </head>
10
+
10
- <body data-sveltekit-preload-data="hover">
11
+ <body data-sveltekit-preload-data="hover">
11
- <div style="display: contents">%sveltekit.body%</div>
12
+ <div style="display: contents">%sveltekit.body%</div>
12
- </body>
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
- <p>{title}</p>
16
+ <h2>{title}</h2>
17
17
  </a>
18
18
  <!-- {@render children()} -->
19
19
  <slot />