Skip to content
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

Merged
merged 5 commits into from
Feb 1, 2018

Conversation

mmmavis
Copy link
Collaborator

@mmmavis mmmavis commented Jan 31, 2018

Related to

#1019 - responsive fellowships nav
#977 - better multi-page nav on mobile

Proposed change: #977 (comment)

@cadecairos cadecairos temporarily deployed to foundation-mofostaging-pr-1020 January 31, 2018 06:19 Inactive
@mmmavis mmmavis temporarily deployed to foundation-mofostaging-pr-1020 January 31, 2018 06:30 Inactive
@mmmavis mmmavis temporarily deployed to foundation-mofostaging-pr-1020 January 31, 2018 06:38 Inactive
@mmmavis mmmavis requested a review from alanmoo January 31, 2018 06:38
@@ -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` : `` }`;
Copy link
Collaborator Author

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.

Copy link
Contributor

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") {
Copy link
Collaborator Author

@mmmavis mmmavis Jan 31, 2018

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.

Copy link
Contributor

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?
image

Copy link
Collaborator Author

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

@mmmavis mmmavis temporarily deployed to foundation-mofostaging-pr-1020 January 31, 2018 06:47 Inactive
@mmmavis mmmavis requested review from gvn and removed request for alanmoo January 31, 2018 18:10
Copy link
Contributor

@gvn gvn left a 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` : `` }`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that makes sense

@mmmavis
Copy link
Collaborator Author

mmmavis commented Feb 1, 2018

🎉 🎉 🎉

@mmmavis mmmavis merged commit 514b871 into fellowships Feb 1, 2018
@mmmavis mmmavis deleted the issue-1019-fellowships-nav-responsive branch February 2, 2018 21:51
mmmavis added a commit that referenced this pull request Feb 9, 2018
* Related to #1019 - repsonsive fellowships nav + #977 - better multi-page nav on mobile
mmmavis added a commit that referenced this pull request Feb 9, 2018
* Related to #1019 - repsonsive fellowships nav + #977 - better multi-page nav on mobile
mmmavis added a commit that referenced this pull request Feb 15, 2018
* Related to #1019 - repsonsive fellowships nav + #977 - better multi-page nav on mobile
mmmavis added a commit that referenced this pull request Mar 6, 2018
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants