diff --git a/package.json b/package.json
index 243d67c..ec37d74 100644
--- a/package.json
+++ b/package.json
@@ -3,10 +3,10 @@
"version": "0.1.0",
"private": true,
"scripts": {
- "serve": "vue-cli-service serve",
- "build": "vue-cli-service build",
- "lint": "vue-cli-service lint"
- },
+ "serve": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
+ "build": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
+ "lint": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service lint"
+},
"dependencies": {
"core-js": "^3.6.4",
"node-sass": "^7.0.3",
@@ -42,4 +42,7 @@
"git add"
]
}
+
}
+
+
diff --git a/src/components/Header.vue b/src/components/Header.vue
index e7ef7d1..f93677a 100644
--- a/src/components/Header.vue
+++ b/src/components/Header.vue
@@ -1,30 +1,51 @@
-v-card.elevation-24
- v-app-bar(app clipped-right flat floating style="opacity:1.0")
-
- v-app-bar-nav-icon.hidden-md-and-up(@click.stop="drawer = !drawer")
- v-avatar(size="48px")
- v-img(src="../assets/logo.jpeg")
- v-toolbar-title.hidden-sm-and-down.white--text
- span.title.ml-3.mr-5(text style="color:black") Devlup Labs
- v-spacer
- div.hidden-sm-and-down
- v-btn.pa-2.ma-1(text v-for="link in links" :key="link.text" :to="{name:link.text}" label exact) {{link.text}}
- v-navigation-drawer(v-model="drawer" app left temporary style="z-index:5")
- v-list(dense)
- v-list-item( v-for="link in links" :key="link.text" @click="" :to="{name:link.text}" exact)
- v-list-item-action
- v-icon {{link.icon}}
- v-list-item-content
- v-list-item-title.grey--text {{link.text}}
+ v-card.elevation-24
+ v-app-bar(app clipped-right flat floating style="opacity: 1.0")
+ v-app-bar-nav-icon.hidden-md-and-up(@click.stop="drawer = !drawer")
+ router-link(to='/')
+ v-avatar(size="48px")
+ v-img(src="../assets/logo.jpeg")
+ router-link(to='/', style="text-decoration: none")
+ v-toolbar-title.hidden-sm-and-down.white--text()
+ span.title.ml-3.mr-5(text style="color: black", ) Devlup Labs
+ v-spacer
+ div.hidden-sm-and-down
+ v-btn(pa-2.ma-1 v-for="link in links" :key="link.text" :to="{ name: link.text }" v-if="link.text !== 'Team' && link.text !== 'CurrentTeam' && link.text !== 'AlumniTeam'" label exact sty style="box-shadow : none") {{ link.text }}
+ v-btn#menu-activator(pa-2.ma-1 :key="team" style="box-shadow : none") Team
+ v-menu(activator='#menu-activator')
+ v-list
+ v-list-item(pa-2.ma-1 v-for='(item, index) in teams', :key='index', :value='index' :to="{name: item.link}")
+ v-list-item-title {{ item.text }}
+
+ v-navigation-drawer(v-model="drawer" app left temporary style="z-index: 5")
+ v-list(dense)
+ v-list-item(v-for="link in links" :key="link.text" :to="{ name: link.text }" v-if="link.text !== 'Team' && link.text !== 'CurrentTeam' && link.text !== 'AlumniTeam'" exact sty style="box-shadow : none")
+ v-list-item-action
+ v-icon {{ link.icon }}
+ v-list-item-content
+ v-list-item-title.grey--text {{ link.text }}
+
+ v-list-item
+ v-list-item-action
+ v-icon mdi-account-group
+ v-menu
+ template.ml-16(v-slot:activator="{ on }")
+ v-list-item-content(v-on="on")
+ v-list-item-title.grey--text Team
+ v-list
+ v-list-item(v-for='(item, index) in teams', :key='index', :value='index' :to="{name: item.link}")
+ v-list-item-title {{ item.text }}
+
+
+
diff --git a/src/router/index.js b/src/router/index.js
index 21e9211..e550a47 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,6 +1,5 @@
import Vue from "vue";
import VueRouter from "vue-router";
-
Vue.use(VueRouter);
const routes = [
@@ -47,16 +46,22 @@ const routes = [
meta: { title: "Podcast" }
},
{
- path: "/team",
- name: "Team",
- component: () => import("../views/Profile"),
- meta: { title: "Team" }
+ path: "/current_team",
+ name: "current_team",
+ component: () => import("../views/CurrentTeam"), // Replace "../views/Profile" with the path to the component for the current team
+ meta: { title: "Current Team" }
},
{
path: "/WoC",
name: "WoC",
component: () => import("../views/WoC"),
meta: { title: "WoC" }
+ },
+ {
+ path: "/alumni_team",
+ name: "alumni_team",
+ component: () => import("../views/AlumniTeam"), // Add the route for the AlumniTeam component
+ meta: { title: "Alumni Team" }
}
];
diff --git a/src/views/Profile.vue b/src/views/AlumniTeam.vue
similarity index 91%
rename from src/views/Profile.vue
rename to src/views/AlumniTeam.vue
index b697bf4..b295060 100644
--- a/src/views/Profile.vue
+++ b/src/views/AlumniTeam.vue
@@ -1,43 +1,42 @@
-
-
-div(align='center', justify='center')
- div(v-if="loading")
- Preloader
- div(v-else)
- v-container
- v-row(justify='left')
- v-flex.mb-10(v-for='Profile in profiles', :key='Profile[0]', xs12='',sm12='', md6='',lg4='',xl4='')
- ProfileCard(:Profile='Profile')
-
-
-
+
+
+div(align='center', justify='center')
+ div(v-if="loading")
+ Preloader
+ div(v-else)
+ v-container
+ v-row(justify='left')
+ v-flex.mb-10(v-for='Profile in profiles', :key='Profile[0]', xs12='',sm12='', md6='',lg4='',xl4='')
+ ProfileCard(:Profile='Profile')
+
+
+
diff --git a/src/views/CurrentTeam.vue b/src/views/CurrentTeam.vue
new file mode 100644
index 0000000..3e4c8ad
--- /dev/null
+++ b/src/views/CurrentTeam.vue
@@ -0,0 +1,42 @@
+
+
+div(align='center', justify='center')
+ div(v-if="loading")
+ Preloader
+ div(v-else)
+ v-container
+ v-row(justify='left')
+ v-flex.mb-10(v-for='Profile in profiles', :key='Profile[0]', xs12='',sm12='', md6='',lg4='',xl4='')
+ ProfileCard(:Profile='Profile')
+
+
+
diff --git a/src/views/Project.vue b/src/views/Project.vue
index 84e41bd..ee8b786 100644
--- a/src/views/Project.vue
+++ b/src/views/Project.vue
@@ -23,7 +23,6 @@ export default {
}),
methods: {
fetchProjects() {
- // spreadsheetID=17O_B9OCnz6Byey-Y1o0K5WCTTlXJterlwNDgpjSN-s4
const url = `https://script.google.com/macros/s/AKfycbxsb_2WN21NJ4p_yEVS8DoCIcs-3lL9VlB5zgbGXeEhfERHkjkIcFOTvkhw1m69irgH7g/exec`;
this.loading = true;
fetch(url)