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 { .hero--image {
margin-top: 10px; margin-top: 4rem;
} }
.header-github-link:hover { .header-github-link:hover {

View file

@ -63,12 +63,21 @@ function Home() {
<div className={styles.buttons}> <div className={styles.buttons}>
<Link <Link
className={classnames( className={classnames(
"button button--outline button--lg", "button button--primary button--lg",
styles.getStarted styles.getStarted
)} )}
to={useBaseUrl("docs/")} 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> </Link>
</div> </div>
<img class="hero--image" src="/img/hero.png" alt="Oh My Posh prompt"></img> <img class="hero--image" src="/img/hero.png" alt="Oh My Posh prompt"></img>

View file

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