2024-04-03 02:16:22 -07:00
|
|
|
<script lang="ts">
|
|
|
|
import ChevronRight from 'svelte-radix/ChevronRight.svelte';
|
|
|
|
import Code from 'svelte-radix/Code.svelte';
|
|
|
|
import type { PageData } from './$types.js';
|
|
|
|
// import { config } from '$lib/stores/index.js';
|
|
|
|
import { cn } from '$lib/utils.js';
|
2024-04-03 20:25:56 -07:00
|
|
|
import Article from '$lib/components/Blog/Article.svelte';
|
2024-04-03 02:16:22 -07:00
|
|
|
|
|
|
|
let doc = {
|
|
|
|
title: 'Test Post',
|
2024-04-03 16:22:43 -07:00
|
|
|
description: 'An insightful and succinct blurb about the post.'
|
2024-04-03 02:16:22 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
export let data: PageData;
|
|
|
|
$: markdown = data.markdown;
|
|
|
|
// $: doc = data.metadata;
|
|
|
|
// $: componentSource = data.metadata.source?.replace('default', $config.style ?? 'default');
|
2024-04-02 23:01:04 -07:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<svelte:head>
|
|
|
|
<title>Youwen Wu | The Coredump</title>
|
|
|
|
<meta name="description" content="My blog on computer science, math, and more." />
|
|
|
|
<meta name="author" content="Youwen Wu" />
|
|
|
|
</svelte:head>
|
|
|
|
|
2024-04-03 20:25:56 -07:00
|
|
|
<main class="max-w-4xl md:mx-auto mx-4 mt-8 mb-14">
|
|
|
|
<Article title={doc.title} description={doc.description} content={markdown} />
|
2024-04-03 02:16:22 -07:00
|
|
|
</main>
|