Browse Source

Rename view page to compose

master
buttercat1791 1 year ago
parent
commit
fc4e575927
  1. 14
      src/routes/new/compose/+page.svelte

14
src/routes/new/compose/+page.svelte

@ -0,0 +1,14 @@ @@ -0,0 +1,14 @@
<script lang='ts'>
import Preview from "$lib/components/Preview.svelte";
import { parser } from "$lib/parser";
import { Heading } from "flowbite-svelte";
</script>
<div class='w-full flex justify-center'>
<main class='main-leather flex flex-col space-y-4 max-w-2xl w-full mt-4 mb-4'>
<Heading tag='h1' class='h-leather mb-2'>Compose</Heading>
<Preview rootIndexId={$parser.getRootIndexId()} allowEditing={true} />
</main>
</div>
Loading…
Cancel
Save