mirror of
https://github.com/imezx/Warp.git
synced 2025-04-24 23:20:02 +00:00
38 lines
780 B
Vue
38 lines
780 B
Vue
<script setup lang="ts">
|
|
import VPHomeHero from './VPHomeHero.vue'
|
|
import VPHomeFeatures from './VPHomeFeatures.vue'
|
|
</script>
|
|
|
|
<template>
|
|
<div class="VPHome">
|
|
<slot name="home-hero-before" />
|
|
<VPHomeHero>
|
|
<template #home-hero-info><slot name="home-hero-info" /></template>
|
|
<template #home-hero-image><slot name="home-hero-image" /></template>
|
|
</VPHomeHero>
|
|
<slot name="home-hero-after" />
|
|
|
|
<slot name="home-features-before" />
|
|
<VPHomeFeatures />
|
|
<slot name="home-features-after" />
|
|
|
|
<Content />
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.VPHome {
|
|
padding-bottom: 96px;
|
|
}
|
|
|
|
.VPHome :deep(.VPHomeSponsors) {
|
|
margin-top: 112px;
|
|
margin-bottom: -128px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.VPHome {
|
|
padding-bottom: 128px;
|
|
}
|
|
}
|
|
</style>
|