1
0
resumarkdown/src/routes/+page.svelte

37 lines
821 B
Svelte
Raw Normal View History

2024-10-10 21:46:58 -05:00
<script lang="ts">
2024-10-11 01:27:23 -05:00
import Content from '$lib/components/content.svelte';
2024-10-10 21:46:58 -05:00
import Headline from '$lib/components/headline.svelte';
2024-10-11 00:23:32 -05:00
import NavItem from '$lib/components/nav-item.svelte';
import NavTree from '$lib/components/nav-tree.svelte';
2024-10-10 21:46:58 -05:00
</script>
2024-10-10 21:02:54 -05:00
<svelte:head>
<title>resumarkdown</title>
</svelte:head>
<header>
<Headline>resumarkdown</Headline>
2024-10-11 00:23:32 -05:00
<NavTree>
2024-10-11 01:03:27 -05:00
<NavItem destination="content">content</NavItem>
<NavItem destination="style">style</NavItem>
<NavItem destination="preview">preview</NavItem>
2024-10-11 00:23:32 -05:00
</NavTree>
</header>
2024-10-11 01:27:23 -05:00
<main>
<Content pane="content">
<p>content</p>
</Content>
<Content pane="style">
<p>style</p>
</Content>
<Content pane="preview">
<p>preview</p>
</Content>
</main>
<style lang="less">
p {
margin: 0;
padding: @padding-md;
}
</style>