mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
docs: improve home page
This commit is contained in:
parent
3df42a2eca
commit
55e21cb826
|
@ -34,7 +34,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero--image {
|
.hero--image {
|
||||||
margin-top: 10px;
|
margin-top: 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-github-link:hover {
|
.header-github-link:hover {
|
||||||
|
|
|
@ -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 →
|
||||||
|
</Link>
|
||||||
|
<Link
|
||||||
|
className={classnames(
|
||||||
|
"button button--outline button--lg",
|
||||||
|
styles.getStarted
|
||||||
|
)}
|
||||||
|
to={useBaseUrl("docs/themes")}
|
||||||
|
>
|
||||||
|
See themes →
|
||||||
</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>
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue