2019-10-21 00:42:18 +00:00
|
|
|
<% content_for "header" do %>
|
|
|
|
<meta name="description" content="<%= translate(locale, "An alternative front-end to YouTube") %>">
|
|
|
|
<title>
|
|
|
|
Invidious
|
|
|
|
</title>
|
2021-04-04 07:48:14 +00:00
|
|
|
<link rel="stylesheet" href="/css/empty.css?v=<%= ASSET_COMMIT %>">
|
2019-10-21 00:42:18 +00:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= rendered "components/feed_menu" %>
|
2021-04-04 06:26:58 +00:00
|
|
|
|
2021-04-04 07:48:14 +00:00
|
|
|
<div class="pure-g h-box" id="search-widget">
|
|
|
|
<div class="pure-u-1" id="logo">
|
2021-04-04 06:26:58 +00:00
|
|
|
<h1 href="/" class="pure-menu-heading">Invidious</h1>
|
|
|
|
</div>
|
|
|
|
<div class="pure-u-1-4"></div>
|
2021-04-04 07:48:14 +00:00
|
|
|
<div class="pure-u-1 pure-u-md-12-24 searchbar">
|
2021-04-04 06:26:58 +00:00
|
|
|
<form class="pure-form" action="/search" method="get">
|
|
|
|
<fieldset>
|
2021-04-30 13:12:36 +00:00
|
|
|
<input autofocus type="search" style="width:100%" name="q" placeholder="<%= translate(locale, "search") %>" value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } %>">
|
2021-04-04 06:26:58 +00:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="pure-u-1-4"></div>
|
|
|
|
</div>
|