Index: includes/layout/header.tmpl |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/includes/layout/header.tmpl |
@@ -0,0 +1,16 @@ |
+<header id="site-header" class="navbar"> |
+ <div class="navbar-wrapper clearfix"> |
juliandoucette
2017/07/19 18:03:33
I don't think we need clearfix here?
---
(Unless
ire
2017/07/21 10:23:26
You're right it's not needed. I must have added it
|
+ <h1 class="site-title"> |
+ {{ "index" | linkify() }} |
+ <img src="/img/png/eyeo-help.png" srcset="/img/png/eyeo-help.png, /img/svg/eyeo-help.svg 2x" alt="{{ "eyeo Help" | translate("site-title", "Image alt text") }}"> |
juliandoucette
2017/07/19 18:03:33
I don't think we need the first /img/png/eyeo-help
ire
2017/07/21 10:23:25
Done.
|
+ </a> |
+ </h1> |
+ <button id="toggle-searchform" class="unstyled tablet-and-mobile-only"> |
juliandoucette
2017/07/19 18:03:32
I think this control is misleading. This button to
|
+ <img src="/img/png/searchIcon.png" srcset="/img/png/searchIcon.png, /img/svg/searchIcon.svg 2x" alt="{{ "Toggle Search Bar" | translate("search-toggle-alt", "Image alt text") }}"> |
juliandoucette
2017/07/19 18:03:32
NIT: Please use dashes in image names.
juliandoucette
2017/07/19 18:03:33
1x image is poor quality on low DPI screens. I thi
ire
2017/07/21 10:23:25
Done.
|
+ </button> |
+ <div id="site-search"> |
+ <? include searchform ?> |
+ <a id="product-website-link" href="https://adblockplus.org/">{{ "Adblock Plus" | translate("abp-product-link", "Link") }}</a> |
juliandoucette
2017/07/19 18:03:32
NIT: I think this should have a `nav` around it; t
juliandoucette
2017/07/19 18:03:33
Missing icon.
ire
2017/07/21 10:23:25
Done.
|
+ </div> |
+ </div> |
+</header> |