aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/About.svelte16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/components/About.svelte b/src/components/About.svelte
index 317c190e..c05f2dc2 100644
--- a/src/components/About.svelte
+++ b/src/components/About.svelte
@@ -85,10 +85,12 @@
</div>
</div>
-<div>
- <h3 class="text-5xl font-medium mb-5 text-center">{$t('about.locations.header')}</h3>
- <p class="text-secondary text-xl w-full md:w-10/12 lg:w-2/3 2xl:w-[800px] mx-auto mb-10">
- {@html $t('about.locations.description')}
- </p>
- <LocationsMap {locations} />
-</div>
+{#if locations?.length}
+ <div>
+ <h3 class="text-5xl font-medium mb-5 text-center">{$t('about.locations.header')}</h3>
+ <p class="text-secondary text-xl w-full md:w-10/12 lg:w-2/3 2xl:w-[800px] mx-auto mb-10">
+ {@html $t('about.locations.description')}
+ </p>
+ <LocationsMap {locations} />
+ </div>
+{/if}