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`.
15 lines
365 B
Vue
15 lines
365 B
Vue
<template>
|
|
<UPageCTA
|
|
class="bg-secondary"
|
|
title="支持与捐赠"
|
|
description="您的捐赠将用于奖学金、校园建设及校友活动发展。感谢您对母校的支持!"
|
|
:links="donationLinks"
|
|
/>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
const donationLinks = ref([{ label: "立即捐赠", icon: "mdi:cash" }]);
|
|
</script>
|
|
|
|
<style></style>
|