From 6cb399e7267ae78e3e498bdbf5f51678ffb2cd45 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Tue, 21 Feb 2023 23:24:14 +0100 Subject: feat: Many things Configure sanity in same project as the app Implement type safe sanity schema Read localised documents Strip down design --- sanity/schemas/description.ts | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 sanity/schemas/description.ts (limited to 'sanity/schemas/description.ts') diff --git a/sanity/schemas/description.ts b/sanity/schemas/description.ts deleted file mode 100644 index f3fac23..0000000 --- a/sanity/schemas/description.ts +++ /dev/null @@ -1,21 +0,0 @@ -import {defineType} from "sanity"; - -export default defineType({ - name: "description", - type: "document", - title: "Description section", - i18n: true, - fields: [ - { - title: "Title", - name: "title", - type: "string", - }, - { - title: "Content", - name: "content", - type: "array", - of: [{type: "block"}], - }, - ], -}); -- cgit v1.3