Migrating to NextJS

How I migrated my website from Gatsby to NextJS, and other changes I made along the way.