File tree Expand file tree Collapse file tree 6 files changed +160
-403
lines changed Expand file tree Collapse file tree 6 files changed +160
-403
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ English | <a href="https://github.com/liihuu/KLineChart/blob/main/README.zh-CN.m
20
20
[ ![ Typescript] ( https://badgen.net/npm/types/klinecharts )] ( types/index.d.ts )
21
21
[ ![ LICENSE] ( https://badgen.net/github/license/liihuu/KLineChart )] ( LICENSE )
22
22
[ ![ Docs] ( https://badgen.net/badge/docs%20by/vitepress/bd34fe )] ( https://vitepress.dev/ )
23
-
24
23
</div >
25
24
26
25
<div align =" center " >
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import DefaultTheme from 'vitepress/theme'
4
4
import { nextTick , provide } from ' vue'
5
5
6
6
import Banner from ' ./Banner.vue'
7
- import HomeHero from ' ./home/Hero .vue'
7
+ import HomeHero from ' ./home/hero/index .vue'
8
8
import HomeTopSponsor from ' ./home/TopSponsor.vue'
9
9
import HomeCreateChart from ' ./home/create-chart/index.vue'
10
10
import HomeFAQ from ' ./home/FAQ.vue'
Original file line number Diff line number Diff line change 1
1
<script setup>
2
2
import { useData } from ' vitepress'
3
3
4
- import i18n from ' ../../@i18n'
4
+ import i18n from ' ../../../ @i18n'
5
5
6
6
const { lang } = useData ()
7
7
</script >
@@ -35,7 +35,7 @@ const { lang } = useData()
35
35
align-items : center ;
36
36
margin-top : calc ((var (--vp-nav-height ) + var (--vp-layout-top-height , 0px )) * -1 );
37
37
padding : calc (var (--vp-nav-height ) + var (--vp-layout-top-height , 0px ) + 48px ) 24px 48px ;
38
- background : var (--vp-home-hero-bg );
38
+ /* background: var(--vp-home-hero-bg); */
39
39
}
40
40
41
41
.container {
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export default [
22
22
rules : {
23
23
'file-progress/activate' : 1 ,
24
24
complexity : 'off' ,
25
+ 'promise/avoid-new' : 'off' ,
25
26
'no-use-before-define' : 'off' ,
26
27
'@typescript-eslint/no-unsafe-type-assertion' : 'off' ,
27
28
'@typescript-eslint/no-non-null-assertion' : 'off' ,
Original file line number Diff line number Diff line change 104
104
"shiki" : " ^2.4.2" ,
105
105
"tslib" : " ^2.8.1" ,
106
106
"typescript" : " ^5.8.3" ,
107
- "vitepress" : " 2.0.0-alpha.7 "
107
+ "vitepress" : " 2.0.0-alpha.9 "
108
108
},
109
109
"pnpm" : {
110
110
"overrides" : {
You can’t perform that action at this time.
0 commit comments