feat: scaffold for contact and blog routes

This commit is contained in:
Bart van der Braak 2024-01-17 21:56:06 +01:00
parent 4a08fe337b
commit 292d8f58be
4 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<script lang="ts">
import * as PageHeader from '$lib/components/site/page-header';
</script>
<div class="container relative max-w-[980px]">
<PageHeader.Root class="pb-8">
<PageHeader.Heading>Written pieces</PageHeader.Heading>
<PageHeader.Description>
Stuff I've written for others to read, discuss, and hopefully enjoy.
</PageHeader.Description>
</PageHeader.Root>
<section></section>
</div>

6
src/routes/blog/+page.ts Normal file
View file

@ -0,0 +1,6 @@
/** @type {import('./$types').PageLoad} */
export function load() {
return {
title: `Blog`
};
}

View file

@ -0,0 +1,14 @@
<script lang="ts">
import * as PageHeader from '$lib/components/site/page-header';
</script>
<div class="container relative max-w-[980px]">
<PageHeader.Root class="pb-8">
<PageHeader.Heading>Contact me</PageHeader.Heading>
<PageHeader.Description>
Even though I'm not a big fan of social media, I'm still reachable through.
</PageHeader.Description>
</PageHeader.Root>
<section></section>
</div>

View file

@ -0,0 +1,6 @@
/** @type {import('./$types').PageLoad} */
export function load() {
return {
title: `Contact`
};
}