diff --git a/src/components/FooterNavigation.vue b/src/components/FooterNavigation.vue index 0f63833..f9621a4 100644 --- a/src/components/FooterNavigation.vue +++ b/src/components/FooterNavigation.vue @@ -31,7 +31,7 @@ .catch(() => {}) } const navs = [ - { label: 'Home', icon: 'home', size: 73, path: '/homeNav' }, + { label: 'Home', icon: 'home', size: 73, path: '/workshop/home' }, { label: 'Library', icon: 'library', size: 53, path: '/workshop/library' }, // { label: 'Profile', icon: 'profile', size: 55, path: '/workshop/profile' } ] diff --git a/src/router/index.ts b/src/router/index.ts index 2498bec..04c585e 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -66,13 +66,7 @@ const router = createRouter({ path: '/customer', name: 'customer', component: () => import('@/views/login/customer.vue'), - }, - { - path: '/homeNav', - name: 'HomeNav', - component: () => import('@/views/Workshop/home.vue') - }, - + }, { path: '/asistant', name: 'asistant', @@ -88,6 +82,16 @@ const router = createRouter({ // path: '/workshop', // redirect: '/workshop/selectStyle' // }, + { + path: '/workshop/home', + name: 'Home', + component: () => import('@/views/Workshop/home.vue') + }, + { + path: '/workshop/homeNav', + name: 'HomeNav', + component: () => import('@/views/Workshop/homeNav.vue') + }, { path: '/workshop/stylist', name: 'StylistPage', diff --git a/src/views/Workshop/homeNav.vue b/src/views/Workshop/homeNav.vue new file mode 100644 index 0000000..821a8a4 --- /dev/null +++ b/src/views/Workshop/homeNav.vue @@ -0,0 +1,122 @@ + + + + + Welcome Back, + What can I help you today? + + + + Explore + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/login/customer.vue b/src/views/login/customer.vue index f3f39dc..6f1acc1 100644 --- a/src/views/login/customer.vue +++ b/src/views/login/customer.vue @@ -94,7 +94,7 @@ const handleConfirm = async () => { // console.log('res', res) generateStore.setCustomerInfo(res) // router.push('/workshop/stylist/index') - router.push('/homeNav') + router.push('/workshop/homeNav') }) }