- {#each locations as location, index}
+
+ {#each locations as location}
{/each}
diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte
index be94a91..efcbd60 100644
--- a/src/routes/__layout.svelte
+++ b/src/routes/__layout.svelte
@@ -50,11 +50,17 @@
flag {
id
}
+ locations {
+ slug
+ }
}
continent {
name
slug
+ countries {
+ slug
+ }
}
settings {
diff --git a/src/style/organisms/_locations.scss b/src/style/organisms/_locations.scss
index 32ce9e9..7f79006 100644
--- a/src/style/organisms/_locations.scss
+++ b/src/style/organisms/_locations.scss
@@ -1,5 +1,5 @@
.browse {
- margin-top: 96px;
+ margin: 96px 0 128px;
// Description
&__description {
@@ -17,9 +17,12 @@
// Continents
&__continents {
+ display: flex;
+ justify-content: center;
text-align: center;
- button {
+ li {
+ display: block;
margin: 0 8px;
}
}
@@ -28,7 +31,7 @@
&__locations {
width: 70%;
max-width: 1200px;
- margin: 88px auto 80px;
+ margin: 88px auto 0;
padding: 0 32px;
@include bp (mob-lg) {
@@ -43,7 +46,7 @@
display: flex;
flex-flow: row wrap;
width: 100%;
- margin: 104px auto 80px;
+ margin-top: 104px;
}
.location {