☠️ RESET for v2

This commit is contained in:
2021-09-14 13:00:12 +02:00
parent 511b0c85e5
commit bdbf511a75
124 changed files with 1612 additions and 11094 deletions

View File

@@ -0,0 +1,25 @@
<script lang="ts">
export let title: string = ''
export let description: string = ''
export let image: string = ''
export let url: string = undefined
export let type: string = 'website'
export let card: string = 'summary_large_image'
export let creator: string = '@flayks'
</script>
<svelte:head>
<title>{title}</title>
<meta name="description" content={description}>
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={image} />
<meta property="og:type" content={type} />
{#if url}
<meta property="og:url" content={url} />
{/if}
<meta property="twitter:card" content={card} />
<meta property="twitter:creator" content={creator} />
</svelte:head>

View File

@@ -0,0 +1,3 @@
<script lang="ts">
export let location
</script>

View 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>