From b168b865806bfa9a50c7f7cabc627e22f4505295 Mon Sep 17 00:00:00 2001 From: stefanprobst Date: Wed, 9 Oct 2024 17:16:49 +0200 Subject: [PATCH] fix: remove i18n routing (#161) closes #151 --- .npmrc | 5 +- components/app-footer.vue | 3 +- components/app-header.vue | 30 +- components/detail-disclosure.vue | 7 +- components/hierarchy-link-button.vue | 4 +- components/hierarchy-wrapper.vue | 6 +- components/locale-switch.vue | 39 - components/search-table.vue | 5 +- config/i18n.config.ts | 9 +- content/de/landing-page.mdc | 4 +- content/en/documentation/.Daten-IVZ.md | 5 - content/en/documentation/data.md | 5 - content/en/documentation/materials.md | 5 - content/en/documentation/partners.md | 5 - content/en/documentation/project.md | 5 - content/en/documentation/team.md | 5 - content/en/documentation/technical.md | 5 - content/en/documentation/test.md | 8 - content/en/landing-page.mdc | 61 - locales/en.json | 314 - nuxt.config.ts | 16 +- package.json | 84 +- pages/detail/courts/[id].vue | 3 +- pages/documentation/[...slug].vue | 19 +- pages/hierarchy.vue | 3 +- pages/imprint.vue | 6 +- pages/index.vue | 8 +- pages/search.vue | 11 +- pages/search/courts.vue | 8 +- pages/search/events.vue | 8 +- pages/search/institutions.vue | 8 +- pages/search/persons.vue | 8 +- pages/search/places.vue | 8 +- pages/search/references.vue | 8 +- pnpm-lock.yaml | 9792 +++++++++++------------- tailwind.config.ts | 2 +- tests/navigation-tests.spec.ts | 33 +- types/misc.d.ts | 9 - 38 files changed, 4641 insertions(+), 5923 deletions(-) delete mode 100644 components/locale-switch.vue delete mode 100644 content/en/documentation/.Daten-IVZ.md delete mode 100644 content/en/documentation/data.md delete mode 100644 content/en/documentation/materials.md delete mode 100644 content/en/documentation/partners.md delete mode 100644 content/en/documentation/project.md delete mode 100644 content/en/documentation/team.md delete mode 100644 content/en/documentation/technical.md delete mode 100644 content/en/documentation/test.md delete mode 100644 content/en/landing-page.mdc delete mode 100644 locales/en.json delete mode 100644 types/misc.d.ts diff --git a/.npmrc b/.npmrc index 2e36d12..cd00af4 100644 --- a/.npmrc +++ b/.npmrc @@ -1,6 +1,3 @@ engine-strict=true -# still necessary for nuxt 3 -# @see https://github.com/nuxt/nuxt/issues/14146 -shamefully-hoist=true -shell-emulator=true package-manager-strict=false +shell-emulator=true diff --git a/components/app-footer.vue b/components/app-footer.vue index a5ddf95..37c6f63 100644 --- a/components/app-footer.vue +++ b/components/app-footer.vue @@ -1,6 +1,5 @@ diff --git a/pages/index.vue b/pages/index.vue index 9843f06..ceb5ae9 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,5 +1,7 @@