-
-
Notifications
You must be signed in to change notification settings - Fork 35.9k
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
feat/add-guide-footer #35567
feat/add-guide-footer #35567
Conversation
@moT01 how is this coming along? |
Slowly, I got sidetracked and kind of put it on the back burner, but didn't forget about it. |
9ec9f62
to
aeb3a45
Compare
Work in progress - any push in the right direction is appreciated. |
okay, I pushed another new solution. I think I got it right this time. I might need to do a little clean up. Edit: scratch that - getting an error |
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.
Hi @moT01
I just ran through the code on GitHub and seems you are there. Do you mind cleaning up the commits and squash them for me to pull down and review?
Making them conventional would be ideal while you are at it.
Thanks a lot for all your hard work on this.
5de79be
to
ab53e77
Compare
✔️ ? |
27f284f
to
2511832
Compare
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.
LGTM.
Thanks @moT01 , I have gone ahead and made a few cosmetic tweaks to the footer text. Waiting for the CI and a second pair of eyes before merging.
const propTypes = { | ||
githubPath: PropTypes.string | ||
}; | ||
class GuideFooter extends React.Component { |
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 redo this to a function component
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.
I believe the new changes should resolve this.
@@ -3,6 +3,7 @@ import PropTypes from 'prop-types'; | |||
import { graphql } from 'gatsby'; | |||
|
|||
import ArticleLayout from './components/ArticleLayout'; | |||
import GuideFooter from './components/GuideFooter'; |
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.
How about posting this in an article layout?
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.
I wasn't exactly sure what you meant here, I took it as moving the GuideFooter
component to the ArticleLayout
component. So I did that, let me know if it's not what you wanted.
a1e47c7
to
f023d43
Compare
fix/suggested-changes
f023d43
to
be24f19
Compare
Thanks for the review @ValeraS - After some struggles with git, I think I got it how you want. I left comments on your review things there. |
This adds a footer to all guide articles with instructions on how to contribute to the article.
Update index.md
)master
branch of freeCodeCamp.This doesn't exactly close the issue, check it out for more details...
related to #35490