From bee59dab9045ec8be428265072e9aed983cbd673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Sun, 26 Sep 2021 23:36:58 +0200 Subject: [PATCH] Query Location page content --- src/routes/[country]/[location].svelte | 1 - .../[country]/[location]/[photo].svelte | 1 + src/routes/[country]/[location]/index.svelte | 65 +++++++++++++++++++ 3 files changed, 66 insertions(+), 1 deletion(-) delete mode 100644 src/routes/[country]/[location].svelte create mode 100644 src/routes/[country]/[location]/[photo].svelte create mode 100644 src/routes/[country]/[location]/index.svelte diff --git a/src/routes/[country]/[location].svelte b/src/routes/[country]/[location].svelte deleted file mode 100644 index 12fd75f..0000000 --- a/src/routes/[country]/[location].svelte +++ /dev/null @@ -1 +0,0 @@ -

Hello location

\ No newline at end of file diff --git a/src/routes/[country]/[location]/[photo].svelte b/src/routes/[country]/[location]/[photo].svelte new file mode 100644 index 0000000..fb67c2f --- /dev/null +++ b/src/routes/[country]/[location]/[photo].svelte @@ -0,0 +1 @@ +photo page \ No newline at end of file diff --git a/src/routes/[country]/[location]/index.svelte b/src/routes/[country]/[location]/index.svelte new file mode 100644 index 0000000..4406bd8 --- /dev/null +++ b/src/routes/[country]/[location]/index.svelte @@ -0,0 +1,65 @@ + + +

Hello {data.name}

+ +{#each photos as { image: { id, title }, slug }} +
+ + {title}, {data.name} + +
+{/each} + + + \ No newline at end of file