☠️ RESET for v2
This commit is contained in:
27
src/components/organisms/Locations.svelte
Normal file
27
src/components/organisms/Locations.svelte
Normal file
@@ -0,0 +1,27 @@
|
||||
<script>
|
||||
// Components
|
||||
import Button from '$components/atoms/Button.svelte'
|
||||
import Location from '$components/molecules/Location.svelte'
|
||||
|
||||
export let locations
|
||||
</script>
|
||||
|
||||
<div class="browse">
|
||||
<div class="browse__description">
|
||||
<p>Browse all the cities and countries</p>
|
||||
</div>
|
||||
|
||||
<ul class="browse__continents" id="continents">
|
||||
<li>
|
||||
<Button type="button" text="All" class="button-outline" />
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="browse__locations" id="locations_list" role="list">
|
||||
{#each locations as location (location.id)}
|
||||
<Location
|
||||
location={location}
|
||||
/>
|
||||
{/each}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user