Skip to content

Commit

Permalink
clean home page
Browse files Browse the repository at this point in the history
  • Loading branch information
cremarco committed Jul 26, 2024
1 parent 30ddf6d commit f8041b1
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,14 @@ 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>
</header>
);
}

export default function Home(): JSX.Element {
const {siteConfig} = useDocusaurusContext();
return (
<Layout
title={`Hello from ${siteConfig.title}`}
description="MantisTable UI was designed to let you tame your Semantic Table Interpretation approach.">
<HomepageHeader />
<main>
<HomepageFeatures />
<div>MAIN</div>
</main>
</Layout>
);
Expand Down

0 comments on commit f8041b1

Please sign in to comment.