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:
@@ -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"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user