From 62350f723f05e425b2d6ae4f3fed21bfada22426 Mon Sep 17 00:00:00 2001 From: xiaomai Date: Mon, 27 Oct 2025 09:14:07 +0800 Subject: [PATCH] feat(content): add founding history page for the alumni association This commit introduces a new page detailing the founding history of the alumni association. - Adds the new page at `/about/founded-history` which includes the origin story, organizational structure, and a list of donors for the clubhouse. - Restructures the `/about` route by moving the existing page to `/about/index` to accommodate nested pages. - Updates the main navigation menu to include a dropdown link to the new 'Founding History' page. - Adds a link to the old alumni website under 'Friendly Links' for historical reference. --- app/layouts/default.vue | 14 + app/pages/40th-anniversary/proposal.vue | 55 ++-- app/pages/about/founded-history.vue | 339 +++++++++++++++++++++++ app/pages/{about.vue => about/index.vue} | 0 4 files changed, 379 insertions(+), 29 deletions(-) create mode 100644 app/pages/about/founded-history.vue rename app/pages/{about.vue => about/index.vue} (100%) diff --git a/app/layouts/default.vue b/app/layouts/default.vue index a1d0377..f7ee546 100644 --- a/app/layouts/default.vue +++ b/app/layouts/default.vue @@ -125,6 +125,14 @@ const items = computed(() => [ label: "关于校友会", to: "/about", active: route.path.startsWith("/about"), + children: [ + { + label: "创会简史", + to: "/about/founded-history", + active: route.path.startsWith("/about/founded-history"), + icon: "mdi:history", + }, + ], }, { label: "友情链接", @@ -147,6 +155,12 @@ const items = computed(() => [ to: "https://www.dongzong.my/", target: "_blank", }, + { + label: "永中校友网 - 旧站", + icon: "mdi:web-clock", + to: "https://vtour.my/yphsalumni/", + target: "_blank", + }, ], }, // { label: "捐赠", to: "#donate", active: route.path.startsWith("#donate") }, diff --git a/app/pages/40th-anniversary/proposal.vue b/app/pages/40th-anniversary/proposal.vue index 1f661a6..a7a100c 100644 --- a/app/pages/40th-anniversary/proposal.vue +++ b/app/pages/40th-anniversary/proposal.vue @@ -2,37 +2,34 @@ - - diff --git a/app/pages/about/founded-history.vue b/app/pages/about/founded-history.vue new file mode 100644 index 0000000..7f1f3fa --- /dev/null +++ b/app/pages/about/founded-history.vue @@ -0,0 +1,339 @@ + + + + + diff --git a/app/pages/about.vue b/app/pages/about/index.vue similarity index 100% rename from app/pages/about.vue rename to app/pages/about/index.vue