aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/About.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/About.svelte')
-rw-r--r--src/components/About.svelte23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/components/About.svelte b/src/components/About.svelte
index 6e0cdcb5..0087e350 100644
--- a/src/components/About.svelte
+++ b/src/components/About.svelte
@@ -1,16 +1,8 @@
<script>
import { onMount } from "svelte";
-
- let locations;
- onMount(async () => {
- try {
- ({ locations } = await fetch("/locations").then((r) => r.json()));
- } catch (e) {
- console.log(e);
- }
- });
-
- import { Image, Icon, LocationsMap } from "$comp";
+ import Icon from "$comp/Icon.svelte";
+ import Image from "$comp/Image.svelte";
+ import LocationsMap from "$comp/LocationsMap.svelte";
import { t } from "$lib/translations";
let team = [
@@ -31,6 +23,15 @@
},
{ name: "cole", socials: [] },
];
+
+ let locations;
+ onMount(async () => {
+ try {
+ ({ locations } = await fetch("/locations").then((r) => r.json()));
+ } catch (e) {
+ console.log(e);
+ }
+ });
</script>
<div class="flex justify-center">