feat: profile page

This commit is contained in:
Jannat Patel
2024-04-10 11:53:00 +05:30
parent ccb8721674
commit 13d0621881
13 changed files with 600 additions and 2072 deletions

View File

@@ -56,10 +56,28 @@ const routes = [
component: () => import('@/pages/Statistics.vue'),
},
{
path: '/user/:userName',
path: '/user/:username',
name: 'Profile',
component: () => import('@/pages/Profile.vue'),
props: true,
redirect: { name: 'ProfileAbout' },
children: [
{
name: 'ProfileAbout',
path: '',
component: () => import('@/pages/ProfileAbout.vue'),
},
{
name: 'ProfileCertificates',
path: 'certificates',
component: () => import('@/pages/ProfileCertificates.vue'),
},
{
name: 'ProfileSettings',
path: 'settings',
component: () => import('@/pages/ProfileSettings.vue'),
},
],
},
{
path: '/job-openings',