From 6c31336d9011a1155b987b59804bbf65f4644829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B1=A1=E6=95=B0?= Date: Thu, 9 Jan 2025 19:12:28 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0antv=20theme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/.dumi/pages/404.tsx | 2 +- site/.dumi/pages/Examples/index.tsx | 2 +- site/.dumi/theme/slots/ManualContent/index.tsx | 2 +- site/package.json | 2 +- site/site/pages/index.zh.tsx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/site/.dumi/pages/404.tsx b/site/.dumi/pages/404.tsx index b8b058eccf5..2a8b032991f 100644 --- a/site/.dumi/pages/404.tsx +++ b/site/.dumi/pages/404.tsx @@ -1,8 +1,8 @@ +import SEO from '@antv/dumi-theme-antv/dist/common/SEO'; import React from 'react'; import { NotFound as NotFoundPage } from '../slots/404'; import { Footer } from '../slots/Footer'; import { Header } from '../slots/Header'; -import { SEO } from '../slots/SEO'; /** * 404 页面 diff --git a/site/.dumi/pages/Examples/index.tsx b/site/.dumi/pages/Examples/index.tsx index abf65a07450..c3b1b42f348 100644 --- a/site/.dumi/pages/Examples/index.tsx +++ b/site/.dumi/pages/Examples/index.tsx @@ -1,11 +1,11 @@ import { VerticalAlignTopOutlined } from '@ant-design/icons'; +import SEO from '@antv/dumi-theme-antv/dist/common/SEO'; import { ThemeAntVContext } from '@antv/dumi-theme-antv/dist/context'; import { Article } from '@antv/dumi-theme-antv/dist/pages/Examples/components/Article'; import { ExampleTopicMenu } from '@antv/dumi-theme-antv/dist/pages/Examples/components/ExampleTopicMenu'; import { Footer } from '@antv/dumi-theme-antv/dist/slots/Footer'; import { Header } from '@antv/dumi-theme-antv/dist/slots/Header'; import NavigatorBanner from '@antv/dumi-theme-antv/dist/slots/Header/Products/NavigatorBanner'; -import { SEO } from '@antv/dumi-theme-antv/dist/slots/SEO'; import { usePrevAndNext } from '@antv/dumi-theme-antv/dist/slots/hooks'; import type { ExampleTopic } from '@antv/dumi-theme-antv/dist/types'; import { Layout as AntLayout, BackTop } from 'antd'; diff --git a/site/.dumi/theme/slots/ManualContent/index.tsx b/site/.dumi/theme/slots/ManualContent/index.tsx index 258ef361fdf..b5db024ca06 100644 --- a/site/.dumi/theme/slots/ManualContent/index.tsx +++ b/site/.dumi/theme/slots/ManualContent/index.tsx @@ -13,8 +13,8 @@ import { useMedia } from 'react-use'; import readingTime from 'reading-time'; import URI from 'uri-parse'; +import SEO from '@antv/dumi-theme-antv/dist/common/SEO'; import { ContentTable } from '@antv/dumi-theme-antv/dist/slots/ContentTable'; -import { SEO } from '@antv/dumi-theme-antv/dist/slots/SEO'; import GithubButtonBar from '../GithubButtonBar'; import { NavigatorBanner } from '@antv/dumi-theme-antv/dist/slots/ManualContent/NavigatorBanner'; diff --git a/site/package.json b/site/package.json index b9048862daf..5d43fb40f13 100644 --- a/site/package.json +++ b/site/package.json @@ -37,7 +37,7 @@ }, "dependencies": { "@ant-design/icons": "^5.3.6", - "@antv/dumi-theme-antv": "^0.x", + "@antv/dumi-theme-antv": "^0.5.6", "@antv/g2": "^4.2.8", "@antv/l7-composite-layers": "^0.15.0", "@antv/l7-draw": "^3.0.9", diff --git a/site/site/pages/index.zh.tsx b/site/site/pages/index.zh.tsx index 1344cc4af0c..48d8374396f 100644 --- a/site/site/pages/index.zh.tsx +++ b/site/site/pages/index.zh.tsx @@ -1,8 +1,8 @@ +import SEO from '@antv/dumi-theme-antv/dist/common/SEO'; import Banner from '@antv/gatsby-theme-antv/site/components/Banner'; import Cases from '@antv/gatsby-theme-antv/site/components/Cases'; import Companies from '@antv/gatsby-theme-antv/site/components/Companies'; import Features from '@antv/gatsby-theme-antv/site/components/Features'; -import SEO from '@antv/gatsby-theme-antv/site/components/Seo'; import React from 'react'; import { useTranslation } from 'react-i18next'; import { L7Draw } from '../components/L7Draw';