Skip to content

Commit 7bd9080

Browse files
authored
Jyc (#130)
* fix Signed-off-by: JYC0413 <[email protected]> * fix Signed-off-by: JYC0413 <[email protected]> * fix Signed-off-by: JYC0413 <[email protected]> --------- Signed-off-by: JYC0413 <[email protected]>
1 parent b68d16a commit 7bd9080

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/components/HomepageFeatures/index.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,17 @@ const FeatureList = [
4343
),
4444
},
4545
];
46-
function Feature({ Svg, LinkSvg, LinkUrl, title, description }) {
46+
47+
function Feature({ Svg, LinkUrl, title, description }) {
4748
return (
4849
<div className={clsx('col col--4')}>
4950
<div className="text--center">
5051
<Svg className={styles.featureSvg} role="img" />
5152
</div>
5253
<div className={`${styles.hoverStyle} text--center padding-horiz--md`}>
5354
<div style={{ display: 'flex' }}>
54-
<h3>{title}</h3>
5555
<Link to={LinkUrl}>
56-
<LinkSvg className={styles.linkSvg} role="img" />
56+
<h3>{title}</h3>
5757
</Link>
5858
</div>
5959
<p>{description}</p>
@@ -63,13 +63,12 @@ function Feature({ Svg, LinkSvg, LinkUrl, title, description }) {
6363
}
6464

6565
export default function HomepageFeatures() {
66-
const LinkSvg = require('@site/static/img/Click.svg').default;
6766
return (
6867
<section className={styles.features}>
6968
<div className="container">
7069
<div className="row">
7170
{FeatureList.map((feature) => (
72-
<Feature key={feature.id} {...feature} LinkSvg={LinkSvg} />
71+
<Feature key={feature.id} {...feature} />
7372
))}
7473
</div>
7574
</div>

0 commit comments

Comments
 (0)