-
Notifications
You must be signed in to change notification settings - Fork 153
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
Responsive fellowships nav & better multi-page nav on mobile #1020
Conversation
…age nav on mobile
@@ -18,19 +18,30 @@ export default class MultipageNav extends React.Component { | |||
} | |||
|
|||
render() { | |||
let activeLinkLabel; | |||
let links = this.props.links.map((link, index) => { | |||
let className = `opp-link${ link.isActive ? ` opp-link-active` : `` }`; |
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.
We should probably change all opp-link
and opp-link-active
class names to something more general like multipage-link
and multipage-link-active
. If this sounds sane let's tackle it in a follow-up ticket.
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.
Yeah that makes sense
@@ -41,7 +41,7 @@ a { | |||
line-height: 1.5; | |||
} | |||
|
|||
@mixin yellow-underline-nav-link($active-class-name, $font-family: "Zilla Slab") { | |||
@mixin yellow-underline-nav-link($active-class-name, $font-family: "Nunito Sans") { |
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.
@taisdesouzalessa
This code change will make all multi-page nav links use Nunito Sans (which includes the links on the opportunity page). Sounds good? If not, I can revert opportunity page links back to Zilla Slab.
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.
That sounds good, Mavis. Since we will be using this style across pages, could we use Nunito Sans Semi Bold instead or the regular weight? So the element on the sidebar looks more like a menu and less like a body text. For all nav items - desktop and mobile. I'll alter the mockups to accommodate that change. Sounds good?
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.
Let's discuss this in a new ticket. From the style guide it seems like all the anchor styles are in bold (font-weight: 700
). I hesitate to throw an exception there (at least not in this PR).
Will create a ticket and tag you @taisdesouzalessa and @gvn
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.
Looks good!
@@ -18,19 +18,30 @@ export default class MultipageNav extends React.Component { | |||
} | |||
|
|||
render() { | |||
let activeLinkLabel; | |||
let links = this.props.links.map((link, index) => { | |||
let className = `opp-link${ link.isActive ? ` opp-link-active` : `` }`; |
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.
Yeah that makes sense
🎉 🎉 🎉 |
* Set stage for fellowships pages w/ django template (#961) * Set stage for fellowships pages w/ django template * Adding some stub urls for the fellowships site. (#971) * Adding some stub urls for the fellowships site. * Update some of the urls a bit more * fellowships homepage wireframe (#965) * Fix review apps for fellows (#1010) * Test commit * Find out which url is it resolving to * Fix stuff * Remove debugging stuff * fixed rebase conflicts * Fellowships support page (#1006) Fellowships support page * fixed rebase conflicts * Responsive fellowships nav & better multi-page nav on mobile (#1020) * Related to #1019 - repsonsive fellowships nav + #977 - better multi-page nav on mobile * Updated fellowships homepage (#1042) * updated fellowships homepage * updated fellowships support page (#1049) * Fellowships directory pages (#1046) * Related to #955 - fellowships directory pages * Update fellowships type pages (#1059) * added illustration to fellowship types page and fellowships support page (#1061) * made fellowships work use the new master template (#1069) * updated /apply page so it's in 'application open' state (#1070) * More assets (#1073) * added more assets & created a svg sub-folder * added hero image to fellowships homepage * Related to #1062 - hide affiliation meta from front end (#1075) * design tweaks (#1081) * design tweaks * show fellow location in fellowships directory (#1103) * Added loading icon (#1093) * Related to #1045 - added loading icon * Featured fellows (#1112) * added featured fellows on fellowships homehomepomepage (hardcoded) * hide some incomplete content for now (#1113) * Fixes #1092 - added back missing icon & ran task to optimize svgs (#1108) * Added placeholder headshot to Person component (#1119) * Related #1114 - added placeholder headshot * Updated fellowships homepage content and layout again (#1122) * Related to #1120 - updated fellowships homepage content and layout again * Related to #1124 - hero banner adjustment * Fixed #1096 - replaced a svg (#1123) * Content changes to apply page (#1127) * Related to #1116 - content changes to apply page * Fixed broken 'see work' link (#1129) * Fixed #1128 - fixed broken 'see work' link * Fixes #1144 - fixed a fellow's social link (#1145) * remmoved 'senior fellow' section from directory pages (#1150) * redirected /fellowship to /fellowships (#1149) * redirected /fellowship to /fellowships * removed an extra line * Fellowships improvements (#1157) * code improvement * removed a few empty files
Related to
#1019 - responsive fellowships nav
#977 - better multi-page nav on mobile
Proposed change: #977 (comment)