docs: improve home page

This commit is contained in:
FireIsGood 2024-06-08 01:13:14 -07:00 committed by GitHub
parent 3df42a2eca
commit 55e21cb826
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 4 deletions

View file

@ -34,7 +34,7 @@
}
.hero--image {
margin-top: 10px;
margin-top: 4rem;
}
.header-github-link:hover {

View file

@ -63,12 +63,21 @@ function Home() {
<div className={styles.buttons}>
<Link
className={classnames(
"button button--outline button--lg",
"button button--primary button--lg",
styles.getStarted
)}
to={useBaseUrl("docs/")}
>
Get Started
Get Started &rarr;
</Link>
<Link
className={classnames(
"button button--outline button--lg",
styles.getStarted
)}
to={useBaseUrl("docs/themes")}
>
See themes &rarr;
</Link>
</div>
<img class="hero--image" src="/img/hero.png" alt="Oh My Posh prompt"></img>

View file

@ -7,6 +7,7 @@
.heroBanner {
padding: 4rem 0;
min-height: 60vh;
text-align: center;
position: relative;
overflow: hidden;
@ -14,12 +15,14 @@
@media screen and (max-width: 966px) {
.heroBanner {
padding: 2rem;
padding: 2rem 0;
}
}
.buttons {
display: flex;
flex-wrap: wrap;
gap: 1rem 1.5rem;
align-items: center;
justify-content: center;
}