diff --git a/src/lib/components/Card.svelte b/src/lib/components/Card.svelte index f5b1a48..57592df 100644 --- a/src/lib/components/Card.svelte +++ b/src/lib/components/Card.svelte @@ -12,7 +12,7 @@
{#if data.image} - {""} + {''} {/if}

{data.title}

{#if data.description} @@ -66,7 +66,7 @@ padding: 0.25rem 0.5rem; border-radius: 0.25rem; } - + .image { width: 100%; height: 100%; diff --git a/src/lib/mardown/Layout.svelte b/src/lib/mardown/Layout.svelte index 5e83784..54153c6 100644 --- a/src/lib/mardown/Layout.svelte +++ b/src/lib/mardown/Layout.svelte @@ -1,7 +1,7 @@

{title}

- \ No newline at end of file + diff --git a/src/routes/shs/ppp/+page.md b/src/routes/shs/ppp/+page.md index 6158f34..72013db 100644 --- a/src/routes/shs/ppp/+page.md +++ b/src/routes/shs/ppp/+page.md @@ -5,15 +5,10 @@ description: PPP tags: --- - - - - - \ No newline at end of file +
+ +
diff --git a/svelte.config.js b/svelte.config.js index 0774496..af2f4fe 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,17 +1,15 @@ -import adapter from '@sveltejs/adapter-static'; +import adapter from '@sveltejs/adapter-auto'; import { vitePreprocess } from '@sveltejs/kit/vite'; import { mdsvex } from 'mdsvex'; /** @type {import('@sveltejs/kit').Config} */ const config = { - // Consult https://kit.svelte.dev/docs/integrations#preprocessors - // for more information about preprocessors extensions: ['.svelte', '.md'], preprocess: [ vitePreprocess(), mdsvex({ extensions: ['.md'], - layout: "src/lib/mardown/Layout.svelte" + layout: 'src/lib/mardown/Layout.svelte' }) ],