feat(app): introduce Hall of Fame section and refactor UI

This commit adds the '名人堂' (Hall of Fame) feature and removes the Element Plus dependency.

- feat(content): Add Hall of Fame section with a new content collection, homepage component, and detail pages.
- refactor(join-us): Rewrite the 'Join Us' form to remove Element Plus, using native elements and Reka UI. The form is
temporarily disabled.
- feat(ui): Display cover images on News and Events cards.
- chore: Integrate Umami for web analytics.
- fix: Correct minor text issues, including graduation year in the footer.
This commit is contained in:
xiaomai
2025-10-03 10:32:03 +08:00
parent e93b931288
commit 09ec61e315
20 changed files with 546 additions and 251 deletions

View File

@@ -4,23 +4,20 @@ import tailwindcss from "@tailwindcss/vite";
export default defineNuxtConfig({
compatibilityDate: "2025-07-15",
devtools: { enabled: true },
modules: ["@nuxt/content", "@nuxt/image", "@nuxt/ui", "@element-plus/nuxt"],
modules: ["@nuxt/content", "@nuxt/image", "@nuxt/ui", "reka-ui/nuxt"],
css: ["~/assets/css/main.css"],
vite: {
plugins: [tailwindcss()],
},
elementPlus: {
importStyle: "scss",
themeChalk: {
$colors: {
primary: { base: "#fb9e3a" },
default: { base: "#fcef91" },
},
},
},
app: {
head: {
title: "永平中学校友会",
script: [
{
src: "/analytics.js",
tagPosition: "head",
},
],
},
},
});