]> git.r.bdr.sh - rbdr/prompt/blob - src/routes/[locale]/[terms].svelte
Add the CI deployment files
[rbdr/prompt] / src / routes / [locale] / [terms].svelte
1 <script context="module">
2 export async function load({ page }) {
3 return {
4 props: {
5 terms: page.params.terms
6 }
7 }
8 }
9 </script>
10 <script>
11 import Prompt from '$lib/components/prompt.svelte';
12 export let terms;
13 </script>
14
15 <svelte:head>
16 <title>{terms} - prompt @ unlimited.pizza</title>
17 <meta name="description" content="Your writing prompt is: {terms}" />
18 </svelte:head>
19
20 <Prompt terms={terms} />