feat(docs): refactor homepage layouts and add HomeFeatures component

- Replace verbose inline HTML/CSS in multiple language homepages with reusable HomeFeatures component
- Simplify hero section taglines and action links across all language versions
- Add iOS/Apple style enhancements including glassmorphism effects and refined button animations
- Register HomeFeatures component globally in Vue app for consistent usage
- Remove redundant translation banners and GitHub star sections to streamline content
This commit is contained in:
sanbuphy
2026-01-26 13:00:54 +08:00
parent 6f78114865
commit f5adedf77b
14 changed files with 1359 additions and 1356 deletions
+7 -89
View File
@@ -1,99 +1,17 @@
---
layout: home
navbar: false
hero:
name: 'Easy-Vibe'
text: '從零到一學習 Vibe Coding'
tagline:
- 成為結合產品、設計和全端開發的超級個人。
- 從想法到原型,從原型到產品,將每個輸出轉化為可交付的產品。
- 讓 AI 成為你的合作夥伴:更快、更穩定、更有創造力。
- 透過系統化的學習路徑,建立個人的技術與產品護城河。
text: '從零開始的 AI 編程指南'
tagline: '適合所有人的編程新範式。無論你是產品經理還是全棧開發者,都能在這裡找到屬於你的 AI 編程之路。'
actions:
- theme: brand
text: 開始學習
link: /stage-0/0.1-learning-map/
link: /zh-tw/stage-0/
- theme: alt
text: ⭐️ GitHub Star
link: https://github.com/datawhalechina/easy-vibe
features:
- title: 新手友善
details: 專為非技術背景設計。從「會說話就會寫程式」開始,透過貪吃蛇等遊戲快速入門,克服技術恐懼。
- title: 漸進實戰路徑
details: 獨特的「三階段」學習法。從 AI 產品經理思維,到全端開發實作,到複雜應用構建,一步一腳印。
- title: Vibe Coding 新範式
details: 掌握 AI 時代程式設計的核心。學會與 AI 配對程式設計,讓 IDE 成為你最強的合作夥伴。
- title: 真實專案驅動
details: 沒有玩具程式碼。親手打造 Web 原型、全端應用、微信小程式,真正將每個想法落地為產品。
text: 課程大綱
link: /zh-tw/stage-0/
---
<div align="center" style="margin-top: 60px; margin-bottom: 60px;">
<div style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 40px; border-radius: 20px; max-width: 700px;">
<h2 style="color: white; border: none; font-size: 2rem; font-weight: 700; margin-bottom: 20px;">🚧 繁體中文版正在翻譯中</h2>
<p style="color: white; font-size: 1.2rem; line-height: 1.8; margin: 0;">
我們正在努力將完整的 Easy-Vibe 教程翻譯成繁體中文。<br>
敬請期待完整版本!<br><br>
在此之前,您可以先訪問<a href="../zh-cn/" style="color: #fbbf24; text-decoration: underline; font-weight: bold;">簡體中文版</a>或<a href="../en-us/" style="color: #fbbf24; text-decoration: underline; font-weight: bold;">英文版</a>。
</p>
</div>
</div>
<style>
.VPHomeHero .text {
font-size: 1.8rem;
}
</style>
<div class="footer-cta">
<p class="love-text">Made with ❤️ by Open Source Contributors</p>
<h3 class="support-title">覺得有幫助嗎?</h3>
<p class="support-text">您的 Star 鼓勵我們持續更新 🚀</p>
<div class="github-badge">
<a href="https://github.com/datawhalechina/easy-vibe" target="_blank" rel="noopener noreferrer">
<img src="https://img.shields.io/github/stars/datawhalechina/easy-vibe?style=social&label=Star on GitHub" alt="GitHub stars"/>
</a>
</div>
</div>
<style>
.footer-cta {
margin-top: 100px;
padding: 40px 24px;
text-align: center;
background: var(--vp-c-bg-soft);
border-radius: 24px;
max-width: 600px;
margin-left: auto;
margin-right: auto;
margin-bottom: 40px;
}
.love-text {
color: var(--vp-c-text-3);
font-size: 0.875rem;
margin-bottom: 24px;
font-family: var(--vp-font-family-mono);
}
.support-title {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 8px;
color: var(--vp-c-text-1);
}
.support-text {
font-size: 1.1rem;
color: var(--vp-c-text-2);
margin-bottom: 24px;
}
.github-badge {
display: flex;
justify-content: center;
align-items: center;
}
.github-badge img {
height: 32px;
}
</style>
<HomeFeatures />