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

2
app/views/shared/_error_banner.html.erb Normal file → Executable file
View File

@ -13,6 +13,6 @@
# with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
%>
<div class="pt-2 text-center text-danger error-section pb-1">
<div class="alert alert-icon alert-danger text-center mb-0">
<%= yield %>
</div>

40
app/views/shared/_features.html.erb Normal file → Executable file
View File

@ -13,27 +13,29 @@
# with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
%>
<h1 class="text-center mt-8"><%= t("features.title") %></h1>
<div class="container text-center">
<div class="col-12 mt-6">
<div class="background row feature-stamp">
<div class="col-3 my-5">
<i class="fas fa-chalkboard-teacher fa-3x"></i>
<h4 class="mt-5"><%= t("features.rooms") %></h4>
</div>
<div class="col-3 my-5">
<i class="fas fa-film fa-3x"></i>
<h4 class="mt-5"><%= t("features.recordings") %></h4>
</div>
<div class="col-3 my-5">
<i class="fas fa-pencil-alt fa-3x"></i>
<h4 class="mt-5"><%= t("features.designs") %></h4>
</div>
<div class="col-3 my-5">
<i class="fas fa-door-open fa-3x"></i>
<h4 class="mt-5"><%= t("features.authentication") %></h4>
<div class="container mt-8 mb-6 text-center">
<h2 class="mb-6">Greenlight <%= t("features.title") %></h2>
<div class="row feature-stamp">
<div class="col-lg-3 col-md-6">
<div class="feature-item">
<div class="stamp bg-primary"><i class="fas fa-chalkboard-teacher fa-2x"></i></div>
<h4 class="mt-4"><%= t("features.rooms") %></h4>
</div>
</div>
<div class="col-lg-3 col-md-6">
<span class="stamp bg-primary"><i class="fas fa-film fa-2x"></i></span>
<h4 class="mt-4"><%= t("features.recordings") %></h4>
</div>
<div class="col-lg-3 col-md-6">
<span class="stamp bg-primary"><i class="fas fa-pencil-alt fa-2x"></i></span>
<h4 class="mt-4"><%= t("features.designs") %></h4>
</div>
<div class="col-lg-3 col-md-6">
<span class="stamp bg-primary"><i class="fas fa-door-open fa-2x"></i></span>
<h4 class="mt-4"><%= t("features.authentication") %></h4>
</div>
</div>
</div>

3
app/views/shared/_footer.html.erb Normal file → Executable file
View File

@ -14,6 +14,5 @@
%>
<footer class="footer pt-3">
<h5 class="text-center mb-1"><%= t("footer.powered_by", href: link_to(t("greenlight"), "https://bigbluebutton.org/2018/07/09/greenlight-2-0/", target: "_blank", class: "text-green")).html_safe %></h5>
<p class="text-center pb-0">v <%= Greenlight::Application::VERSION %></p>
<p class="text-center mb-1"><%= t("footer.powered_by", href: link_to(t("greenlight"), "https://bigbluebutton.org/2018/07/09/greenlight-2-0/", target: "_blank")).html_safe %> v <%= Greenlight::Application::VERSION %></p>
</footer>

0
app/views/shared/_header.html.erb Normal file → Executable file
View File