 Issue 29485575:
  Issue 5385 - Create Site Header Component for Help Center  (Closed)
    
  
    Issue 29485575:
  Issue 5385 - Create Site Header Component for Help Center  (Closed) 
  | Left: | ||
| Right: | 
| OLD | NEW | 
|---|---|
| (Empty) | |
| 1 {# | |
| 
juliandoucette
2017/07/14 14:11:28
I'm not sure if we need this -  based on my discus
 
ire
2017/07/17 09:25:53
Yeah you're right. I'll remove it. 
On another no
 | |
| 2 # This file is part of help.eyeo.com. | |
| 3 # Copyright (C) 2016 Eyeo GmbH | |
| 4 # | |
| 5 # help.eyeo.com is free software: you can redistribute it and/or modify | |
| 6 # it under the terms of the GNU General Public License as published by | |
| 7 # the Free Software Foundation, either version 3 of the License, or | |
| 8 # (at your option) any later version. | |
| 9 # | |
| 10 # help.eyeo.com is distributed in the hope that it will be useful, | |
| 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 # GNU General Public License for more details. | |
| 14 # | |
| 15 # You should have received a copy of the GNU General Public License | |
| 16 # along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. | |
| 17 #} | |
| 18 | |
| 19 <header id="site-header" class="navbar"> | |
| 20 <div class="navbar-wrapper cf"> | |
| 
juliandoucette
2017/07/14 14:11:28
cf?
 
ire
2017/07/17 09:25:52
clearfix. Will change it to be the full word.
 | |
| 21 <h1 class="site-title"> | |
| 22 {{ "index" | linkify() }} | |
| 
juliandoucette
2017/07/14 14:11:28
You are using linkify correctly here - but I don't
 
ire
2017/07/17 09:25:53
Seen comment below.
 | |
| 23 <span class="sr-only">eyeo Help</span> | |
| 
juliandoucette
2017/07/14 14:11:28
Why span.sr-only and not img.alt?
 
ire
2017/07/17 09:25:53
So I looked more into this and I had misunderstood
 | |
| 24 <img src="img/png/eyeo-help.png" srcset="img/png/eyeo-help.png, img/svg/ eyeo-help.svg 2x" alt=""> | |
| 
juliandoucette
2017/07/14 14:11:28
These images are not resolving correctly for me...
 
juliandoucette
2017/07/14 14:11:28
Missing img.alt - if one was not provided then you
 
ire
2017/07/17 09:25:53
Got it. The issue with these images was actually a
 | |
| 25 </a> | |
| 26 </h1> | |
| 27 <a href="/" id="toggle-searchform" class="tablet-and-mobile-only"> | |
| 
ire
2017/07/10 16:18:02
I am thinking that this would link to a DuckDuck G
 
juliandoucette
2017/07/14 14:11:28
I think it's a better idea to just show the collap
 
ire
2017/07/17 09:25:53
Done. I've changed this to a button as well.
 | |
| 28 <img src="img/png/searchIcon.png" srcset="img/png/searchIcon.png, img/svg/ searchIcon.svg 2x" alt="Toggle Search Bar"> | |
| 
juliandoucette
2017/07/14 14:11:28
Text is not translated (I'm guessing you did this
 
ire
2017/07/17 09:25:53
Yes sorry i should have mentioned. I was trying to
 | |
| 29 </a> | |
| 30 <div id="site-search"> | |
| 31 <? include searchform ?> | |
| 32 <a id="product-website-link" href="https://adblockplus.org/">Adblock Plus< /a> | |
| 
ire
2017/07/10 16:18:01
This will be displayed conditionally depending on
 
juliandoucette
2017/07/14 14:11:29
Disregard my comment above about .tmpl vs html if
 
ire
2017/07/17 09:25:53
Yes this was my intention (same with the searchfor
 | |
| 33 </div> | |
| 34 </div> | |
| 35 </header> | |
| OLD | NEW |