Finish sveltekit migration

This commit is contained in:
Michal Vanko 2023-02-02 19:55:29 +01:00
parent faf0abbb1e
commit 615b3759fc
9 changed files with 5 additions and 4 deletions

View File

@ -9,7 +9,7 @@
twitchIframeClass,
twitchStreamPromoClass,
welcomeNoteClass,
} from './index.css'
} from './page.css'
</script>
<svelte:head>

View File

@ -1,7 +1,7 @@
<script lang="ts">
import ArticleFooter from '../../../components/blog/ArticleFooter.svelte'
import Paginator from '../../../components/paginator/Paginator.svelte'
import { postListClass, seeAllClass } from './index.css'
import { postListClass, seeAllClass } from './page.css'
import type { PageData } from './$types'
export let data: PageData

View File

@ -1,7 +1,7 @@
<script lang="ts">
import ArticleFooter from '../../../components/blog/ArticleFooter.svelte'
import type { PageData } from './$types'
import { contentClass } from './blog.css'
import { contentClass } from './page.css'
export let data: PageData
</script>

View File

@ -1,6 +1,7 @@
import { readFile } from 'fs'
import { promisify } from 'util'
import fm from 'front-matter'
// TODO Switch marked for unified
import marked from 'marked'
import { parseField } from '../../markdown/parse-markdown'
import type { PageServerLoad } from './$types'

View File

@ -4,7 +4,7 @@
import Presentation from '../../components/portfolio/presentation.svelte'
import type { PageData } from './$types'
import { listClass, listItemClass, nameTagClass } from './index.css'
import { listClass, listItemClass, nameTagClass } from './page.css'
export let data: PageData
</script>