refactor(ui): adopt Nuxt UI components for homepage and layout
This commit refactors the main layout and homepage to utilize components from the Nuxt UI library, simplifying the codebase and reducing custom boilerplate. - The default layout is now built with `UPage`, `UHeader`, `UMain`, and `UFooter`. - The homepage (`pages/index.vue`) has been updated to use `UPageHero` and `UBlogPosts`. - The `IndexHero` and `IndexNews` components have been removed as their functionality is now integrated directly into the index page. - `Donate`, `Events`, and `HallOfFame` components are now wrapped with `UPageCTA` or `UPageSection`.
This commit is contained in:
@@ -11,6 +11,7 @@ highlight: true
|
||||
seoTitle: "永中校友会官网上线 | 最新活动与资讯平台"
|
||||
seoDescription: "永中校友会官网正式上线,校友可在平台获取最新资讯、报名活动及参与互动。"
|
||||
ogImage: "/images/og/news-launch.jpg"
|
||||
slug: "/news/20251001-official-web-launch"
|
||||
---
|
||||
永中校友会官网正式上线啦!🎉
|
||||
|
||||
|
||||
Reference in New Issue
Block a user