Skip to content

caseykennedy/zeda

Repository files navigation

Zeda Inc.'s company website and blog

This app is a statically generated blog that uses [Next.js] for the frontend and [Sanity] to handle its content. It comes with a native Sanity Studio that offers features like real-time collaboration, instant side-by-side content previews, and intuitive editing.

The Studio connects to Sanity Content Lake, which gives you hosted content APIs with a flexible query language, on-demand image transformations, powerful patching, and more.

Important files and folders

File(s) Description
sanity.config.ts  Config file for Sanity Studio
sanity.cli.ts  Config file for Sanity CLI
/pages/studio/[[...index]].tsx  Where Sanity Studio is mounted
/pages/api/revalidate.ts  Serverless route for triggering ISR
/pages/api/draft.ts  Serverless route for triggering Draft mode
/schemas  Where Sanity Studio gets its content types from
/plugins  Where the advanced Sanity Studio customization is setup
/lib/sanity.api.ts,/lib/sanity.image.ts Configuration for the Sanity Content Lake client
/components/PreviewProvider.tsx Configuration for the live Preview Mode