1
0
mirror of https://github.com/actix/actix-website synced 2024-11-23 16:31:08 +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="actix-jumbotron">
<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>
<a href="/docs/installation/"
class="btn btn-secondary actix-jumbotron-install">
Install
</a>
</div>
</div>
@ -156,4 +161,4 @@ let app = App::new()
</div>
</div>
{{ partial "footer" . }}
{{ partial "footer" . }}

View File

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