Sanity
Content Related to Sanity.io and GROQ
Articles
Deploying Your Sites
Learn how to deploy your Astro and Sanity sites to web hosts.
Combining Content Models
Learn how to bring two separate content models together in queries with type safety.
Creating Content Filters
Learn how to filter your content with custom searches, then add them to your astro site.
Resources
GROQ
GROQ is Sanity's open-source query language. With GROQ you can describe exactly what information your application needs, join information from several sets of documents, and stitch together a very specific response with only the exact fields you need.
Sanity
Make content your competitive advantage. Treat content as data—actionable and scalable across your business—with the Sanity Composable Content Cloud.
Sanity Studio Guide
The official guide to getting started with Sanity Studio.
Sanity Vison
Quickly test your GROQ queries using this studio plugin
Zod Nullables
Zod Nullables are a useful utility to append to Sanity Schema fields. GROQ will return the field if it has data or null.
GROQ Cheat Sheet
A quick sheet with lots of common GROQ search patterns
Annotations and Marks
Annotations and Marks are decorators around text. Marks are mostly decorative while annotations come with additional data attached to the text. Marks: strong, emphasis, italic tags Annotations: anchor, internal links
Hosting Sanity Studio
Check the options for hosting your Sanity Studio site and learn the gotchas of using a static host for SPAs
Configure Sanity CORS Origins
Learn how to access your Sanity Studio from your custom domains