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
+2 -2
View File
@@ -195,12 +195,12 @@ watch(lineHeight, (next) => {
</template>
<template #home-hero-info-after>
<div
v-if="frontmatter.layout === 'home' && frontmatter.hero?.tagline"
v-if="frontmatter.layout === 'home' && (frontmatter.hero?.tagline || frontmatter.hero?.typingTagline)"
class="vp-typed-tagline"
>
<ClientOnly>
<TextType
:text="frontmatter.hero.tagline"
:text="frontmatter.hero.typingTagline || frontmatter.hero.tagline"
v-bind="homeTaglineTyping"
:loop="true"
/>