File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,3 +16,4 @@ yarn.lock
1616dist /
1717.astro /
1818coverage /
19+ pnpm-lock.yaml
Original file line number Diff line number Diff line change 11# AntV New Site 📈
22
3- New AntV site built on [ @antv/site ] ( https://github.com/antvis/site ) .
3+ New AntV site built on [ @antv/astro-theme-antv ] ( https://github.com/antvis/astro-theme-antv ) .
44
55![ prettier code style] ( https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square )
66
Original file line number Diff line number Diff line change 11import { defineConfig } from 'astro/config' ;
2- import { antvSite } from '@antv/site ' ;
2+ import { antvSite } from '@antv/astro-theme-antv ' ;
33import react from '@astrojs/react' ;
44import mdx from '@astrojs/mdx' ;
55import sitemap from '@astrojs/sitemap' ;
Original file line number Diff line number Diff line change 2626 "react-dom" : " ^18.3.1"
2727 },
2828 "devDependencies" : {
29- "@antv/site " : " 0.1.0" ,
29+ "@antv/astro-theme-antv " : " ^ 0.1.0-beta.1 " ,
3030 "astro" : " 7.2.0" ,
3131 "@astrojs/react" : " 6.0.5" ,
3232 "@astrojs/mdx" : " 7.0.8" ,
Original file line number Diff line number Diff line change 11---
2- import type { HomeSlotProps } from ' @antv/site ' ;
2+ import type { HomeSlotProps } from ' @antv/astro-theme-antv ' ;
33import ThemeIsland from ' ./components/ThemeCharts/Island' ;
44import HomeSections from ' ./components/HomeSections' ;
55
Original file line number Diff line number Diff line change 11---
2- import type { HomeSlotProps } from ' @antv/site ' ;
3- import { QaEntry , Updates } from ' @antv/site /components' ;
2+ import type { HomeSlotProps } from ' @antv/astro-theme-antv ' ;
3+ import { QaEntry , Updates } from ' @antv/astro-theme-antv /components' ;
44import { qaSuggestions } from ' ./data/qa' ;
55
66type Props = HomeSlotProps ;
Original file line number Diff line number Diff line change 11import { defineCollection } from 'astro:content' ;
2- import { antvDocsLoader , antvDocsSchema } from '@antv/site /content' ;
2+ import { antvDocsLoader , antvDocsSchema } from '@antv/astro-theme-antv /content' ;
33
44export const collections = {
55 docs : defineCollection ( {
You can’t perform that action at this time.
0 commit comments