Skip to content

Commit

Permalink
Added account drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-sliffe committed Nov 19, 2024
1 parent bd74aaf commit a793029
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/AppNavbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<li><router-link to="/about">About</router-link></li>
<li><router-link to="/services">Services</router-link></li>
<li><router-link to="/contact">Contact</router-link></li>
<!-- Account and Logout links removed -->
<li><router-link to="/portfolio">Portfolio</router-link></li>
</template>
<template v-else>
<li><router-link to="/signup">Sign Up</router-link></li>
Expand Down
9 changes: 9 additions & 0 deletions client/src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import AboutPage from '@/views/AboutPage.vue';
import ServicesPage from '@/views/ServicesPage.vue';
import ResultsPage from '@/views/ResultsPage.vue';
import ContactPage from '@/views/ContactPage.vue';
import PortfolioPage from '@/views/PortfolioPage.vue';


const routes = [
{
Expand Down Expand Up @@ -57,6 +59,13 @@ const routes = [
component: ResultsPage,
meta: { requiresAuth: true },
},
{
path: '/portfolio',
name: 'Portfolio',
component: PortfolioPage,
meta: { requiresAuth: true },
},

];

const router = createRouter({
Expand Down
22 changes: 22 additions & 0 deletions client/src/views/PortfolioPage.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!-- Prologue
Component Name: PortfolioPage
Path: src/views/PortfolioPage.vue

Description:
Provides an "About Us" section for the KobraStocks application, detailing the mission, vision, team, and values to build trust with users.
-->


<template>
<div class="main-content">
<h2>Portfolio</h2>
<p>
</p>
</div>
</template>

<script>
export default {
name: 'PortfolioPage',
};
</script>

0 comments on commit a793029

Please sign in to comment.