Building a Photo Site With GatsbyJS Part 4 – Building a Grid Photo Layout

We’re making progress! In the third part of this six part series, we started getting some content on the page by creating the header component that will sit at the top of our home page and single photo pages. Right now, if you change into your photo directory and run gatsby develop, you should see something like this:

Final Header

In this fourth part, we’ll put together the grid layout for the homepage. Then, all we’ll have left to do is build the individual photo pages, add social tags, and deploy.

Continue reading “Building a Photo Site With GatsbyJS Part 4 – Building a Grid Photo Layout”

Building a Photo Site With GatsbyJS Part 3 – Building the Header

In Part 2 of this series, we mocked up the layout we’re looking to achieve and walked through how GatsbyJS handles data with GraphQL. We then practiced running a GraphQL query in the IDE to make sure data was returning.

In Part 3, we’re going to start building. We’ll put this thing together in three parts:

  1. Header component present on all pages
  2. Grid photo layout for the homepage
  3. Individual photo layout for single pages

Let’s start working on the header component.

Oh – also, if you happen to be following along and building this thing while we go through it, would you mind tweeting me (@jeremeyd) and just showing off what you have so far? I’ve received a few DMs from folks, which is pretty awesome!

Continue reading “Building a Photo Site With GatsbyJS Part 3 – Building the Header”

Building With GatsbyJS Part 2 – Determining the Layout and Understanding GraphQL Queries

I’m in the process of creating an Instagram-esque clone using GatsbyJS and WordPress.com. We’re walking through the process in a series of steps.

Previously, we got the basics setup and installed some dependencies we’ll need later on. Today, we’re going to walk through the desired layout and talk a bit about how GatsbyJS handles data using GraphQL.

Continue reading “Building With GatsbyJS Part 2 – Determining the Layout and Understanding GraphQL Queries”

Building a Photo Site With GatsbyJS and the WordPress.com API

In a recent post, I talked about some recent experimentation I did with GatsbyJS and the WordPress.com API. While it wasn’t quite a fit for rebuilding my personal site, I wanted to build something else with it. So, I elected to build an Instagram-esque photo sharing site. I thought it might be helpful to share a bit of the process so I’ll be walking through the following steps:

We’ll walk through each piece together from start to finish and get a live site working online.

Continue reading “Building a Photo Site With GatsbyJS and the WordPress.com API”

Experimenting With GatsbyJS and the WordPress.com API

If you follow me on Twitter, you’ll know that my November project was to rebuild my personal site using GatsbyJS and the WordPress.com API:

If you’re not familiar with Gatsby, it bills itself as a “blazing-fast static site generator for React.” Having used React to work on Calypso and build some other small projects here and there, I figured it would be a pretty fun experiment.

Obviously, November has come and gone, and yet, you’re still seeing a traditional WordPress theme on my personal site. I ended up not launching my GatsbyJS site (although it is more or less built!) for a few reasons. I’ll touch on those reasons as well as my experience working with GatsbyJS.

Continue reading “Experimenting With GatsbyJS and the WordPress.com API”