Bob Hooper's Tech and Art diary
Achievements, Projects, Thoughts and Ramblings shared with the world.
> cat /blog/nextjs-newsite.md
Hello Next.js and a new website!
Welcome to my new site!
Painstakingly, pulled together over the past few months, the new site is built on Next.js, TailwindCSS.
I intend for this site, and specifically the "blog", to be a record of projects and learnings I have made.
For the Blog portion of the site, I am using MDX to render markdown files.
Learning points:
- Next.js changes, frequently.
I am not a strong webdev, my skill-set is firmly in IT infrastructure so I turn to ChatGPT for help. However Next.js changes so frequently ChatGPT struggles to provide useful guides. A big example of this is the Next.js App Router, this was introduced at the end of 2022 however this is after ChatGPT 3 was trained, asking for a simple example page will be written for the Pages Router.
- MDX is a pain in the bum to use.
I have lost a few days of development trying to add blog previews. MDX is straightforward when loading data from a file but trying to modify the data or rendering from a variable seemed impossible to me.
Future Research:
After finding these limits of ChatGPT, I would like to research running my own, custom, large language learning model. There must be Next.js specialised models out there I can run myself — or if not, why not?
This blog would not be possible without this tutorial by Alex Chan.