mirror of
https://github.com/imezx/Warp.git
synced 2025-04-25 07:30:02 +00:00
21 lines
531 B
Vue
21 lines
531 B
Vue
<script setup lang="ts">
|
|
import { useData } from '../composables/data'
|
|
import VPHero from './VPHero.vue'
|
|
|
|
const { frontmatter: fm } = useData()
|
|
</script>
|
|
|
|
<template>
|
|
<VPHero
|
|
v-if="fm.hero"
|
|
class="VPHomeHero"
|
|
:name="fm.hero.name"
|
|
:text="fm.hero.text"
|
|
:tagline="fm.hero.tagline"
|
|
:image="fm.hero.image"
|
|
:actions="fm.hero.actions"
|
|
>
|
|
<template #home-hero-info><slot name="home-hero-info" /></template>
|
|
<template #home-hero-image><slot name="home-hero-image" /></template>
|
|
</VPHero>
|
|
</template>
|