From 69e158b8715c4e437eb7d5e5a38f2fcd5c94f2ad Mon Sep 17 00:00:00 2001 From: Adam French Date: Wed, 25 Mar 2026 02:43:27 +0000 Subject: [PATCH] Add Landing page and move Home to /stp route New professional landing page at / with bio, about section, and nav links. Previous home page now lives at /stp. Co-Authored-By: Claude Opus 4.6 --- nginx/vue/src/router/index.js | 9 ++++-- nginx/vue/src/views/Landing.vue | 56 +++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 nginx/vue/src/views/Landing.vue diff --git a/nginx/vue/src/router/index.js b/nginx/vue/src/router/index.js index e05cf00..0c0e832 100644 --- a/nginx/vue/src/router/index.js +++ b/nginx/vue/src/router/index.js @@ -1,13 +1,18 @@ import { createRouter, createWebHistory } from "vue-router"; -import Home from "@/views/home/Home.vue"; +import Landing from "@/views/Landing.vue"; const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), routes: [ { path: "/", + name: "landing", + component: Landing, + }, + { + path: "/stp", name: "home", - component: Home, + component: () => import("@/views/home/Home.vue"), }, { path: "/cv", diff --git a/nginx/vue/src/views/Landing.vue b/nginx/vue/src/views/Landing.vue new file mode 100644 index 0000000..36cfdb4 --- /dev/null +++ b/nginx/vue/src/views/Landing.vue @@ -0,0 +1,56 @@ + + + + +