mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-22 09:42:11 +00:00
changed pages/home to pages/call
This commit is contained in:
12
app/views/layouts/_contact.html.erb
Normal file
12
app/views/layouts/_contact.html.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
<div class="card">
|
||||
<div class="profile img-circle">
|
||||
<img src="https://kitt.lewagon.com/placeholder/users/ssaunier" alt="">
|
||||
</div>
|
||||
<div class="info">
|
||||
<h3>FirstName LastName</h3>
|
||||
<p>Last call: <%= Date.now %></p>
|
||||
</div>
|
||||
<div class="call">
|
||||
<i class="fas fa-phone"></i>
|
||||
</div>
|
||||
</div>
|
15
app/views/layouts/index.html.erb
Normal file
15
app/views/layouts/index.html.erb
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="container">
|
||||
<div class="contacts">
|
||||
<h2>Contacts</h2>
|
||||
<% 5.times do %>
|
||||
<%= render "layouts/contact" %>
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="video-feed">
|
||||
<video src=""></video>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user