generated from Barbapapazes/slantire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.vue
53 lines (49 loc) · 1.18 KB
/
app.vue
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<script lang="ts" setup>
const { navigation } = useContent()
const links = computed(() => {
return navigation.value.map((item) => {
return {
label: item.title,
to: item._path,
}
})
})
</script>
<template>
<UHeader :links="links">
<template #logo>
<div class="flex items-center gap-2">
<UAvatar src="https://esteban-soubiran.site/esteban.webp" alt="Picture of Estéban Soubiran" />
<span> Slantire </span>
</div>
</template>
<template #right>
<div class="hidden lg:block">
<FollowMe />
</div>
<UTooltip class="mr-1 lg:mr-0 lg:ml-2" text="Toggle color mode" placement="bottom">
<UColorModeButton />
</UTooltip>
</template>
<template #panel>
<UAsideLinks :links="links" />
<div class="absolute bottom-8 left-1/2 transform -translate-x-1/2">
<FollowMe />
</div>
</template>
</UHeader>
<UMain>
<NuxtPage />
</UMain>
<UFooter :links="links">
<template #left>
<UFooterLinks :links="links" />
</template>
<template #center>
<span />
</template>
<template #right>
<FollowMe />
</template>
</UFooter>
</template>