Comments (2)
I would hope that most of the time, we wouldn't be implementing identical navigation in all three places, and the markup in Boilerplate only has them all to prove it works and make sure that the selectors are robust.
Also not really addressing the issue, we should be able to solve this with better navigation generation or such, as the amount of HTML isn't the issue, just the number of places we're maintaining it. Both Peter and I have put together navigation generation classes and implemented them, and while neither is likely perfect yet, that's probably a better long term solution.
All that said, I agree there's other implementations that work better for the use case at Moto (converting the active dropdown into the secondary nav and always showing it), I just was aiming to be flexible with Boilerplate and not too closely tie down the relationships between the different places navigation is shown. I'm fine with whatever UX thinks is easier to work with.
from boilerplate-archived.
I agree with Kevin's commend above - in the BP example we're basically showing two ways of representing the secondary nav on a single page. In real life we'd only do the horizontal bar or the sidebar. But I do like how BP has implementations of both.
from boilerplate-archived.
Related Issues (20)
- webpack.mix.js errors
- Tabs should have better mobile experience HOT 2
- Add a default list view to Components HOT 1
- Mobile Menu overflow-y
- mobile nav overlay scroll issue HOT 2
- Javascript file structure
- stickyElement.js clean up HOT 2
- Update Headers
- Default position of header.primary should be relative.
- Leftover styling and component placement HOT 2
- accordion should be structured differently HOT 2
- Tabs mixin is missing documentation HOT 2
- Mobile Navigation mixin is missing documentation HOT 3
- Pagination mixin is missing documentation
- Sticky element plugin - another option to unstick HOT 1
- stickyelement per breakpoint
- Search Drawer doesn't work properly with stickyHeader HOT 2
- mobile navigation tabindex="-1"
- sticky element
- Register Boilerplate as an NPM package HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boilerplate-archived.