Skip to content

A flat design Gatsby Starter to kick start your Gatsby blog. Powered by SanityCMS and styled using styled-components.

License

Notifications You must be signed in to change notification settings

damnitrahul/gatsby-starter-flat-magazine

Repository files navigation

Flat Magazine

Flat Magazine Blog

A flat design Gatsby Starter powered by Sanity.

⚡ Features

🚀 Quick Start

Create a Gatsby site

Use the Gatsby CLI to create a new site, specifying the Flat Magazine starter.

# Create a new Gatsby site using the Flat Magazine starter
gatsby new blog https://github.com/damnitrahul/gatsby-starter-flat-magazine

Supply your sanity.io tokens to gatsby-source-sanity options in gatsby-config.js

    {
      resolve: 'gatsby-source-sanity',
      options: {
        projectId: [YOUR_SANITY_PROJECT_ID],
        dataset: [YOUR_SANITY_PROJECT_DATASET],
        token: [YOUR_SANITY_TOKEN]
    }

Clone the customised Sanity Studio for Flat Magazine HERE

Setup the Studio with your credential, Deploy GraphQL API and Start publishing your content

Start Developing

Navigate into your new site’s directory and start it up.

cd blog
gatsby develop

Open the source code and start editing!

Your site is now running at http://localhost:8000!

Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

Open the blog directory in your code editor of choice and edit src/templates/index-template.js. Save your changes and the browser will update in real time!

💫 Deploy with Netlify

Current deployment status

Netlify Status

Netlify CMS can run in any frontend web environment, but the quickest way to try it out is by running it on a pre-configured starter site with Netlify. Use the button below to build and deploy your own copy of the repository:

Deploy to Netlify

After clicking that button, you’ll authenticate with GitHub and choose a repository name. Netlify will then automatically create a repository in your GitHub account with a copy of the files from the template. Next, it will build and deploy the new site on Netlify, bringing you to the site dashboard when the build is complete.

About

A flat design Gatsby Starter to kick start your Gatsby blog. Powered by SanityCMS and styled using styled-components.

Topics

Resources

License

Stars

Watchers

Forks