diff --git a/src/routes/_layout.svelte b/src/routes/_layout.svelte index 97301db..48d8332 100644 --- a/src/routes/_layout.svelte +++ b/src/routes/_layout.svelte @@ -87,7 +87,7 @@ /* ** Manipulate data */ - if ($countries) { + if ($countries) { // Replace each countrie's continent by the database $countries.forEach(count => count.continent = $continents.find(cont => cont.id === count.continent.id)) diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 4bfdb0e..b9418e2 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -38,10 +38,10 @@ import Button from 'atoms/Button' import IconGlobeSmall from 'atoms/IconGlobeSmall' import IconGlobe from 'atoms/IconGlobe' - import InteractiveGlobe from 'molecules/InteractiveGlobe' - import Carousel from 'organisms/Carousel' - import Fullscreen from 'organisms/Fullscreen' - import Locations from 'organisms/Locations' + // import InteractiveGlobe from 'molecules/InteractiveGlobe' + // import Carousel from 'organisms/Carousel' + // import Fullscreen from 'organisms/Fullscreen' + // import Locations from 'organisms/Locations' import Footer from 'organisms/Footer' import SocialMetas from 'utils/SocialMetas' import Transition from 'utils/Transition' @@ -51,10 +51,10 @@ // Props and Variables export let photos = '' const { page } = stores() - // let Carousel - // let Fullscreen - // let InteractiveGlobe - // let Locations + let Carousel + let Fullscreen + let InteractiveGlobe + let Locations // Reset current location if existing currentLocation.set() @@ -66,10 +66,10 @@ */ onMount(async () => { // Load components - // await import('organisms/Carousel').then(module => Carousel = module.default) - // await import('organisms/Fullscreen').then(module => Fullscreen = module.default) - // await import('molecules/InteractiveGlobe').then(module => InteractiveGlobe = module.default) - // await import('organisms/Locations').then(module => Locations = module.default) + await import('organisms/Carousel').then(module => Carousel = module.default) + await import('organisms/Fullscreen').then(module => Fullscreen = module.default) + await import('molecules/InteractiveGlobe').then(module => InteractiveGlobe = module.default) + await import('organisms/Locations').then(module => Locations = module.default) // Page is loaded pageReady.set(true) @@ -108,10 +108,10 @@ @@ -126,7 +126,7 @@

{$site.explore_globe}

- +
@@ -135,8 +135,8 @@
- - + +