forked from nmfs-ocio/radfish
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
63 lines (60 loc) · 1.7 KB
/
index.js
File metadata and controls
63 lines (60 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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";
import HomepageFeatures from "../components/HomepageFeatures";
function HomepageHeader() {
const { siteConfig } = useDocusaurusContext();
return (
<header className={clsx("hero", styles.heroBanner)}>
<div className={clsx("container", styles.heroContainer)}>
<Heading
as="h1"
className={clsx(styles.heroHeading, styles.heroTextColor)}
>
{siteConfig.title}
</Heading>
<Heading
as="h2"
className={clsx(styles.heroSubHeading, styles.heroTextColor)}
>
{siteConfig.tagline}
</Heading>
<div className={clsx("buttons", styles.heroButtons)}>
<Link
className="button button--secondary"
to="/developer-documentation/getting-started"
>
Get started
</Link>
<Link
className="button button--secondary"
to="/about/what-is-radfish"
>
About RADFish
</Link>
<Link
className="button button--secondary"
to="/tutorial/introduction"
>
Tutorial
</Link>
</div>
</div>
</header>
);
}
export default function Home() {
const { siteConfig } = useDocusaurusContext();
return (
<Layout
title={`${siteConfig.title}`}
description="Description will go into a meta tag in <head />"
>
<HomepageHeader />
<HomepageFeatures />
</Layout>
);
}