|
|
|
@ -1,13 +1,6 @@
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
import VPHomeHero from './VPHomeHero.vue'
|
|
|
|
|
import VPHomeFeatures from './VPHomeFeatures.vue'
|
|
|
|
|
import { computed } from 'vue';
|
|
|
|
|
import { useData } from 'vitepress';
|
|
|
|
|
|
|
|
|
|
const { page } = useData()
|
|
|
|
|
const pageName = computed(() => {
|
|
|
|
|
return page.value.relativePath.slice(0, page.value.relativePath.indexOf('/'))
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
@ -23,7 +16,7 @@ const pageName = computed(() => {
|
|
|
|
|
<div class="content">
|
|
|
|
|
<div class="content-container">
|
|
|
|
|
<main class="main">
|
|
|
|
|
<Content class="vp-doc" :class="pageName" />
|
|
|
|
|
<Content class="vp-doc" />
|
|
|
|
|
</main>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|