Giter VIP home page Giter VIP logo

gatsby-portfolio-preview-poc's Introduction

Gatsby Portfolio Studio with sample previews

This is a Sample Studio which showcases a few interesting ways to preview your content. The Studio itself is based off the Portfolio with Gatsby template.

👉 Read our blog post about previews.

👉 Learn more about the example previews in the Studio’s Readme.md.


gatsby-portfolio-preview-poc

A portfolio using structured content and a static site builder.

Deployed from sanity.io/create.

What you have

Quick start

  1. Clone this repository from your GitHub account
  2. npm install in the project root folder on local
  3. npm run dev to start the Studio and frontend locally
  4. npm run build to build to production locally

Enable real-time content preview in development

  1. Go to your project’s API settings on manage.sanity.io and create a token with read rights.
  2. Copy .env.development.template to .env.development and paste in the token: SANITY_READ_TOKEN="yourTokenHere".
  3. Restart the development server (ctrl + C and npm run dev).

If you want to disable the preview you can set watchMode: false in gatsby-config.js. If you just want to preview published changes you can set overlayDrafts: false in gatsby-config.js.

Deploy changes

Netlify automatically deploys new changes commited to the master branch on GitHub. If you want to change the deployment branch you may do so in build & deploy settings on Netlify.

Get help

Slack Community Button

Join Sanity’s developer community or ping us on twitter.

gatsby-portfolio-preview-poc's People

Contributors

kmelve avatar rexxars avatar runeb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gatsby-portfolio-preview-poc's Issues

Miscellaneous improvements

  • follow these instructions first link in studio README should point to https://www.sanity.io/guides/getting-started-with-structure-builder
  • Unused variables in SeoPreviews.js: sanityClient, Spinner
  • Unused variable in FacebookShare.js: websiteUrl (also not exported from the file it is "imported" from)
  • FacebookShare.js defines a local websiteUrl instead of using props.options.websiteURL
  • GoogleSearchResult.js defines unused openGraphImage

I am unable to login to studio

Hi,
I keep getting prompted that I'm not authorized to login to studio and that I need an invite to this project. Please help thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.