Skip to content

Add best feed type #9

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

Merged
merged 4 commits into from
Oct 4, 2017
Merged

Conversation

matthiaskern
Copy link
Contributor

No description provided.

Copy link
Owner

@clintonwoo clintonwoo left a comment

Choose a reason for hiding this comment

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

Hey mate great work except the real HN ui only displays the 'best' page in the header nav when it's on that page. Could you implement a property for the HeaderNav that displays an additional header item? If not I can build it on top of your change later

@matthiaskern
Copy link
Contributor Author

Sure, I'll try to add that!

@clintonwoo clintonwoo mentioned this pull request Oct 3, 2017
Closed
@matthiaskern
Copy link
Contributor Author

matthiaskern commented Oct 3, 2017

@clintonwoo I added the behavior with a conditional, is that alright?

@@ -2,7 +2,7 @@ import React from 'react';
import Link from 'next/link';
import PropTypes from 'prop-types';

const HeaderNav = props => (
const HeaderNav = props => (console.log(props.currentUrl),
Copy link
Owner

Choose a reason for hiding this comment

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

Did you mistakenly leave this line in? Looks good to me without this line

@matthiaskern
Copy link
Contributor Author

@clintonwoo Whoops. Removed the log.

@clintonwoo clintonwoo merged commit c391aea into clintonwoo:master Oct 4, 2017
@clintonwoo
Copy link
Owner

Thanks. Good work

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.

2 participants