diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2023-02-11 23:37:12 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2023-02-11 23:37:12 +0100 |
| commit | 9b2c63d92ff77ebce0f90a7be05437504422bf45 (patch) | |
| tree | 682447cde9d3eed555973ff1aff369b4443da07f /sanity/sanity.config.ts | |
| parent | 23ab0a24ba82004fa449491b4e08698a1de9e6a0 (diff) | |
| download | auroraklinikken.no-9b2c63d92ff77ebce0f90a7be05437504422bf45.tar.xz auroraklinikken.no-9b2c63d92ff77ebce0f90a7be05437504422bf45.zip | |
feat: Render localized content from sanity
Diffstat (limited to 'sanity/sanity.config.ts')
| -rw-r--r-- | sanity/sanity.config.ts | 15 |
1 files changed, 15 insertions, 0 deletions
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, + }, +}) |
