added new frontpage design

This commit is contained in:
pixeldesu 2014-12-13 17:52:58 +01:00
parent 309fa939aa
commit 3173d70aac
3 changed files with 35 additions and 12 deletions

View File

@ -27,4 +27,9 @@ body {
#load-more-btn {
margin-bottom: 1.5em;
}
.j2-jumbo {
background-color: darken($navbar-inverse-bg, 10%);
color: #fff;
}

View File

@ -0,0 +1,29 @@
.jumbotron.j2-jumbo.text-center
.container
= render 'layouts/messages'
%h1 justask
%p Ask questions, give answers and learn more about your friends.
%p
%a.btn.btn-primary.btn-lg{href: url_for(new_user_registration_path)}
Register now
%small
Already a member?
= link_to 'Sign in', new_user_session_path
%h2 Features
.row
.col-md-4.col-sm-4.col-xs-12
%h3
Ask and receive questions
%p
With justask you can ask users questions and receive some from other users or unregistered people! Need to know something more? Keep the discussion ongoing with comments!
.col-md-4.col-sm-4.col-xs-12
%h3
Follow users and get followed
%p
Following users will allow you to get a personalized feed of all people you want to know more about! Also, you can send a question to all your followers at once!
.col-md-4.col-sm-4.col-xs-12
%h3
Sharing to other networks
%p
Want to share the answer you just wrote to a question you think more people should know about? With the simple press of a button your answer is shared where you want!
= render "shared/links"

View File

@ -55,15 +55,4 @@
Load more
.visible-xs= render 'shared/links'
- else
.jumbotron
.container
= render 'layouts/messages'
%h1 Hi!
%p Ask questions, give answers and learn more about your friends.
%p
%a.btn.btn-primary.btn-lg{href: url_for(new_user_registration_path)}
Register now
%small
Already a member?
= link_to 'Sign in', new_user_session_path
= render "shared/links"
= render 'static/front'