mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
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:
parent
3ccb186530
commit
391bd7df26
15 changed files with 377 additions and 15 deletions
|
@ -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
15
layouts/newsorg.vue
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue