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 @@ 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 @@ - - - - + + + + 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 @@ + + + + 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)