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:
+7
-89
@@ -1,99 +1,17 @@
|
||||
---
|
||||
layout: home
|
||||
navbar: false
|
||||
hero:
|
||||
name: 'Easy-Vibe'
|
||||
text: 'تعلم Vibe Coding من الصفر'
|
||||
tagline:
|
||||
- كن شخصًا خارقًا يجمع بين المنتج والتصميم والتطوير الكامل.
|
||||
- من الفكرة إلى النموذج الأولي، من النموذج الأولي إلى المنتج، حول كل مخرج إلى منتج قابل للتسليم.
|
||||
- اجعل AI شريكك: أسرع ، أكثر استقرارًا ، أكثر إبداعًا.
|
||||
- ابنِ خندقك التكنولوجي والمنتجي مع مسار تعلم منهجي.
|
||||
text: 'دليل برمجة الذكاء الاصطناعي من الصفر'
|
||||
tagline: 'نموذج برمجة جديد للجميع. سواء كنت مدير منتج أو مطور Full Stack، ابحث عن مسار برمجة الذكاء الاصطناعي الخاص بك هنا.'
|
||||
actions:
|
||||
- theme: brand
|
||||
text: ابدأ التعلم
|
||||
link: /stage-0/0.1-learning-map/
|
||||
link: /ar-sa/stage-0/
|
||||
- theme: alt
|
||||
text: ⭐️ Star على GitHub
|
||||
link: https://github.com/datawhalechina/easy-vibe
|
||||
features:
|
||||
- title: ودود للمبتدئين
|
||||
details: مصمم لخلفيات غير تقنية. ابدأ بـ "إذا يمكنك التحدث ، يمكنك البرمجة" ، ابدأ بسرعة من خلال ألعاب مثل Snake ، وتغلب على الخوف التقني.
|
||||
- title: مسار تدريجي عملي
|
||||
details: طريقة تعلم فريدة "ثلاث مراحل". من تفكير مدير منتج AI ، إلى تطوير كامل المكدس ، إلى بناء تطبيقات معقدة ، خطوة بخطوة.
|
||||
- title: Vibe Coding نموذج جديد
|
||||
details: إتقان جوهر البرمجة في عصر الذكاء الاصطناعي. تعلم البرمجة الزوجية مع AI ، وجعل IDE أقوى شريك لك.
|
||||
- title: مدفوع بمشاريع حقيقية
|
||||
details: لا رمز ألعاب. قم ببناء نماذج ويب وتطبيقات كاملة المكدس وبرامج WeChat المصغرة بيديك ، وجعل كل فكرة منتجًا حقًا.
|
||||
text: مخطط الدورة
|
||||
link: /ar-sa/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="../en-us/" style="color: #fbbf24; text-decoration: underline; font-weight: bold;">النسخة الإنجليزية</a> أو <a href="../zh-cn/" 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 />
|
||||
|
||||
Reference in New Issue
Block a user