Skip to content

Commit 7fa378a

Browse files
committed
Added button for quick start
1 parent 3413c01 commit 7fa378a

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

website/src/pages/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react';
22
import clsx from 'clsx';
3+
import Link from '@docusaurus/Link';
34
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
45
import Layout from '@theme/Layout';
56
import HomepageFeatures from '@site/src/components/HomepageFeatures';
@@ -24,6 +25,13 @@ function HomepageHeader() {
2425
src={require('../../static/img/terminal.png').default}
2526
alt="Terminal"
2627
/>
28+
<div className={styles.buttons}>
29+
<Link
30+
className="button button--secondary button--lg"
31+
to="/docs/quick-start">
32+
Get Started
33+
</Link>
34+
</div>
2735
</div>
2836
</header>
2937
);

website/src/pages/index.module.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,16 @@
1717
}
1818

1919
.buttons {
20+
padding: 2rem 0;
2021
display: flex;
2122
align-items: center;
2223
justify-content: center;
2324
}
2425

26+
.buttons > *:not(:first-child) {
27+
margin-left: 1rem;
28+
}
29+
2530
@media screen and (min-width: 997px) {
2631
.heroTerminal {
2732
width: 50%;

0 commit comments

Comments
 (0)