feat: integrate GSAP for animations and add Tailwind CSS support

- Added GSAP and ScrambleTextPlugin for text animations in navigation.
- Implemented locale switching in navigation component.
- Updated i18n locales for navigation links.
- Created a new layout for news organization pages.
- Removed unused index page and added home page with greeting.
- Implemented dynamic fetching of news organization info with API.
- Configured Tailwind CSS and added necessary plugins.
- Updated nuxt.config.ts for routing and site metadata.
This commit is contained in:
yuanhau 2025-05-06 14:52:42 +08:00
parent 3ccb186530
commit 391bd7df26
15 changed files with 377 additions and 15 deletions

View file

@ -1,13 +1,15 @@
<script setup lang="ts">
import Navigation from '~/components/navigation.vue';
import Footer from "~/components/footer.vue";
</script>
<template>
<nav>
<Navigation/>
</nav>
<main>
<main class="pt-[60px]">
<slot/>
</main>
<footer>
<Footer/>
</footer>
</template>

15
layouts/newsorg.vue Normal file
View file

@ -0,0 +1,15 @@
<script setup lang="ts">
import Navigation from '~/components/navigation.vue';
import Footer from "~/components/footer.vue";
</script>
<template>
<nav>
<Navigation/>
</nav>
<main class="pt-[60px]">
<slot/>
</main>
<footer>
<Footer/>
</footer>
</template>