Front page
This commit is contained in:
parent
76741dc3e7
commit
f046d338d4
|
@ -6,8 +6,8 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
|||
|
||||
/** @type {import('@docusaurus/types').Config} */
|
||||
const config = {
|
||||
title: 'Cwtch User\'s Handbook',
|
||||
tagline: 'How to use Cwtch',
|
||||
title: 'The Cwtch Handbook',
|
||||
tagline: 'Your Guide to setting up and using Surveillance Resistant Infrastructure',
|
||||
url: 'https://docs.cwtch.im',
|
||||
baseUrl: '/',
|
||||
onBrokenLinks: 'throw',
|
||||
|
|
|
@ -35,30 +35,30 @@ const FeatureList = [
|
|||
},
|
||||
];
|
||||
|
||||
// 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">
|
||||
// <h3>{title}</h3>
|
||||
// <p>{description}</p>
|
||||
// </div>
|
||||
// </div>
|
||||
// );
|
||||
// }
|
||||
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">
|
||||
<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>
|
||||
// );
|
||||
// }
|
||||
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>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -29,11 +29,11 @@ export default function Home() {
|
|||
const {siteConfig} = useDocusaurusContext();
|
||||
return (
|
||||
<Layout
|
||||
title={`Hello from ${siteConfig.title}`}
|
||||
description="Description will go into a meta tag in <head />">
|
||||
title={`${siteConfig.title}`}
|
||||
description="The Cwtch Handbook">
|
||||
<HomepageHeader />
|
||||
<main>
|
||||
<HomepageFeatures />
|
||||
|
||||
</main>
|
||||
</Layout>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue