A portfolio using structured content from Sanity.io, Gatsby.js as a static site builder, Rive for the loading screen and hosted on Cloudflare
This badges are made with shields.io: cloudflare-pages-badges
- Clone this repository from your GitHub account
npm installin the project root folder on localnpm run devto start the Studio and frontend locally- Your Studio should be running on http://localhost:3333
- Your frontend should be running on http://localhost:8000
npm run buildto build to production locally
- Go to your project’s API settings on manage.sanity.io and create a token with read rights.
- Copy
.env.development.templateto.env.developmentand paste in the token:SANITY_READ_TOKEN="yourTokenHere". - Restart the development server (
ctrl + Candnpm 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.
| Color | Hex |
|---|---|
| Navy | #0a192f |
| Light Navy | #172a45 |
| Dark Grey | #333f58 |
| Slate | #8892b0 |
| Light Slate | #a8b2d1 |
| Lightest Slate | #ccd6f6 |
| White | #e6f1ff |
| Green | #64ffda |
