tabby/docs/src/components/HomepageFeatures/index.js

62 lines
1.5 KiB
JavaScript

import React from 'react';
import clsx from 'clsx';
import styles from './styles.module.css';
const FeatureList = [
{
title: 'Easy to configure',
// Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
description: (
<>
Controls deployment with simple TOML config
</>
),
},
{
title: 'Open source',
// Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
description: (
<>
Audit the entire Tabby codebase for security or compliance on Github. Or host your own deployment.
</>
),
},
{
title: 'Powered by Rust',
// Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
description: (
<>
Brings the best-in-class speed and safety of Rust, to make your coding experience as quick and reliable as possible.
</>
),
},
];
function Feature({Svg, title, description}) {
return (
<div className={clsx('col col--4')}>
<div className="text--center">
{false && <Svg className={styles.featureSvg} role="img" /> }
</div>
<div className="text--center padding-horiz--md">
<h3>{title}</h3>
<p>{description}</p>
</div>
</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>
);
}