Skip to content

Commit

Permalink
feat(detail): update Antv home update dumi-theme-antv
Browse files Browse the repository at this point in the history
  • Loading branch information
ai-qing-hai committed Nov 17, 2023
1 parent 2b3553c commit 429b24a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/components/ProjectCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ export function ProjectCard() {
ANTV_LINKS.map((link) => {
let href = links[link.href]?.url;

// Ant Design Charts 本身跳转 https://charts.ant.design/api 为 404, 修改为 https://ant-design-charts.antgroup.com
// Ant Design Charts 本身跳转 https://charts.ant.design/example 为 404, 修改为 https://ant-design-charts.antgroup.com/examples
if (title === 'Ant Design Charts' && !href) {
href = `https://ant-design-charts.antgroup.com/${language}/${link.href}`;
href = `https://ant-design-charts.antgroup.com/${language}/${link.href === 'example' ? 'examples' : link.href}`;
}

return <a
Expand Down

0 comments on commit 429b24a

Please sign in to comment.