Skip to content
Permalink
Browse files

Add popular, top, trending bar

  • Loading branch information...
omarroth committed Jan 5, 2019
1 parent 7f8349d commit a16f967085415d7ddc2173be012fee783b4da6d9
Showing with 24 additions and 0 deletions.
  1. +24 −0 src/invidious/views/index.ecr
@@ -3,6 +3,30 @@
<title>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>

<div class="pure-g">
<% top_videos.each_slice(4) do |slice| %>
<% slice.each do |item| %>

0 comments on commit a16f967

Please sign in to comment.
You can’t perform that action at this time.