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
+8 -90
View File
@@ -1,99 +1,17 @@
---
layout: home
navbar: false
hero:
name: 'Easy-Vibe'
text: 'Aprende Vibe Coding desde Cero'
tagline:
- Conviértete en un súper individuo combinando producto, diseño y desarrollo full-stack.
- De idea a prototipo, de prototipo a producto, convierte cada salida en un producto entregable.
- Haz de la IA tu pareja: más rápido, más estable, más creativo.
- Construye tu moat tecnológico y de producto con una ruta de aprendizaje sistemática.
text: 'Guía de Programación con IA desde Cero'
tagline: 'Un nuevo paradigma de programación para todos. Ya seas un PM o un desarrollador Full Stack, encuentra tu camino de programación con IA aquí.'
actions:
- theme: brand
text: Empezar a Aprender
link: /stage-0/0.1-learning-map/
text: Empezar
link: /es-es/stage-0/
- theme: alt
text: ⭐️ Star en GitHub
link: https://github.com/datawhalechina/easy-vibe
features:
- title: Amigable para Principiantes
details: Diseñado para antecedentes no técnicos. Comienza con "si puedes hablar, puedes programar", empieza rápidamente a través de juegos como Snake, y supera el miedo técnico.
- title: Ruta Progresiva Práctica
details: Método único de aprendizaje en "tres etapas". Desde el pensamiento de producto de IA, hasta la implementación de desarrollo full-stack, hasta la construcción de aplicaciones complejas, paso a paso.
- title: Nuevo Paradigma de Vibe Coding
details: Domina el núcleo de la programación en la era de la IA. Aprende a programar en pareja con la IA, haciendo de tu IDE tu socio más fuerte.
- title: Impulsado por Proyectos Reales
details: Sin código de juguete. Construye prototipos web, aplicaciones full-stack, mini-programas de WeChat con tus propias manos, y realmente lleva cada idea a un producto.
text: Esquema del Curso
link: /es-es/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;">🚧 Traducción en Español en Progreso</h2>
<p style="color: white; font-size: 1.2rem; line-height: 1.8; margin: 0;">
Estamos trabajando duro para traducir el tutorial completo de Easy-Vibe al español.<br>
¡Estén atentos para la versión completa!<br><br>
Mientras tanto, puedes visitar la<a href="../en-us/" style="color: #fbbf24; text-decoration: underline; font-weight: bold;">versión en inglés</a> o la<a href="../zh-cn/" style="color: #fbbf24; text-decoration: underline; font-weight: bold;">versión en chino</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">¿Te resulta útil?</h3>
<p class="support-text">Tu Star nos motiva a seguir actualizando 🚀</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 />