mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 21:14:23 +00:00
feat: update footer link formatting and add shadcn-nuxt integration
- Refactored footer.vue to improve link formatting. - Updated nuxt.config.ts to include shadcn-nuxt and added necessary HTML attributes and meta tags for SEO. - Added new dependencies in package.json for class-variance-authority, clsx, lucide-vue-next, reka-ui, shadcn-nuxt, tailwind-merge, and tailwindcss-animate. - Cleaned up unused template tags in headlines.vue, index.vue, and news/[provider]/[slug].vue. - Simplified sources.vue template structure. - Improved login.vue styles for better animation. - Enhanced google.ts API handler for better error handling and code clarity. - Updated find/newsOrg.ts to ensure consistent code style. - Added CSS variables and improved Tailwind configuration in main.css and tailwind.config.js. - Created components.json for shadcn integration and added new UI components (Alert, Button, Progress) with respective styles and variants. - Implemented utility functions in utils.ts for class name merging and value updating.
This commit is contained in:
parent
830dbfe7f1
commit
e081c54624
25 changed files with 502 additions and 79 deletions
|
@ -1,7 +1,9 @@
|
|||
# 新聞解析 / News Analyze
|
||||
|
||||
## Why?
|
||||
|
||||
我們使用這個新聞來舉例:
|
||||
|
||||
```
|
||||
朱立倫批政府像希特勒德國在台協會:不應為政治扭曲歷史| 政治 - 中央社 CNA
|
||||
5/7/2025, 11:17:00 PM
|
||||
|
@ -12,9 +14,11 @@
|
|||
- 「朱立倫道歉」!亂比喻遭德國、以色列譴責 民進黨:賠上台灣國際名譽 - 奇摩新聞
|
||||
- 洪聖斐觀點》獨裁餘毒罵人「法西斯」 朱立倫東施效顰共產黨| 政治 - Newtalk新聞
|
||||
```
|
||||
|
||||
你會看到許多觀點,但不知道這些新聞為什麼會寫比較偏見的文章。
|
||||
|
||||
## Stack:
|
||||
|
||||
- Postgres
|
||||
- Passport.js
|
||||
- Tailwind
|
||||
|
@ -25,4 +29,4 @@
|
|||
- Minio S3
|
||||
- Nuxt i18N
|
||||
- BunJS
|
||||
- Groq
|
||||
- Groq
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue