From ee4911d45a952716c6df46f2145791a9ebf7cdfa Mon Sep 17 00:00:00 2001 From: liquidscorpio Date: Tue, 31 Dec 2019 08:47:52 +0000 Subject: [PATCH] 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 --- layouts/index.html | 9 +++++++-- static/css/actix.css | 6 ++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 307f635..ae77f96 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,8 +4,13 @@
-

rust's powerful actor system and most fun web framework +

+ rust's powerful actor system and most fun web framework

+ + Install +
@@ -156,4 +161,4 @@ let app = App::new() -{{ partial "footer" . }} \ No newline at end of file +{{ partial "footer" . }} diff --git a/static/css/actix.css b/static/css/actix.css index 041ada6..57af572 100644 --- a/static/css/actix.css +++ b/static/css/actix.css @@ -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;