-
Notifications
You must be signed in to change notification settings - Fork 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
Add showcase author metadata #118
Conversation
✅ Deploy Preview for openfisca-org ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Not perfect, but I believe this could do:
|
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 great!
Thank you for this suggestion, I have implemented it. |
Are we waiting for anything to merge this? 🙂 |
Following our discussion earlier, I am working on it ;) |
It was much more complicated than I thought but I simplified it well, see aadaa8b: it allowed me to better understand how context is propagated in partials 🧠 @MattiSG I'm sorry I've had a complicated day and I think it's necessary that you review the PR again, especially with the addition of the authors for each reuse, see 091d4aa |
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 don't understand why Netlify fails when the build passes in CircleCi 🤔
I'll handle renames 🙂 |
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.
Nice!! 🚀
Extract icon class type associations as parameters, reduces maintenance costs and the number of lines of code.
200bfc5
to
583969f
Compare
Add author metadata to showcase and display author name when it is filled.
@MattiSG suggests that we change the icon according to the type of author, I find the idea attractive but it's not very easy to find according icons for
collective|ngo|research_center|business|local_government|national_government
in the lib used. If you find icons in this library that you think work, let me know.