Skip to content

Commit

Permalink
add back simple landing and remove extra static assets
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwong525 committed Apr 13, 2024
1 parent be2028b commit 8a509f3
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 463 deletions.
70 changes: 0 additions & 70 deletions docusaurus/src/components/HomepageFeatures/index.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions docusaurus/src/components/HomepageFeatures/styles.module.css

This file was deleted.

39 changes: 39 additions & 0 deletions docusaurus/src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import clsx from 'clsx';
import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import Heading from '@theme/Heading';

import styles from './index.module.css';

function HomepageHeader() {
const { siteConfig } = useDocusaurusContext();
return (
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className="container">
<Heading as="h1" className="hero__title">
{siteConfig.title}
</Heading>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs">
View Documentation
</Link>
</div>
</div>
</header>
);
}

export default function Home(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
return (
<Layout
title={`Hello from ${siteConfig.title}`}
description="Description will go into a meta tag in <head />">
<HomepageHeader />
</Layout>
);
}
Binary file removed docusaurus/static/img/docusaurus.png
Binary file not shown.
1 change: 0 additions & 1 deletion docusaurus/static/img/logo.svg

This file was deleted.

Loading

0 comments on commit 8a509f3

Please sign in to comment.