Format views and add link to cookie issue

This commit is contained in:
Omar Roth
2018-03-16 12:14:40 -05:00
parent 6581f96b70
commit 1b17550545
5 changed files with 38 additions and 31 deletions

View File

@@ -4,14 +4,16 @@
<% videos.each_slice(4) do |slice| %>
<div class="pure-g">
<% slice.each do |video| %>
<% slice.each do |video| %>
<div class="pure-u-1 pure-u-md-1-4">
<div class="h-box">
<a style="width:100%;" href="<%= video["link"] %>">
<img style="width:100%;" src="<%= video["thumbnail"] %>"/>
<%= video["title"] %>
</a>
<p><b><a style="width:100%;" href="<%= video["author_url"]%>"><%= video["author"] %></a></b></p>
<p>
<b><a style="width:100%;" href="<%= video["author_url"]%>"><%= video["author"] %></a></b>
</p>
</div>
</div>
<% end %>