summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo <mo.khan@gmail.com>2017-09-09 13:21:08 -0600
committermo <mo.khan@gmail.com>2017-09-09 13:21:08 -0600
commitbf8d213f9a12bbbc72880a02e9254b1e4f908ab9 (patch)
treeb679ba989609694fec37f848bf0a27bb8a054ca6
parent09abd51b8935ead44b9bcccd38b079d81c8433f6 (diff)
change the jumbotron.
-rw-r--r--app/views/cakes/index.html.erb26
1 files changed, 11 insertions, 15 deletions
diff --git a/app/views/cakes/index.html.erb b/app/views/cakes/index.html.erb
index 9ecfc6a5..0977b9e4 100644
--- a/app/views/cakes/index.html.erb
+++ b/app/views/cakes/index.html.erb
@@ -2,22 +2,18 @@
<% provide(:search_path, request.env['PATH_INFO'] || cakes_path) %>
<% provide(:container_class, 'container') %>
-<% unless user_signed_in? -%>
- <div class="row">
- <div class="col">
- <%= image_tag "cakeside-logo.png", :alt => "Welcome to Cakeside", style: 'max-height:186px' %>
- </div>
- <div class="col">
- <h1>Welcome cake enthusiast!</h1>
- <p style="font-size:15px;">
- <strong>Make</strong> cakes, <strong>sell</strong> cakes, or just <strong>love</strong> eating them? You've come to the right place!
- <strong>CakeSide</strong> is a free site to <strong>share</strong> your cake <strong>creations</strong> and <strong>ideas</strong> with other cake fanatics like yourself!</p><br/>
- <p style="text-align: center;">
- Get your cakes featured on this page <%= link_to "Sign Up For Free!", login_path, class: "btn btn-primary btn-large" %> or <%= link_to "sign in", new_session_path %>
- </p>
- </div>
+<% unless user_signed_in? %>
+<div class="row jumbotron">
+ <div class="col text-center">
+ <%= image_tag "cakeside-logo.png", alt: "CakeSide", class: "img-fluid" %>
+ <h1>Welcome cake enthusiast!</h1>
+ <p> Do you make cakes, sell cakes, or just love eating them? Then you've come to the right place. </p>
+ <p> CakeSide is a free site to share your cake creations and ideas with other cake fanatics like yourself. </p>
+ <p> Get your cakes featured on this page. </p>
+ <%= link_to "Sign Up For Free", login_path, class: "btn btn-primary btn-large" %> or <%= link_to "Sign in", new_session_path %>
</div>
-<% end -%>
+</div>
+<% end %>
<div class="row">
<div class="col">