diff --git a/components/Entity/DetailCard.vue b/components/Entity/DetailCard.vue index b251a84d..caa0e1e2 100644 --- a/components/Entity/DetailCard.vue +++ b/components/Entity/DetailCard.vue @@ -1,6 +1,8 @@ @@ -25,7 +26,7 @@ const props = defineProps(); /> - + {{ $t("global.basics.map") }} diff --git a/components/content/ProseA.vue b/components/content/ProseA.vue new file mode 100644 index 00000000..d363bc54 --- /dev/null +++ b/components/content/ProseA.vue @@ -0,0 +1,31 @@ + + + diff --git a/package-lock.json b/package-lock.json index 707e228f..d3a3ddf7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,7 @@ "hasInstallScript": true, "license": "MIT", "dependencies": { + "@acdh-oeaw/lib": "^0.1.6", "@mdi/font": "^7.3.67", "@nuxt/content": "2.8.2", "@nuxt/image": "^1.1.0", @@ -100,6 +101,15 @@ "@acdh-oeaw/eslint-config": "1.0.5" } }, + "node_modules/@acdh-oeaw/lib": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@acdh-oeaw/lib/-/lib-0.1.6.tgz", + "integrity": "sha512-hNWN4BLrKjEKENlh8Mqu48PrQyj9ZOm43/9z8doHdIqYEhjrk59ak3NVpJ0Ico6fQ3YTsX/K9Cjd7ha3bjEcCA==", + "engines": { + "node": ">=18", + "pnpm": ">=8" + } + }, "node_modules/@acdh-oeaw/prettier-config": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@acdh-oeaw/prettier-config/-/prettier-config-1.0.1.tgz", diff --git a/package.json b/package.json index 1adafe0b..1c6fbf36 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "types:check": "nuxt typecheck" }, "dependencies": { + "@acdh-oeaw/lib": "^0.1.6", "@mdi/font": "^7.3.67", "@nuxt/content": "2.8.2", "@nuxt/image": "^1.1.0", diff --git a/pages/[...slug].vue b/pages/[...slug].vue index c84fe72e..1154b4ad 100644 --- a/pages/[...slug].vue +++ b/pages/[...slug].vue @@ -1,14 +1,18 @@ + + diff --git a/pages/map/index.vue b/pages/map/index.vue index 550614d5..fcd9ea40 100644 --- a/pages/map/index.vue +++ b/pages/map/index.vue @@ -8,6 +8,7 @@ import type { Format, Query, ViewClasses } from "~~/types/query"; const { $api } = useNuxtApp(); +const localePath = useLocalePath(); const { t } = useI18n(); definePageMeta({ @@ -109,7 +110,7 @@ function updateQuery(newQuery: Query) { style="max-height: 400px" /> - + {{ $t("global.basics.more details") }}