1
0
mirror of https://github.com/actix/actix-website synced 2024-11-27 18:12:57 +01:00

Show quick install instructions on home page (#134)

* Show quick install instructions on home page

* Change from cargo add to a Cargo.toml dependency

* Change to a CTA within the jumbotron linking to the install page

* Remove redundant class from tag
This commit is contained in:
liquidscorpio 2019-12-31 08:47:52 +00:00 committed by Yuki Okushi
parent 79971de873
commit ee4911d45a
2 changed files with 13 additions and 2 deletions

View File

@ -4,8 +4,13 @@
<div class="jumbotron"> <div class="jumbotron">
<div class="actix-jumbotron"> <div class="actix-jumbotron">
<img src="/img/logo-large.png" class="align-middle actix-logo" alt=""> <img src="/img/logo-large.png" class="align-middle actix-logo" alt="">
<p class="lead">rust's powerful actor system and most fun web framework <p class="lead">
rust's powerful actor system and most fun web framework
</p> </p>
<a href="/docs/installation/"
class="btn btn-secondary actix-jumbotron-install">
Install
</a>
</div> </div>
</div> </div>

View File

@ -327,6 +327,12 @@ img {
* *
*/ */
.actix-jumbotron-install {
min-width: 120px;
margin-top: 2rem;
display: inline-block;
}
.actix-features h2 { .actix-features h2 {
font-size: 1.5rem; font-size: 1.5rem;
margin-top: 2.25rem; margin-top: 2.25rem;