Add initial website

This commit is contained in:
yehor
2025-05-16 16:08:50 +03:00
parent 5770fdeaf9
commit d10a177923
46 changed files with 27704 additions and 1 deletions

View File

@@ -0,0 +1,61 @@
import clsx from 'clsx';
import Heading from '@theme/Heading';
import styles from './styles.module.css';
const FeatureList = [
{
title: 'HomeLab Documented',
link: 'docs/homelab',
Svg: require('@site/static/img/homelab.svg').default,
description: (
<>
Here I'm trying my best in documenting my self-hosted journey.
</>
),
},
{
title: 'Blog',
link: 'blog',
Svg: require('@site/static/img/blog.svg').default,
description: (
<>
Some notes, interesting things and projects.
</>
),
},
];
function Feature({ Svg, title, link, description }) {
return (
<div className={clsx('col col--6')}>
<div className="text--center">
<a href={link} className={styles.featureLink}>
<Svg 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>
);
}