@@ -3,28 +3,28 @@ import { ref } from 'vue';
33import { useI18n } from ' vue-i18n' ;
44import { useUserStore } from ' @/stores/user-store' ;
55import {
6- IconMenu2 ,
7- IconX ,
8- IconHome ,
9- IconCalendarClock ,
10- IconCalendarCheck ,
11- IconExternalLink ,
12- IconSettings ,
13- IconLogout ,
14- IconChevronDown ,
15- IconUserSquare ,
16- } from ' @tabler/icons- vue' ;
6+ PhList ,
7+ PhX ,
8+ PhHouse ,
9+ PhCalendarDot ,
10+ PhCalendarCheck ,
11+ PhArrowSquareOut ,
12+ PhGear ,
13+ PhSignOut ,
14+ PhCaretDown ,
15+ PhUserSquare ,
16+ } from ' @phosphor-icons/ vue' ;
1717import { PrimaryButton , UserAvatar } from ' @thunderbirdops/services-ui' ;
1818
1919// component constants
2020const userStore = useUserStore ();
2121const { t } = useI18n ();
2222
2323const navItems = [
24- { route: ' dashboard' , i18nKey: ' dashboard' , icon: IconHome },
25- { route: ' bookings' , i18nKey: ' bookings' , icon: IconCalendarCheck },
26- { route: ' availability' , i18nKey: ' availability' , icon: IconCalendarClock },
27- { route: ' settings' , i18nKey: ' settings' , icon: IconSettings },
24+ { route: ' dashboard' , i18nKey: ' dashboard' , icon: PhHouse },
25+ { route: ' bookings' , i18nKey: ' bookings' , icon: PhCalendarCheck },
26+ { route: ' availability' , i18nKey: ' availability' , icon: PhCalendarDot },
27+ { route: ' settings' , i18nKey: ' settings' , icon: PhGear },
2828];
2929
3030const menuOpen = ref (false );
@@ -56,7 +56,7 @@ async function copyLink() {
5656 <!-- Mobile NavBar (closed) -->
5757 <header class =" header-mobile" >
5858 <button @click =" onMenuOpen" :aria-label =" t('label.openMenu')" :aria-expanded =" menuOpen" aria-controls =" primaryNav" >
59- <icon-menu2 size =" 24" />
59+ <ph-list size =" 24" />
6060 </button >
6161
6262 <router-link :to =" { name: userStore.authenticated ? 'dashboard' : 'home' }" >
@@ -72,7 +72,7 @@ async function copyLink() {
7272 <div class =" menu-content-container" >
7373 <header >
7474 <button @click =" onMenuClose" >
75- <icon -x size =" 24" />
75+ <ph -x size =" 24" />
7676 </button >
7777
7878 <img src =" @/assets/svg/appointment_logo.svg" alt =" Appointment Logo" />
@@ -98,32 +98,32 @@ async function copyLink() {
9898 <user-avatar :username =" userStore.data.username" :avatar-url =" userStore.data.avatarUrl" />
9999 <span class =" user-email" >{{ userStore.data.email }}</span >
100100 </div >
101- <icon-chevron -down size =" 20" class =" chevron-icon" />
101+ <ph-caret -down size =" 20" class =" chevron-icon" />
102102 </summary >
103103
104104 <ul @click =" onMenuClose" >
105105 <router-link to =" profile" >
106106 <li >
107- <icon -user-square size =" 24" />
107+ <ph -user-square size =" 24" />
108108 {{ t('label.userProfile') }}
109109 </li >
110110 </router-link >
111111 <router-link to =" report-bug" >
112112 <li >
113- <icon-external-link size =" 24" />
113+ <ph-arrow-square-out size =" 24" />
114114 {{ t('navBar.reportBug') }}
115115 </li >
116116 </router-link >
117117 <router-link to =" contact" >
118118 <li >
119- <icon-external-link size =" 24" />
119+ <ph-arrow-square-out size =" 24" />
120120 {{ t('label.contact') }}
121121 </li >
122122 </router-link >
123123 </ul >
124124 </details >
125125 <router-link to =" logout" >
126- <icon-logout size =" 24" />
126+ <ph-sign-out size =" 24" />
127127 {{ t('label.logOut') }}
128128 </router-link >
129129 </div >
@@ -312,4 +312,4 @@ nav {
312312 transition : opacity 250ms ease-out ;
313313 }
314314}
315- </style >
315+ </style >
0 commit comments