2022-04-10 23:15:46 +00:00
|
|
|
import React from "react";
|
|
|
|
import clsx from "clsx";
|
|
|
|
import Layout from "@theme/Layout";
|
|
|
|
import Link from "@docusaurus/Link";
|
|
|
|
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
|
|
|
|
import styles from "./index.module.css";
|
|
|
|
import HomepageFeatures from "../components/HomepageFeatures";
|
2022-02-06 18:40:28 +00:00
|
|
|
|
|
|
|
function HomepageHeader() {
|
2022-04-10 23:15:46 +00:00
|
|
|
const { siteConfig } = useDocusaurusContext();
|
2022-02-06 18:40:28 +00:00
|
|
|
return (
|
2022-04-10 23:15:46 +00:00
|
|
|
<header className={clsx("hero hero--primary", styles.heroBanner)}>
|
2022-02-06 18:40:28 +00:00
|
|
|
<div className="container">
|
|
|
|
<h1 className="hero__title">{siteConfig.title}</h1>
|
|
|
|
<p className="hero__subtitle">{siteConfig.tagline}</p>
|
2022-04-10 23:15:46 +00:00
|
|
|
<div className={styles.buttons}></div>
|
2022-02-06 18:40:28 +00:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default function Home() {
|
2022-04-10 23:15:46 +00:00
|
|
|
const { siteConfig } = useDocusaurusContext();
|
2022-02-06 18:40:28 +00:00
|
|
|
return (
|
2022-04-20 20:50:43 +00:00
|
|
|
<Layout title={`${siteConfig.title}`} description="An estimation language">
|
2022-02-06 18:40:28 +00:00
|
|
|
<HomepageHeader />
|
|
|
|
<main>
|
|
|
|
<HomepageFeatures />
|
|
|
|
</main>
|
|
|
|
</Layout>
|
|
|
|
);
|
|
|
|
}
|