Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: includes/components/navbar.html

Issue 29587584: Issue 5635 - Implement website-default navbar component (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Add navigation <ul> links Created Nov. 10, 2017, 10:22 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pages/index.html » ('j') | pages/navbar.md » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: includes/components/navbar.html
===================================================================
new file mode 100644
--- /dev/null
+++ b/includes/components/navbar.html
@@ -0,0 +1,25 @@
+<div class="navbar bg-primary">
+ <div class="container">
+ <a href="index" class="navbar-branding float-start">
+ <img src="/img/png/eyeo-logo.png" srcset="/img/svg/eyeo-logo.svg 2x" alt="eyeo Website Defaults">
juliandoucette 2017/11/10 11:42:50 SuperNIT: The image is about eyeo and the alt text
juliandoucette 2017/11/10 11:42:51 This image is not aligned vertically center within
ire 2017/11/13 17:57:38 Done.
ire 2017/11/13 17:57:39 Done.
+ </a>
+
+ <div class="toggle-navbar-collapse float-end">
juliandoucette 2017/11/10 11:42:51 NIT: "toggle-navbar-collapse" (verb-noun) is incon
ire 2017/11/13 17:57:39 It would have to be navbar-collapse-toggle since t
juliandoucette 2017/11/14 15:34:16 Ack :/
+ <button class="unstyled">
+ <span class="open-label">Open</span>
juliandoucette 2017/11/10 11:42:50 NIT/Suggest: "navbar-open" and "navbar-close" woul
juliandoucette 2017/11/10 11:42:51 NIT/Suggest: Use an image example instead of a tex
ire 2017/11/13 17:57:39 1. It would have to be `navbar-collapse-open`/clos
ire 2017/11/13 17:57:40 I think this is something that can/should be handl
juliandoucette 2017/11/14 15:34:16 Ack :/ (Proceed as-is.)
juliandoucette 2017/11/14 15:34:16 Ack, good point. I was thinking "the help centre u
+ <span class="sr-only">/</span>
+ <span class="close-label">Close</span>
+ Menu
+ </button>
+ </div>
+
+ <nav class="nav navbar-collapse">
juliandoucette 2017/11/10 11:42:51 NIT: It's inconsistent not to preface this "nav" c
ire 2017/11/13 17:57:39 Done.
+ <ul>
+ <li><a href="index">Navbar Menu Link</a></li>
+ <li><a href="index">Navbar Menu Link</a></li>
+ <li><a href="index">Navbar Menu Link</a></li>
+ <li><a href="index">Navbar Menu Link</a></li>
+ </ul>
+ </nav>
+ </div>
+</div>
« no previous file with comments | « no previous file | pages/index.html » ('j') | pages/navbar.md » ('J')

Powered by Google App Engine
This is Rietveld