forked from github-starred/komodo
68 lines
1.7 KiB
TypeScript
68 lines
1.7 KiB
TypeScript
import React from 'react';
|
|
import clsx from 'clsx';
|
|
import styles from './styles.module.css';
|
|
|
|
type FeatureItem = {
|
|
title: string;
|
|
// Svg: React.ComponentType<React.ComponentProps<'svg'>>;
|
|
description: JSX.Element;
|
|
};
|
|
|
|
const FeatureList: FeatureItem[] = [
|
|
{
|
|
title: 'automated builds 🛠️',
|
|
// Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
|
|
description: (
|
|
<>
|
|
build auto versioned docker images from github repos, trigger builds on git push
|
|
</>
|
|
),
|
|
},
|
|
{
|
|
title: 'deploy docker containers 🚀',
|
|
// Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
|
|
description: (
|
|
<>
|
|
deploy your builds (or any docker image), see uptime and logs across all your servers
|
|
</>
|
|
),
|
|
},
|
|
{
|
|
title: 'powered by Rust 🦀',
|
|
// Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
|
|
description: (
|
|
<>
|
|
The core API and periphery client are written in Rust
|
|
</>
|
|
),
|
|
},
|
|
];
|
|
|
|
function Feature({ title, description }: FeatureItem) {
|
|
return (
|
|
<div className={clsx('col col--4')}>
|
|
{/* <div className="text--center">
|
|
<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(): JSX.Element {
|
|
return (
|
|
<section className={styles.features}>
|
|
<div className="container">
|
|
<div className="row">
|
|
{FeatureList.map((props, idx) => (
|
|
<Feature key={idx} {...props} />
|
|
))}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
}
|