🚧 Migrate to new SvelteKit routing system

A bit annoying but for the best I guess?
This commit is contained in:
2022-08-16 15:54:15 +02:00
parent cf2becc931
commit 5e5c08ddd1
40 changed files with 775 additions and 774 deletions

View File

@@ -0,0 +1,41 @@
<style lang="scss">
@import "../../style/pages/explore";
</style>
<script lang="ts">
import { getContext } from 'svelte'
// Components
import Metas from '$components/Metas.svelte'
import PageTransition from '$components/PageTransition.svelte'
import InteractiveGlobe2 from '$components/organisms/InteractiveGlobe2.svelte'
import Locations from '$components/organisms/Locations.svelte'
import ShopModule from '$components/organisms/ShopModule.svelte'
import NewsletterModule from '$components/organisms/NewsletterModule.svelte'
import Heading from '$components/molecules/Heading.svelte'
const { locations }: any = getContext('global')
</script>
<Metas
title="Locations"
description=""
image=""
/>
<PageTransition name="explore">
<Heading
text="Explore the globe to discover unique locations across the world"
/>
<section class="explore__locations">
<InteractiveGlobe2 />
<Locations {locations} />
</section>
<section class="grid-modules is-spaced grid">
<div class="wrap">
<ShopModule />
<NewsletterModule />
</div>
</section>
</PageTransition>