@@ -14,71 +14,73 @@ const clickSignOut = async () => {
1414 </script >
1515
1616<template >
17- <v-menu >
18- <template #activator =" { props } " >
19- <v-btn
20- icon
21- v-bind =" props"
22- >
23- <v-avatar
24- color =" primary"
25- :size =" 44"
17+ <div >
18+ <v-menu >
19+ <template #activator =" { props } " >
20+ <v-btn
21+ icon
22+ v-bind =" props"
2623 >
27- <v-img
28- v-if =" currentUser?.photoURL"
29- :src =" currentUser.photoURL"
30- :alt =" currentUser.displayName ?? 'User avatar'"
31- />
32- <v-icon
33- v-else
34- :icon =" mdiAccount"
35- />
36- </v-avatar >
37- </v-btn >
38- </template >
24+ <v-avatar
25+ color =" primary"
26+ :size =" 44"
27+ >
28+ <v-img
29+ v-if =" currentUser?.photoURL"
30+ :src =" currentUser.photoURL"
31+ :alt =" currentUser.displayName ?? 'User avatar'"
32+ />
33+ <v-icon
34+ v-else
35+ :icon =" mdiAccount"
36+ />
37+ </v-avatar >
38+ </v-btn >
39+ </template >
3940
40- <v-list
41- nav
42- density =" compact"
43- class =" mt-4"
44- >
45- <v-list-item
46- v-for =" (link, i) in nuxtifyConfig.navigation?.secondary"
47- :key =" i"
48- :value =" link"
49- :to =" link.to"
50- :href =" link.href"
51- :target =" link.href ? '_blank' : undefined"
52- :rel =" link.href ? 'noopener noreferrer' : undefined"
53- slim
41+ <v-list
42+ nav
43+ density =" compact"
44+ class =" mt-4"
5445 >
55- <template #prepend >
56- <v-icon :icon =" link.icon" />
57- </template >
46+ <v-list-item
47+ v-for =" (link, i) in nuxtifyConfig.navigation?.secondary"
48+ :key =" i"
49+ :value =" link"
50+ :to =" link.to"
51+ :href =" link.href"
52+ :target =" link.href ? '_blank' : undefined"
53+ :rel =" link.href ? 'noopener noreferrer' : undefined"
54+ slim
55+ >
56+ <template #prepend >
57+ <v-icon :icon =" link.icon" />
58+ </template >
5859
59- <v-list-item-title >
60- {{ link.text }}
61- <v-icon
62- v-if =" link.openInNew"
63- :icon =" mdiArrowTopRight"
64- size =" small"
65- color =" grey"
66- class =" ml-1"
67- />
68- </v-list-item-title >
69- </v-list-item >
60+ <v-list-item-title >
61+ {{ link.text }}
62+ <v-icon
63+ v-if =" link.openInNew"
64+ :icon =" mdiArrowTopRight"
65+ size =" small"
66+ color =" grey"
67+ class =" ml-1"
68+ />
69+ </v-list-item-title >
70+ </v-list-item >
7071
71- <!-- Sign Out -->
72- <v-list-item
73- slim
74- @click.prevent =" clickSignOut"
75- >
76- <template #prepend >
77- <v-icon :icon =" mdiExport" />
78- </template >
72+ <!-- Sign Out -->
73+ <v-list-item
74+ slim
75+ @click.prevent =" clickSignOut"
76+ >
77+ <template #prepend >
78+ <v-icon :icon =" mdiExport" />
79+ </template >
7980
80- <v-list-item-title >Sign Out</v-list-item-title >
81- </v-list-item >
82- </v-list >
83- </v-menu >
81+ <v-list-item-title >Sign Out</v-list-item-title >
82+ </v-list-item >
83+ </v-list >
84+ </v-menu >
85+ </div >
8486</template >
0 commit comments