3
0 Comments

#011 - How I Built My Blog

After six days, building my blog is done!

It ain't perfect.

But it's done, and that feels good.

Ryland King's blog overview

Day 1

To get started I used a NextJS + Sanity template repo.

I followed the instructions in the ReadMe.

and by step 10 I had both a content management system (Sanity) and the frontend blog deployed live on Vercel.

Sanity CMS and its related blog

Day 2

I coded the homepage UI.

I based the UI off a portfolio site I made last year while applying for jobs.

I had riffed that UI from Simple Scott's personal site.

I probably didn't do him justice, but I tried my best. lol

(Simple Scott > RK Portfolio > v0.1 this project)

Getting inspiration from Scott Thomas' portfolio website

Day 3

Then, I got totally stuck on something so simple.

I couldn't get an image to show up in my posts. lol

I was so frustrated, and my energy was depleted.

Here. This is me bummed out during that time.

Day 4

I figured it out!

I got both images and YouTube videos showing up in posts.

Here's the video, docs & code that helped me.

Embedding images and YouTube videos within Sanity CMS

Day 5

I added Tweet embeds to my posts.

My plan is to have a tweet at the end of each post and I'll ask readers to retweet if they'd like to say "Thank you."

Asking readers to retweet at end of a blog post

Day 6

I added the ability to accept email subscribers via Email Octopus.

I also added a pop-up

to collect emails when a reader tries to exit the page.

I followed Harry's Marketing Examples lead here.

He gets 50% of his emails from his pop up without it, his newsletter is half as big.

So, yeah, I'm doing it.

Pop up to collect emails on a website

And that's the build!

Summary of Tutorials

- NextJS + Sanity starter repo

Key Learnings

  • Find a template to start from.
  • Riff off other people's work.
  • Stuck? Ask someone, walk away & come back.
  • Perfect is the enemy of done.

And if you want to check out the site, here's the link.

Cheers!

posted to Icon for group Developers
Developers
on October 2, 2020
Trending on Indie Hackers
I've been reading 50 indie builder posts a day for the past month. Here's the pattern nobody talks about. User Avatar 143 comments I shipped 3 features this weekend based entirely on community feedback. Here's what I built and why. User Avatar 124 comments $36K in 7 days: Why distribution beats product (early on) User Avatar 123 comments Finally reached 100 users in just 12 days 🚀 User Avatar 113 comments We made Android 10x faster. Now, we’re doing it for the Web. 🚀 User Avatar 71 comments I'm a lawyer who launched an AI contract tool on Product Hunt today — here's what building it as a non-technical founder actually felt like User Avatar 48 comments