Greenlight landing page layout adjustments, general cleanup and responsive styles (#271)

This commit is contained in:
Tyler Copeland
2018-09-19 15:28:48 -04:00
committed by Jesus Federico
parent c05d2e314d
commit 423ec6c828
7 changed files with 48 additions and 60 deletions

29
app/views/main/index.html.erb Normal file → Executable file
View File

@ -21,25 +21,24 @@
<% end %>
<% end %>
<div class="container pt-9 pb-4">
<div class="row pb-8">
<div class="col-md-8 col-sm-12">
<p id="main-text" class="font-weight-400 display-4"><%= t("landing.welcome").html_safe %></p>
<p class="text-muted h4" style="line-height: 22px;"><%= t("landing.about", href: link_to(t("greenlight"), "https://bigbluebutton.org/2018/07/09/greenlight-2-0/", target: "_blank", class: "text-green")).html_safe %></p>
<br>
<%= link_to "https://youtu.be/Hso8yLzkqj8", target: "_blank" do %>
<h4><%= t("landing.video") %> <i class="far fa-play-circle"></i></h4>
<% end %>
</div>
<div class="col-md-4 col-sm-12 img-cycle text-center">
<%= image_tag("landing/world.png", class: "active") %>
<%= image_tag("landing/bbb.png") %>
<%= image_tag("landing/mobile.png") %>
<div class="background">
<div class="container pt-9 pb-8">
<div class="row">
<div class="col-md-12 col-sm-12 text-center">
<h1 id="main-text" class="display-4 mb-4"> <%= t("landing.welcome").html_safe %></h1>
<p class="lead offset-lg-2 col-lg-8 col-sm-12 "><%= t("landing.about", href: link_to(t("greenlight"), "https://bigbluebutton.org/2018/07/09/greenlight-2-0/", target: "_blank")).html_safe %></p>
<%= link_to "https://youtu.be/Hso8yLzkqj8", target: "_blank" do %>
<h4><%= t("landing.video") %> <i class="far fa-play-circle ml-1"></i></h4>
<% end %>
</div>
</div>
</div>
<%= render "shared/features" %>
</div>
<%= render "shared/features" %>
<script>
var cycleImages = function(){
var images = $('.img-cycle img');