mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-04-26 17:11:21 +00:00
feat: scaffold for contact and blog routes
This commit is contained in:
parent
4a08fe337b
commit
292d8f58be
4 changed files with 40 additions and 0 deletions
14
src/routes/blog/+page.svelte
Normal file
14
src/routes/blog/+page.svelte
Normal 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
6
src/routes/blog/+page.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
/** @type {import('./$types').PageLoad} */
|
||||
export function load() {
|
||||
return {
|
||||
title: `Blog`
|
||||
};
|
||||
}
|
14
src/routes/contact/+page.svelte
Normal file
14
src/routes/contact/+page.svelte
Normal 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>
|
6
src/routes/contact/+page.ts
Normal file
6
src/routes/contact/+page.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
/** @type {import('./$types').PageLoad} */
|
||||
export function load() {
|
||||
return {
|
||||
title: `Contact`
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue