joeplaa-com / joeplaa-blog

MDX blog site build with Gatbsy.js and styled with Bootstrap.
MIT License
0 stars 0 forks source link

Move data from data.ts and constants.ts to hooks (graphql) #26

Closed joeplaa closed 4 years ago

joeplaa commented 4 years ago

Currently all constants are loaded in JavaScript directly. Use GraphQL and hooks to expose the same data, i.e. using the power of Gatsby.