diff options
| author | Adam Soltys <[email protected]> | 2022-12-19 20:55:21 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-12-19 20:55:21 -0800 |
| commit | ca70bc2d452dd1bb942ae4a2e060a9db5021f6a4 (patch) | |
| tree | 9cd1df7a9b54e035fe3663e3277f3c3edc8a51d1 /src/components | |
| parent | 2f49bcc99b75076d8f5e0b1619f8878d91b17629 (diff) | |
| download | coinos-ui-ca70bc2d452dd1bb942ae4a2e060a9db5021f6a4.tar.gz coinos-ui-ca70bc2d452dd1bb942ae4a2e060a9db5021f6a4.zip | |
move locations check
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/About.svelte | 16 |
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} |
