From 9b2c63d92ff77ebce0f90a7be05437504422bf45 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sat, 11 Feb 2023 23:37:12 +0100 Subject: feat: Render localized content from sanity --- sanity/sanity.config.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sanity/sanity.config.ts (limited to 'sanity/sanity.config.ts') diff --git a/sanity/sanity.config.ts b/sanity/sanity.config.ts new file mode 100644 index 0000000..feaf76e --- /dev/null +++ b/sanity/sanity.config.ts @@ -0,0 +1,15 @@ +import { defineConfig } from 'sanity' +import { deskTool } from 'sanity/desk' +import { visionTool } from '@sanity/vision' +import { schemaTypes } from './schemas' + +export default defineConfig({ + name: 'default', + title: 'auroraklinikken.no', + projectId: process.env.SANITY_STUDIO_API_PROJECT_ID ?? "", + dataset: process.env.SANITY_STUDIO_API_DATASET ?? "", + plugins: [deskTool(), visionTool()], + schema: { + types: schemaTypes, + }, +}) -- cgit v1.3