Files
www.yevi.org/src/components/HomepageFeatures/index.js
yehor d930d6774d
All checks were successful
Build release image / build (push) Successful in 2m30s
Add matrix link
2025-08-31 23:58:04 +03:00

111 lines
2.5 KiB
JavaScript

import clsx from 'clsx';
import Heading from '@theme/Heading';
import styles from './styles.module.css';
const FeatureList = [
{
title: 'Blog',
link: 'blog',
Svg: require('@site/static/icons/blog.svg').default,
description: (
<>
Some notes, interesting things and projects.
</>
),
},
{
title: 'Git',
link: 'https://git.nicelycomposed.codes/yehor',
Svg: require('@site/static/icons/gitea.svg').default,
description: (
<>
My code
</>
),
},
{
title: 'Mastodon',
link: 'https://techhub.social/@estevez',
Svg: require('@site/static/icons/mastodon.svg').default,
description: (
<>
My micro blog at techhub.social
</>
),
},
{
title: 'Matrix',
link: 'https://matrix.to/#/@yehor:vi.place',
Svg: require('@site/static/icons/matrix.svg').default,
description: (
<>
If you want to chat (with end-to-end encryption)
</>
),
},
{
title: 'GitHub',
link: 'https://github.com/estevez-dev',
Svg: require('@site/static/icons/github.svg').default,
description: (
<>
Some forks and contributions
</>
),
},
{
title: 'Untappd',
link: 'https://untappd.com/user/estevezz',
Svg: require('@site/static/icons/untappd.svg').default,
description: (
<>
Budmo!
</>
),
},
{
title: 'Linkedin',
link: 'https://www.linkedin.com/in/yehor-vialov-2a362158/',
Svg: require('@site/static/icons/linkedin.svg').default,
description: (
<>
They say I need this to find any work
</>
),
},
];
function Feature({ Svg, title, link, description }) {
return (
<div className={clsx('col col--3', styles.featureBlock)}>
<div className="text--center">
<a href={link} target='_blank' className={styles.featureLink}>
<Svg fill="currentColor" className={styles.featureSvg} role="img" />
</a>
</div>
<a href={link} className={styles.featureLink}>
<div className="text--center padding-horiz--md">
<Heading as="h3">{title}</Heading>
<p>{description}</p>
</div>
</a>
</div>
);
}
export default function HomepageFeatures() {
return (
<section className={styles.features}>
<div className="container">
<div className="row">
{FeatureList.map((props, idx) => (
<Feature key={idx} {...props} />
))}
</div>
</div>
</section>
);
}