side_menu_doc/src/components/HomepageFeatures/index.js
Simon Vieille ce89b59a83
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix typo
2024-01-23 23:55:15 +01:00

62 lines
1.7 KiB
JavaScript

import clsx from 'clsx';
import Heading from '@theme/Heading';
import styles from './styles.module.css';
const FeatureList = [
{
title: 'Reorganize the access to your apps',
Svg: require('@site/static/content/organize.svg').default,
description: (
<>
<em>Custom menu</em> allows you to modify the position of the main menu by creating a panel on the left of the interface or with a big menu on the top. You can also define apps that must be displayed in the top menu.
</>
),
},
{
title: 'Fully customizable',
Svg: require('@site/static/content/customization.svg').default,
description: (
<>
<em>Custom menu</em> offers a multitude of settings, giving you the flexibility to configure Nextcloud to suit your specific needs and preferences.
</>
),
},
{
title: 'Free and open-source',
Svg: require('@site/static/content/free.svg').default,
description: (
<>
You have the freedom to inspect the code, duplicate it, learn with it, modify it or distribute it as you see fit.
</>
),
},
];
function Feature({Svg, title, description}) {
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">
<Heading as="h3">{title}</Heading>
<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>
);
}