Skip to content

Commit 0b6de6e

Browse files
authored
Update hero banner for documentation button update (#157)
1 parent f1b4e1d commit 0b6de6e

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/components/home/index.module.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ html[data-theme="dark"] {
2424
.heroBanner {
2525
padding: 2rem;
2626
}
27+
28+
.buttons {
29+
flex-direction: column;
30+
}
2731
}
2832

2933
.buttons {
@@ -32,6 +36,6 @@ html[data-theme="dark"] {
3236
justify-content: center;
3337
}
3438

35-
.buttonMargin {
36-
margin: 1em 0.5em;
39+
.buttons>a {
40+
margin: 0.5rem;
3741
}

src/components/home/index.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,11 @@ function HomepageHeader() {
2424
>
2525
Visit Boa Playground
2626
</Link>
27-
</div>
28-
<div>
2927
<Link
30-
className={"button button--secondary " + styles.buttonMargin}
28+
className={"button button--secondary button--lg"}
3129
href="https://docs.rs/boa_engine/latest/boa_engine/"
3230
>
33-
Documentation
31+
View Documentation
3432
</Link>
3533
</div>
3634
</div>

0 commit comments

Comments
 (0)