Skip to content

Commit

Permalink
Update hero banner for documentation button update (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
nekevss committed Jun 18, 2024
1 parent f1b4e1d commit 0b6de6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 6 additions & 2 deletions src/components/home/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ html[data-theme="dark"] {
.heroBanner {
padding: 2rem;
}

.buttons {
flex-direction: column;
}
}

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

.buttonMargin {
margin: 1em 0.5em;
.buttons>a {
margin: 0.5rem;
}
6 changes: 2 additions & 4 deletions src/components/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@ function HomepageHeader() {
>
Visit Boa Playground
</Link>
</div>
<div>
<Link
className={"button button--secondary " + styles.buttonMargin}
className={"button button--secondary button--lg"}
href="https://docs.rs/boa_engine/latest/boa_engine/"
>
Documentation
View Documentation
</Link>
</div>
</div>
Expand Down

0 comments on commit 0b6de6e

Please sign in to comment.