File tree Expand file tree Collapse file tree 3 files changed +25
-6
lines changed
.vitepress/theme/components Expand file tree Collapse file tree 3 files changed +25
-6
lines changed Original file line number Diff line number Diff line change 1+ <script setup lang="ts">
2+ import { features } from ' @/modules/features'
3+ import { VPFeatures } from ' vitepress/theme'
4+ </script >
5+
6+ <template >
7+ <VPFeatures :features />
8+ </template >
9+
10+ <style >
11+ .VPFeatures .title {
12+ margin : 0 ;
13+ border-top : none ;
14+ padding : 0 ;
15+ font-size : 1.2rem ;
16+ }
17+
18+ .VPFeatures .details {
19+ margin : 0 ;
20+ padding-top : 8px ;
21+ }
22+ </style >
Original file line number Diff line number Diff line change 11<script lang="ts" setup>
22import { ref , onMounted } from ' vue'
3- import { features } from ' @/modules/features'
4- import { VPFeatures } from ' vitepress/theme'
53import StarPopup from ' @/components/StarPopup.vue'
64import PopupSlideTransition from ' @/components/Transitions/PopupSlideTransition.vue'
5+ import Features from ' @/components/Features.vue'
76
87const isVisible = ref <boolean >(false )
98
@@ -23,7 +22,7 @@ const closePopup = (): void => {
2322
2423<template >
2524 <div class =" home-page" >
26- <VPFeatures :features />
25+ <Features />
2726
2827 <PopupSlideTransition >
2928 <StarPopup v-if =" isVisible" @close =" closePopup" />
Original file line number Diff line number Diff line change 2727
2828:::
2929
30- <Teleport defer to =" .VPHome " >
31- <Home />
32- </Teleport >
30+ <Home />
You can’t perform that action at this time.
0 commit comments