invidious-copy-2022-08-14/src/invidious/views/popular.ecr

37 lines
1.2 KiB
Text
Raw Normal View History

2018-12-20 21:32:09 +00:00
<% content_for "header" do %>
<meta name="description" content="<%= translate(locale, "An alternative front-end to YouTube") %>">
2018-12-20 21:32:09 +00:00
<title><%= translate(locale, "Popular") %> - Invidious</title>
<% end %>
<div class="h-box pure-g">
<div class="pure-u-1-4"></div>
<div class="pure-u-1 pure-u-md-1-2">
<div class="pure-g">
<div class="pure-u-1-3">
<a href="/feed/popular" style="text-align:center;" class="pure-menu-heading">
<%= translate(locale, "Popular") %>
</a>
</div>
<div class="pure-u-1-3">
<a href="/feed/top" style="text-align:center;" class="pure-menu-heading">
<%= translate(locale, "Top") %>
</a>
</div>
<div class="pure-u-1-3">
<a href="/feed/trending" style="text-align:center;" class="pure-menu-heading">
<%= translate(locale, "Trending") %>
</a>
</div>
</div>
</div>
<div class="pure-u-1-4"></div>
</div>
2018-11-26 16:50:34 +00:00
<div class="pure-g">
<% popular_videos.each_slice(4) do |slice| %>
<% slice.each do |item| %>
<%= rendered "components/item" %>
<% end %>
<% end %>
</div>