Repository navigation
Conversation
| @@ -1,8 +1,10 @@ | |||
| .topNav { | |||
| display: flex; | |||
| margin-left: 400px; | |||
There was a problem hiding this comment.
There should be a better way to center this text, other than using hardcoded px numbers and margin-left. Maybe look at using flexbox properties and adjusting the heirarchy of layout elements?
jjhampton
left a comment
There was a problem hiding this comment.
@dave5801 The fixed header has issues when scrolling down - the logo & nav items are still visible over the rest of the page:

Also, changing background-color of the header on non-landing pages (Code Schools, Job Board, Leadership Circle, etc) to black is a pretty drastic change. We should aim to use some of the standardized colors in the color palette if at all possible (see https://operationcode.org/branding). Though the original color of rgb(117,129,143) is not listed there, it matches that color scheme better, IMO.
|
@dave5801 I'm still seeing the bug from the earlier screenshot where the logo & nav items are still visible over the rest of the page, when scrolling down on the landing page. The nav also doesn't seem to be taking up the full width of the screen, visible on the other screens: I've have an idea for a sticky header using CSS |
|
@jjhampton just to keep the issues scoped well - let's not worry about the too many objects making the navbar span two rows here. I just want to focus on having the navbar be an element without a nested div. I'm curious on how to work @ksmacleod99 's HeroBanner component in with this setup tho |
|
@kylemh @jjhampton I have moved the bgimage from the root node into its own div, the nav bar and family image are now independent of each other. However, it opens up a new issue. That is, the bg image is in drastic need of resize relative to mobile/desktop views. A slight resizing of my browser window causes the image to dramatically shrink. I believe, some modification of the home.css will solve this. |
|
@dave5801 Yeah, looks like there will still need to be some CSS adjustments, the hero image doesn't appear to be correctly positioned at this point. Let's get some clarity on requirements before adding further changes: @kylemh Can you review at this when you get a chance? It seems like we need some clarity in terms of what issue #459 requires - the issue lacks a description, so all we currently have to work off of are:
This will ensure that unneeded CSS / layout changes aren't added that are out of the scope of this issue. |
|
@jjhampton Yes, when I finished the navbar it basically disrupted the sizing the hero image. I wanted to perform the adjustments, however I believe that @ksmacleod99 had addressed this problem in her pull request, but I'm uncertain. I can adjust the CSS if needed. |
| padding: 0 2rem; | ||
| /*padding: 0 2rem;*/ | ||
| width: 100%; | ||
| position: -webkit-sticky; |
There was a problem hiding this comment.
We have an auto-prefixer built into our webpack build script. You won't need prefixes!
| height: 80px; | ||
| background-color: rgb(117,129,143); | ||
| padding: 0 2rem; | ||
| /*padding: 0 2rem;*/ |
There was a problem hiding this comment.
Simply delete lines you do not want, don't comment them out.
| @@ -1,16 +1,21 @@ | |||
| .header { | |||
| display: flex; | |||
| justify-content:space-around; | |||
There was a problem hiding this comment.
Don't forget a space between the attribute and the value! I also highly recommend setting up style lint.
| mentor: false, | ||
| }; | ||
|
|
||
| /**/ |
There was a problem hiding this comment.
Don't forget to delete this line.
| } | ||
| > | ||
| <div> | ||
| <div |
There was a problem hiding this comment.
So, once we get @ksmacleod99 's work in, you'll drop this div and insert the specific <HeroBanner /> for the home route, and then in the relevant files for the routes that use HeroBanners (history, our_programs, team)
|
@dave5801 re: commit Instead, please merge re: |
|
@kylemh -- I made the requested changes. However, I made an assumption that the HeroeBanner component is where I think it is (I didn't see it after doing a pull origin of master) -- as a result I got a travis build fail. |
|
@dave5801 the HeroBanner component is merged. You should feel free to progress, and make changes to the component as are necessary. Please note these details. I'm also available for help if you need it! 👍 |
|
@jjhampton @kylemh Can we make the requested changes, fix the conflicts, close the PR, then open another issue for the remaining requirements? |
|
@dmarchante I vote no on that - I'm unclear on exactly what issue #459 requires to be complete. Specifically, this:
The issue originally seemed focused on adjusting the navbar, but there's since been some discussion of adding in changes to make the HeroBanner reusable as well. I'd prefer to close the original issue and simply open new issues (if needed) that have clear acceptance criteria. |
|
@jjhampton I am good with your proposal. Please move forward how you see fit, I would like to clean up a lot of the stray issues. |
|
Closing, this has been open for 6 months and will need significant additional changes to address issue #459. |
|
Additional info: We're going to leave the nav unaddressed in this old repository, and prepare any nav improvements on the new repo instead. |

Description of changes
This issue addresses:
#459
I changed the css so that the logo and navbar remained fixed to the page.
Issue Resolved
Fixes #