Joshua Blewitt

Welcome to Version 4! šŸŽ‰

Hello! šŸ‘‹

Things look very different here.

Whatā€™s new? Everything.

Introducing NextJS

Iā€™m no longer using the Gatsby framework. This website is now built using NextJS. Iā€™ve been using Gatsby for nearly four years but Iā€™ve heard a lot about NextJS and itā€™s one of the most admired frameworks according to the 2023 Stackoverflow survey.

NextJS is a React framework that has great features out of the box such as:

  • built-in optimisations
  • CSS support
  • Route handlers

Iā€™m not alone in using NextJS. Here are a few companies that have used NextJS:

  • Twitch
  • Netflix jobs
  • Notion
  • Target
  • Nike
  • TED
  • Marvel

Iā€™ve had a good experience with NextJS so far. It has an excellent tutorial and great documentation. Definitely give it a look if youā€™re looking to build a web application.

Introducing Vercel

Also after using Netlify after four years, Iā€™m changing to Vercel for building and publishing this website. Since NextJS is built by Vercel, it made sense to use their platform for building.

Plus, since Iā€™m using NextJS on Vercel, I get access to the following featuresā€¦

Speed Insights

Performance is important, and I want to get a better understanding of how this website is performing and Vercel offers speed insights. Now I can get a better view of what the real experience is like for users.

Vercel Web Analytics

Iā€™m curious to see how many people view my site, where users are from and what they use to view this site. Thankfully, Vercel have a great set of web analytics available.

Plus, itā€™s privacy friendly! This uses a generated hash for visitors and means visitors can't be tracked between different days or different websites.

Static Site Generation

Prerender, automatically cache and distribute generated NextJS pages to every Edge Network region hosted by Vercel.

And more!

But why?

My original website has gotten really big. The number of packages I had on it was tremendous, and Iā€™m having to install legacy dependencies for packages to get the application running now. Itā€™s become a bit of a mess!

So, I decided to start again.

The main objectives of this redesign are:

  • A website that has good performance
  • A bigger focus on readability (because this is a blog)
  • Less animations (as this did impact performance slightly and probably didnā€™t bring that much value)

Whatā€™s new?

First, a whole new colour scheme. This site now uses three colours; white, black and blue.

The mobile view has also been modified slightly, I think itā€™s now slightly better.

Next a new and more consistent font choice. This will use a set of fonts that look similar to ā€˜San Franciscoā€™ by Apple and has multiple fall backs in case one font isnā€™t available. These fonts should improve the reading experience of blog posts.

Letā€™s talk about the blog page, as thatā€™s had a lot of changes. Hereā€™s whatā€™s changed:

  • Removed image at the top of the page, it was taking up a lot of space (along with the name)
  • The way the posts were being displayed got a bit messy, so this has been redone.
  • Added a signature at the end of each post with links.
  • And finally, something that Iā€™ve been wanting for a very long time, pagination! I originally started this on my Gatsby blog, but I never got it working. Got it working on NextJS relatively quickly. Iā€™m very excited to get this feature working!

Previous features such as a RSS feed is here as well.

Imported content

All posts (yes, all 97 posts) have been imported from my previous site to this site. Hooray for no missing content!

Start your blog, today!

As always, I keep the code to my blog free and open for anyone to use. Feel free to fork the repo, deploy to Vercel (or somewhere else like Netlify) and start your own blog! Hereā€™s a link to the GitHub repo for my new blog.

I plan on making a more suitable template to make it easier to get up and running if you want to make your own blog.

The previous version of my blog (that was built with Gatsby) is still available, the README will be updated to state that itā€™s no longer being used.

Get in touch and let me know what you think.

Tags:

Blog

A photo of me!

I'm Joshua Blewitt, I'm passionate about product, a technology advocate, customer champion, curious mind and writer. I've worked for companies such as Rightmove, Domino's Pizza and IQVIA.

Let me know your thoughts!
More about me