Skip to content

Commit

Permalink
Adds a how it works section
Browse files Browse the repository at this point in the history
  • Loading branch information
nickschuch committed Jan 27, 2025
1 parent abd539d commit ece55ab
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
Binary file added docs/src/components/HowItWorks/how-it-works.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions docs/src/components/HowItWorks/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import clsx from 'clsx';
import src from './how-it-works.png';

export default function HowItWorks() {
return (
<section>
<div className="container">
<div className="row">
<div className={clsx('col col--8 col--offset-2')}>
<img src={src} alt="Overview of how MTK works" />;
</div>
</div>
</div>
</section>
);
}
2 changes: 2 additions & 0 deletions docs/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import HomepageFeatures from '@site/src/components/HomepageFeatures';
import HowItWorks from '@site/src/components/HowItWorks';

import Heading from '@theme/Heading';
import styles from './index.module.css';
Expand Down Expand Up @@ -37,6 +38,7 @@ export default function Home() {
<HomepageHeader />
<main>
<HomepageFeatures />
<HowItWorks />
</main>
</Layout>
);
Expand Down

0 comments on commit ece55ab

Please sign in to comment.