Add navigation to World Travel page and create server load function for country regions
This commit is contained in:
7
src/routes/worldtravel/[countrycode]/+page.svelte
Normal file
7
src/routes/worldtravel/[countrycode]/+page.svelte
Normal file
@@ -0,0 +1,7 @@
|
||||
<script lang="ts">
|
||||
export let data;
|
||||
</script>
|
||||
|
||||
{#each data.regions as region}
|
||||
<p>{region.name}</p>
|
||||
{/each}
|
||||
Reference in New Issue
Block a user