ax-vasquez / mcnuggies-blog

NextJS site & Sanity Studio code for mcnuggies.dev
http://www.mcnuggies.dev
1 stars 1 forks source link

Leverage meta tag for page description (and chasing geese) #112

Closed ax-vasquez closed 10 months ago

ax-vasquez commented 10 months ago

A simple PR to leverage meta description tags per Google's recommendations here:

Also includes updates to address various pain points while simultaneously updating/improving the codebase.

Going further

ESLint Fixes

There was a lot of holdover from when this project was a lerna project. I've since removed some code and moved things around related to linting, but it was not planned as part of this PR. Something started causing the builds to fail, presumably the bad configuration.

Nextjs Update

I've updated the site to Next 14 since I was previously on version 12. There were some unexpected errors obtaining things that should have existed; namely the summary field was always resulting in an undefined result, which was causing the build to fail. This no longer seems to happen after updating to version 14. The issue still happened, but due to an indirect error with NextJS pre-fetching the mocked endpoint for the unused contact form.

Notable changes

vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mcnuggies-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 10, 2023 7:25am