Check it out here: https://wordsy-akcb.vercel.app/
- A Gatsby application built to allow users to browse different words in foreign languages.
- Built in Gatsby, TypeScript and using Contentful as a CMS.
- Project includes a dark mode, SCSS modules and graphQL queries.
To do:
- Content jumping around on page
- Add favicon!
Nice to haves
- Add SEO/Head content
- Refactor Gatsby Node.JS to look like workshop with destructuring.
- Add a flag to each country
- How many people are visiting the site?
Completed items
- Make A-Z Page - DONE
- Integrate CMS - add slugs - DONE
- Initiate git - DONE
- make a figma - DONE
- Breakdown components and Integrate Styling - DONE
- Integrate theming with a light/dark mode - Done
- Make home page - DONE
- Implement Link tags for site navigation - DONE
- Clean up READMe file and add picture for profile - DONE
- Make shuffle work - DONE
- Fix hydration errors - DONE
- Upload a JSON of more words - DONE
- A-Z is now in order - DONE
Design link here:
https://www.figma.com/file/pqfegWNWr1JERewP43wJ4L/wordy?type=design&node-id=0-1&t=HR3BDEkGgj2DSVA0-0
notes:
// e.g. @todo the @ shows up red in Github which is why we do it.
- is a loop necessary? could you do a lookup instead? especially when dealing with data.
Troubleshooting:
- hydration errors can happen if you put a div in a p, or a body within a main tag - the browser does some parsing and will reorganise stuff to make it valid so things like div inside of p, it'll close the p tag before rendering the div tag I believe, etc https://www.gatsbyjs.com/docs/how-to/local-development/troubleshooting-common-errors/#problems-with-the-cache