Setup some components

This commit is contained in:
2021-09-24 11:03:08 +02:00
parent bdbf511a75
commit bb8a67a82a
6 changed files with 37 additions and 8 deletions

View File

@@ -1,9 +1,9 @@
<script>
<script lang="ts">
// Components
import Button from '$components/atoms/Button.svelte'
import Location from '$components/molecules/Location.svelte'
export let locations
export let locations: any
</script>
<div class="browse">
@@ -13,12 +13,12 @@
<ul class="browse__continents" id="continents">
<li>
<Button type="button" text="All" class="button-outline" />
<Button tag="button" text="All" class="button-outline" />
</li>
</ul>
<div class="browse__locations" id="locations_list" role="list">
{#each locations as location (location.id)}
{#each locations as location (location.slug)}
<Location
location={location}
/>