diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2023-02-21 23:24:14 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2023-02-21 23:24:14 +0100 |
| commit | 6cb399e7267ae78e3e498bdbf5f51678ffb2cd45 (patch) | |
| tree | b109832a208927821fcfe65bd98ff9e3f391c44c /src/i18n | |
| parent | 54bbc06bd84437c6b38e2f6c57060f21a8318720 (diff) | |
| download | auroraklinikken.no-6cb399e7267ae78e3e498bdbf5f51678ffb2cd45.tar.xz auroraklinikken.no-6cb399e7267ae78e3e498bdbf5f51678ffb2cd45.zip | |
feat: Many things
Configure sanity in same project as the app
Implement type safe sanity schema
Read localised documents
Strip down design
Diffstat (limited to 'src/i18n')
| -rw-r--r-- | src/i18n/en/index.ts | 2 | ||||
| -rw-r--r-- | src/i18n/i18n-types.ts | 16 | ||||
| -rw-r--r-- | src/i18n/nb/index.ts | 2 |
3 files changed, 20 insertions, 0 deletions
diff --git a/src/i18n/en/index.ts b/src/i18n/en/index.ts index a6b79c2..1f8260f 100644 --- a/src/i18n/en/index.ts +++ b/src/i18n/en/index.ts @@ -7,6 +7,8 @@ const en = { emailTitle: "Email", phoneTitle: "Phone", }, + goToBookingPage: "Go to booking", + ourServices: "Our services", homeTitle: "Home", } satisfies BaseTranslation; diff --git a/src/i18n/i18n-types.ts b/src/i18n/i18n-types.ts index 9a32b2f..52b1fd2 100644 --- a/src/i18n/i18n-types.ts +++ b/src/i18n/i18n-types.ts @@ -33,6 +33,14 @@ type RootTranslation = { phoneTitle: string } /** + * Go to booking + */ + goToBookingPage: string + /** + * Our services + */ + ourServices: string + /** * Home */ homeTitle: string @@ -58,6 +66,14 @@ export type TranslationFunctions = { phoneTitle: () => LocalizedString } /** + * Go to booking + */ + goToBookingPage: () => LocalizedString + /** + * Our services + */ + ourServices: () => LocalizedString + /** * Home */ homeTitle: () => LocalizedString diff --git a/src/i18n/nb/index.ts b/src/i18n/nb/index.ts index 5206b07..0064639 100644 --- a/src/i18n/nb/index.ts +++ b/src/i18n/nb/index.ts @@ -7,6 +7,8 @@ const nb = { emailTitle: "E-postadresse", phoneTitle: "Telefon", }, + goToBookingPage: "Gå til bestilling", + ourServices: "Våre tjenester", homeTitle: "Hjem", } satisfies Translation; |
