mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-26 23:43:36 +00:00
Add popular, top, trending bar
This commit is contained in:
parent
7f8349d4b1
commit
a16f967085
@ -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| %>
|
||||
|
Loading…
Reference in New Issue
Block a user