]> git.r.bdr.sh - rbdr/prompt/blame - src/routes/[locale]/index.svelte
Pass public path variable
[rbdr/prompt] / src / routes / [locale] / index.svelte
CommitLineData
38431710
RBR
1<script context="module">
2 export async function load({ page }) {
3 return {
4 props: {
5 locale: page.params.locale
6 }
7 }
8 }
9</script>
10<script>
11 import NewPrompt from '$lib/components/new_prompt.svelte';
12 export let locale;
13</script>
156fa16e
RBR
14<svelte:head>
15 <title>prompt @ unlimited.pizza</title>
16 <meta name="description" content="Writing prompts delivered to your DOOR" />
17</svelte:head>
38431710 18<NewPrompt locale={locale} />