From 6386e02acd0dec14b3517eede400b0323dc1faa6 Mon Sep 17 00:00:00 2001 From: ajdj100 Date: Thu, 18 May 2023 00:29:27 -0400 Subject: [PATCH] began work on profile page --- 17th Website/src/App.vue | 4 +-- 17th Website/src/assets/base.css | 8 +++++ .../src/components/ProfilePage/profile.vue | 33 +++++++++++++++++ .../components/ProfilePage/profileHeader.vue | 35 ++++++++++++++++--- .../components/ProfilePage/profileSubNav.vue | 18 ++++++++++ 17th Website/src/router.js | 14 +++++++- 17th Website/src/views/profile.vue | 16 --------- 7 files changed, 105 insertions(+), 23 deletions(-) create mode 100644 17th Website/src/components/ProfilePage/profile.vue create mode 100644 17th Website/src/components/ProfilePage/profileSubNav.vue delete mode 100644 17th Website/src/views/profile.vue diff --git a/17th Website/src/App.vue b/17th Website/src/App.vue index 319b048..e3f50d1 100644 --- a/17th Website/src/App.vue +++ b/17th Website/src/App.vue @@ -17,8 +17,8 @@ body { #content-wrapper { display: block; - margin: 0 0 0 50px; + margin: 0 0 0 60px; - padding: 0px 100px; + padding: 0px 50px; } diff --git a/17th Website/src/assets/base.css b/17th Website/src/assets/base.css index d169c2e..c665264 100644 --- a/17th Website/src/assets/base.css +++ b/17th Website/src/assets/base.css @@ -13,4 +13,12 @@ h1 { font-weight: 400; font-size: 60px; margin: 20px 0 20px 0px; +} + +h2 { + color: var(--white); + font-weight: 300; + font-size: 40px; + margin: 0px 0 0px 0px; + } \ No newline at end of file diff --git a/17th Website/src/components/ProfilePage/profile.vue b/17th Website/src/components/ProfilePage/profile.vue new file mode 100644 index 0000000..af2c391 --- /dev/null +++ b/17th Website/src/components/ProfilePage/profile.vue @@ -0,0 +1,33 @@ + + + + + \ No newline at end of file diff --git a/17th Website/src/components/ProfilePage/profileHeader.vue b/17th Website/src/components/ProfilePage/profileHeader.vue index b264d04..57cc1bd 100644 --- a/17th Website/src/components/ProfilePage/profileHeader.vue +++ b/17th Website/src/components/ProfilePage/profileHeader.vue @@ -11,17 +11,35 @@ export default { \ No newline at end of file diff --git a/17th Website/src/components/ProfilePage/profileSubNav.vue b/17th Website/src/components/ProfilePage/profileSubNav.vue new file mode 100644 index 0000000..0061dd5 --- /dev/null +++ b/17th Website/src/components/ProfilePage/profileSubNav.vue @@ -0,0 +1,18 @@ + + + \ No newline at end of file diff --git a/17th Website/src/router.js b/17th Website/src/router.js index 07ed8fb..17099d1 100644 --- a/17th Website/src/router.js +++ b/17th Website/src/router.js @@ -12,7 +12,19 @@ export default createRouter({ { path: '/profile', name: 'Profile', - component: () => import('./views/profile.vue'), + component: () => import('./components/ProfilePage/profile.vue'), + children: [ + { + path: '', + name: 'personnel', + component: () => import('./components/ProfilePage/personnel.vue') + }, + { + path: 'activityHistory', + name: 'activityHistory', + component: () => import('./components/ProfilePage/activityHistory.vue') + } + ] }, { path: '/users', diff --git a/17th Website/src/views/profile.vue b/17th Website/src/views/profile.vue deleted file mode 100644 index 18b7552..0000000 --- a/17th Website/src/views/profile.vue +++ /dev/null @@ -1,16 +0,0 @@ - - - \ No newline at end of file