mirror of https://codeberg.org/pzp/pzp-wiki.git
Clarify external links on startpage
This commit is contained in:
parent
58eabdf801
commit
97b440cf32
|
@ -1,5 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
|
import IconExternalLink from '@theme/Icon/ExternalLink';
|
||||||
import styles from './styles.module.css';
|
import styles from './styles.module.css';
|
||||||
|
|
||||||
const FeatureList = [
|
const FeatureList = [
|
||||||
|
@ -37,7 +38,7 @@ function Feature({title, description, link}) {
|
||||||
<div className={clsx('col col--4')}>
|
<div className={clsx('col col--4')}>
|
||||||
<div className="text--center padding-horiz--md">
|
<div className="text--center padding-horiz--md">
|
||||||
<a href={link} target='_blank' style={{color: 'var(--ifm-font-color-base)'}}>
|
<a href={link} target='_blank' style={{color: 'var(--ifm-font-color-base)'}}>
|
||||||
<h3>{title}</h3>
|
<h3>{title}<IconExternalLink/></h3>
|
||||||
<p>{description}</p>
|
<p>{description}</p>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue