Skip to content

Commit 73069fd

Browse files
committed
feat(homepage): update homepage with illustrations and descriptions
1 parent 9548db2 commit 73069fd

File tree

5 files changed

+22
-19
lines changed

5 files changed

+22
-19
lines changed

docs/src/components/HomepageFeatures/index.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
1-
import React from 'react';
2-
import clsx from 'clsx';
3-
import styles from './styles.module.css';
1+
import React from "react";
2+
import clsx from "clsx";
3+
import styles from "./styles.module.css";
44

55
const FeatureList = [
66
{
7-
title: 'Easy to Use',
8-
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
7+
title: "Everything you need",
8+
Svg: require("@site/static/img/product-dev.svg").default,
99
description: (
1010
<>
11-
Docusaurus was designed from the ground up to be easily installed and
12-
used to get your website up and running quickly.
11+
Learn Flask, Docker, PostgreSQL, and more. Build professional-grade REST
12+
APIs with Python.
1313
</>
1414
),
1515
},
1616
{
17-
title: 'Focus on What Matters',
18-
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
17+
title: "The latest versions",
18+
Svg: require("@site/static/img/cloud-download.svg").default,
1919
description: (
2020
<>
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.
21+
No more outdated tutorials. Use Python 3.10+ and the latest versions of
22+
every Flask extension and library.
2323
</>
2424
),
2525
},
2626
{
27-
title: 'Powered by React',
28-
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
27+
title: "Use best practices",
28+
Svg: require("@site/static/img/robot-coding.svg").default,
2929
description: (
3030
<>
31-
Extend or customize your website layout by reusing React. Docusaurus can
32-
be extended while reusing the same header and footer.
31+
Run your apps in Docker, host your code with Git, write documentation
32+
with Swagger, and test your APIs while developing.
3333
</>
3434
),
3535
},
3636
];
3737

38-
function Feature({Svg, title, description}) {
38+
function Feature({ Svg, title, description }) {
3939
return (
40-
<div className={clsx('col col--4')}>
40+
<div className={clsx("col col--4")}>
4141
<div className="text--center">
4242
<Svg className={styles.featureSvg} role="img" />
4343
</div>

docs/src/pages/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export default function Home() {
3030
const { siteConfig } = useDocusaurusContext();
3131
return (
3232
<Layout
33-
title={`Hello from ${siteConfig.title}`}
34-
description="Description will go into a meta tag in <head />"
33+
title={`${siteConfig.title} e-book`}
34+
description="The full course notes and code"
3535
>
3636
<HomepageHeader />
3737
<main>

docs/static/img/cloud-download.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/static/img/product-dev.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/static/img/robot-coding.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)