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/_locales.ts | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 sanity/schemas/_locales.ts (limited to 'sanity/schemas/_locales.ts') diff --git a/sanity/schemas/_locales.ts b/sanity/schemas/_locales.ts deleted file mode 100644 index 20273bd..0000000 --- a/sanity/schemas/_locales.ts +++ /dev/null @@ -1,5 +0,0 @@ -export const supportedLanguages = [ - {id: "en", iso: "en-GB", title: "English"}, - {id: "nb", iso: "nb-NO", title: "Norwegian", isDefault: true}, -]; -export const baseLanguage = supportedLanguages.find((l) => l.isDefault) as {id: string; title: string}; -- cgit v1.3