diff options
Diffstat (limited to 'sanity/schemas/_locales.ts')
| -rw-r--r-- | sanity/schemas/_locales.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sanity/schemas/_locales.ts b/sanity/schemas/_locales.ts new file mode 100644 index 0000000..5f19303 --- /dev/null +++ b/sanity/schemas/_locales.ts @@ -0,0 +1,5 @@ +export const supportedLanguages = [ + { id: 'en', title: 'English' }, + { id: 'nb', title: 'Norwegian', isDefault: true }, +] +export const baseLanguage = supportedLanguages.find(l => l.isDefault) as { id: string, title: string };
\ No newline at end of file |
