Setup some components
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user