Skip to content

Commit c1641d8

Browse files
committed
docs: homepage content
1 parent ed37b3d commit c1641d8

File tree

4 files changed

+25
-19
lines changed

4 files changed

+25
-19
lines changed

docs/comparison.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Coming soon(-ish)!

docs/snippets.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Coming soon(-ish)!

src/components/HomepageFeatures.js

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,51 @@ import styles from './HomepageFeatures.module.css';
44

55
const FeatureList = [
66
{
7-
title: 'Easy to Use',
7+
title: 'Learn the options',
8+
link: '/docs/types',
89
Svg: require('../../static/img/undraw_docusaurus_mountain.svg').default,
910
description: (
1011
<>
11-
Docusaurus was designed from the ground up to be easily installed and
12-
used to get your website up and running quickly.
12+
Learn the main charactersitics of each technology so you can pick the
13+
one that better fits your needs.
1314
</>
1415
),
1516
},
1617
{
17-
title: 'Focus on What Matters',
18+
title: 'Check code snippets',
19+
link: '/docs/snippets',
1820
Svg: require('../../static/img/undraw_docusaurus_tree.svg').default,
1921
description: (
2022
<>
21-
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go
22-
ahead and move your docs into the <code>docs</code> directory.
23+
See how different scenarios are implemented accross diferent
24+
technologies.
2325
</>
2426
),
2527
},
2628
{
27-
title: 'Powered by React',
29+
title: 'Compare them',
30+
link: '/docs/comparison',
2831
Svg: require('../../static/img/undraw_docusaurus_react.svg').default,
2932
description: (
3033
<>
31-
Extend or customize your website layout by reusing React. Docusaurus can
32-
be extended while reusing the same header and footer.
34+
See how they compare to each other for different metrics.
3335
</>
3436
),
3537
},
3638
];
3739

38-
function Feature({Svg, title, description}) {
40+
function Feature({ Svg, title, description, link }) {
3941
return (
4042
<div className={clsx('col col--4')}>
41-
<div className="text--center">
42-
<Svg className={styles.featureSvg} alt={title} />
43-
</div>
44-
<div className="text--center padding-horiz--md">
45-
<h3>{title}</h3>
46-
<p>{description}</p>
47-
</div>
43+
<a href={link}>
44+
<div className="text--center">
45+
<Svg className={styles.featureSvg} alt={title} />
46+
</div>
47+
</a>
48+
<div className="text--center padding-horiz--md">
49+
<h3><a href={link}>{title}</a></h3>
50+
<p>{description}</p>
51+
</div>
4852
</div>
4953
);
5054
}

src/pages/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function HomepageHeader() {
1717
<Link
1818
className="button button--secondary button--lg"
1919
to="/docs/introduction">
20-
Learn more
20+
Find out more
2121
</Link>
2222
</div>
2323
</div>
@@ -29,7 +29,7 @@ export default function Home() {
2929
const {siteConfig} = useDocusaurusContext();
3030
return (
3131
<Layout
32-
title={`Hello from ${siteConfig.title}`}
32+
title={`Learn about cross-platform development`}
3333
description="Where questions about cross-platform development get answered">
3434
<HomepageHeader />
3535
<main>

0 commit comments

Comments
 (0)