-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.vue
More file actions
26 lines (21 loc) · 692 Bytes
/
app.vue
File metadata and controls
26 lines (21 loc) · 692 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<script setup lang="ts">
import InfoModal from "~/components/InfoModal.vue";
const showInfo = ref(false);
function toggleInfo() {
showInfo.value = !showInfo.value;
}
</script>
<template>
<div class="relative h-screen w-full flex flex-col gap-12 justify-start items-center">
<div class="flex flex-row items-center mt-12">
<div class="flex flex-row items-center justify-center gap-4 text-3xl text-white font-black">
Interactive World Map
<Icon name="si:info-fill" class="cursor-help" @click="toggleInfo"/>
</div>
</div>
<InfoModal v-if="showInfo" @close="toggleInfo"/>
<Map/>
</div>
</template>
<style scoped>
</style>