gatsby-theme-portfolio-minimal icon indicating copy to clipboard operation
gatsby-theme-portfolio-minimal copied to clipboard

+Add support for multiple sections

Open diiigle opened this issue 1 year ago • 0 comments

Fix for #21

Started with Projects and will port the same mechanism to the other sections as well. But feel free to give some feedback already, especially on the typescript best practices (got virtually 0 experience there)!

Summary

It queries for File nodes instead of specific *Json nodes now, and filters inside the component. Not ideal (the filtering could happen in graphql already), but that its the only way possible with staticQueries (and without variables).

Updated the documentation to the best of my knowledge. The example content could be a lot more creative.

Progress

  • [x] About
  • [x] Contact
  • [x] Hero
  • [x] Interests
  • [ ] ~~Legal~~ already contains a filtering mechanism
  • [x] Projects

diiigle avatar Oct 26 '23 15:10 diiigle