-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navbarchanges #8
base: master
Are you sure you want to change the base?
Conversation
Added dropdown
Added poetry dropdown framework
Here is a rough outline of the embedded dropdowns. I will work to clean them up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great to have so many search options in the drop downs!
Maybe tweek the CSS on this so that the content in the jumbotron clears the navbar. I think if you put the navbar elements in a div with the following attributes, then it should at least put them inline with the page title element and shave a row off the top of the header: |
Here's a more detailed template to clarify my previous comment:
This should also give you a hamburger menu on small (mobile) screen sizes. |
I think the overlap issues might be avoided by locating the drop downs inline with the nav bar and below header image as shown in the mockup suggested in Pull Request #12 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest moving tabs to be inline with main nav bar rather than above. Also incorporate header image put forward in pull request #12
<li role="presentation" class="active"><a href="#">Home</a></li> | ||
<li role="presentation"><a href="#">About</a></li> | ||
<li class="dropdown"> | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Find a Poem <span class="caret"></span></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be all replaced with something less hardcoded. I would recommend a plugin such as this one: http://mmenu.frebsite.nl/. We had discussed making this menus and submenus contain dynamic content that is based off of either counts from the API we used or popularity of the site users. This plugin contains the ability to dynamically add menu options and has a mobile first format to it. Overall, I think this code is too clunky to be maintained. This should be used only as a proof of concept.
I'd recommend scrapping this request. Merge the other page pull request and redo the navbar with a plugin only after an API and backend data structure are finalized. Then we could create the dynamic navbar that fits with the structure of the page. |
Added navbar dropdown for Find a Poem