sanity-io / example-sanity-revealjs

Example frontend with Reveal.js for the slide deck schema

Home Page:https://codesandbox.io/s/github/kmelve/example-revealjs

Repository from Github https://github.comsanity-io/example-sanity-revealjsRepository from Github https://github.comsanity-io/example-sanity-revealjs

Sanity backed Reveal.js frontend

This is a vanilla JS example of a Sanity backed Reveal.js presentation frontend.

It updates live on new published changes, and with an added token with read permissions on every update.

It requires that you install the slide deck schema in your Sanity project with $ sanity install slide-deck

This project was made entirely on the amazing Codesandbox, go try it yourself.

Get started

  • Go into config.js and change the projectId, dataset, and slug to where your slide deck is.
  • Add the frontend’s URL to your Sanity’s project CORS settings either in the browser or by using the command $ sanity cors add <url> in the project folder.

About

Example frontend with Reveal.js for the slide deck schema

https://codesandbox.io/s/github/kmelve/example-revealjs


Languages

Language:JavaScript 90.1%Language:HTML 9.9%