mirror of
https://github.com/ZSCNetSupportDept/website.git
synced 2025-10-29 01:15:04 +08:00
添加首页链接(好像没效果)
This commit is contained in:
@@ -11,6 +11,7 @@ const FeatureList = [
|
|||||||
网维的知识库
|
网维的知识库
|
||||||
</>
|
</>
|
||||||
),
|
),
|
||||||
|
link: '/docs/wiki/首页',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '开发组文档',
|
title: '开发组文档',
|
||||||
@@ -20,6 +21,7 @@ const FeatureList = [
|
|||||||
开发组的文档
|
开发组的文档
|
||||||
</>
|
</>
|
||||||
),
|
),
|
||||||
|
link: "/docs/devdocs/首页",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '公告',
|
title: '公告',
|
||||||
@@ -29,6 +31,7 @@ const FeatureList = [
|
|||||||
公告和博客
|
公告和博客
|
||||||
</>
|
</>
|
||||||
),
|
),
|
||||||
|
link:"/blog",
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -36,7 +39,9 @@ function Feature({Svg, title, description}) {
|
|||||||
return (
|
return (
|
||||||
<div className={clsx('col col--4')}>
|
<div className={clsx('col col--4')}>
|
||||||
<div className="text--center">
|
<div className="text--center">
|
||||||
<Svg className={styles.featureSvg} role="img" />
|
<a href={FeatureList.link}>
|
||||||
|
<Svg className={styles.featureSvg} role="img" />
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div className="text--center padding-horiz--md">
|
<div className="text--center padding-horiz--md">
|
||||||
<Heading as="h3">{title}</Heading>
|
<Heading as="h3">{title}</Heading>
|
||||||
@@ -59,3 +64,4 @@ export default function HomepageFeatures() {
|
|||||||
</section>
|
</section>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user