Merge pull request #10 from beatriceo/landing_page

done landing_page
This commit is contained in:
Ethan1710
2018-08-28 15:35:27 +01:00
committed by GitHub
7 changed files with 48 additions and 2 deletions

View File

@@ -10,7 +10,7 @@
<%#= stylesheet_pack_tag 'application', media: 'all' %> <!-- Uncomment if you import CSS in app/javascript/packs/application.js -->
</head>
<body>
<%= render 'shared/navbar' %>
<%= render 'shared/navbar' unless params["action"] == "home"%>
<%= render 'shared/flashes' %>
<%= yield %>
<%= javascript_include_tag 'application' %>

View File

@@ -0,0 +1,17 @@
<div class="banner" style="background-image: linear-gradient(-225deg, rgba(5,25,55,0.3) 0%, rgba(68,73,101,0.3),rgba(128,129,149,0.3),rgba(191,190,200,0.3),rgba(255,255,255,0.3) 50%), url('<%= image_path 'phone.jpg' %>');">
<div class="banner-content">
<h1>Make a call</h1>
<p>Communicate in different languages</p>
<p>and receive real-time translated</p>
<p> subtitles in your native tongue.</p>
<p>
<span id="banner-typed-text"></span>
</p>
<%= link_to "Sign Up",new_user_registration_path, class: "btn btn-primary btn-lg" %>
<%= link_to "Login", new_user_session_path, class: "btn btn-primary btn-lg" %>
</div>
</div>
<% unless current_user.nil? %>
<% end %>