diff --git a/components/detail-disclosure.vue b/components/detail-disclosure.vue
index 301da4e..97993ee 100644
--- a/components/detail-disclosure.vue
+++ b/components/detail-disclosure.vue
@@ -16,7 +16,6 @@ const props = defineProps<{
collectionName: string;
}>();
-const localePath = useLocalePath();
const t = useTranslations();
const page = ref(0);
@@ -151,11 +150,7 @@ const currentRels = computed(() => {
diff --git a/components/hierarchy-link-button.vue b/components/hierarchy-link-button.vue
index 8f45c91..daefa06 100644
--- a/components/hierarchy-link-button.vue
+++ b/components/hierarchy-link-button.vue
@@ -1,8 +1,6 @@
-
-
-
-
-
-
diff --git a/components/search-table.vue b/components/search-table.vue
index cb71238..f4cd0df 100644
--- a/components/search-table.vue
+++ b/components/search-table.vue
@@ -9,7 +9,6 @@ import { useRoute } from "vue-router";
import type { AnyEntity } from "@/types/schema";
import { NuxtLink } from "#components";
-const localePath = useLocalePath();
const t = useTranslations();
const queryClient = useQueryClient();
@@ -106,10 +105,10 @@ const {
placeholderData: keepPreviousData,
});
-// TODO: finde better solution
+// TODO: find better solution
const getDetailLink = (id: string, entity?: string) => {
const type = entity ?? route.path.split("/")[3];
- return localePath(`/detail/${type}/${id}`);
+ return `/detail/${type}/${id}`;
};
onMounted(() => {
diff --git a/config/i18n.config.ts b/config/i18n.config.ts
index d6ba5ed..c1ef6dd 100644
--- a/config/i18n.config.ts
+++ b/config/i18n.config.ts
@@ -1,18 +1,16 @@
import type { LocaleObject } from "vue-i18n-routing";
import type de from "@/locales/de.json";
-import type en from "@/locales/en.json";
export const locales = {
- de: { code: "de", iso: "de-AT", file: "de.json" },
- en: { code: "en", iso: "en-GB", file: "en.json" },
+ de: { code: "de", language: "de-AT", file: "de.json" },
} satisfies Record;
export type Locale = keyof typeof locales;
-export const defaultLocale: Locale = "en";
+export const defaultLocale: Locale = "de";
-export type Messages = typeof en;
+export type Messages = typeof de;
export interface Schema {
message: Messages;
@@ -24,5 +22,4 @@ export function isValidLocale(value: string): value is Locale {
export interface Translations extends Record {
de: typeof de;
- en: typeof en;
}
diff --git a/content/de/landing-page.mdc b/content/de/landing-page.mdc
index 0e8a1c5..41adc52 100644
--- a/content/de/landing-page.mdc
+++ b/content/de/landing-page.mdc
@@ -17,7 +17,7 @@ navigation: false # This will not appear with other documentation
Für die **leopoldinische Zeit** umfasst der Personenbestand darüber hinaus erstens zahlreiche Funktionsträger:innen, die am Wiener Hof politisch-administrative Aufgaben und eine ökonomisch-kulturelle Rolle erfüllt haben, zweitens Personen an ausländischen Höfen, die von der Wiener Hofkammer Zahlungen erhalten haben, und drittens in einem verwandtschaftlichen Verhältnis zu Funktionsträger*innen standen.
- ::index-button{href="de/search/persons"}
+ ::index-button{href="/search/persons"}
DATENBANK
::
[Die Datenbank befindet sich im Aufbau!]{.text-center.text-xl.font-black.text-primary-600.w-full.block}
@@ -36,7 +36,7 @@ navigation: false # This will not appear with other documentation
## [Datenbank]{.mb-2.text-3xl.text-primary-600.block.font-black}
Die Datenbank beinhaltet die prosopographischen Datensammlungen zweier abgeschlossener FWF-Projekte zum Wiener Hof von Kaiser Leopold I. (1657–1705) bis Leopold II. (1790–1792). Diese Sammlungen werden durch eine **Datenneuaufnahme** für die Hofgesellschaft unter Kaiser Franz II./I. (1792–1835) erweitert. In seiner technischen Umsetzung setzt das Team auf die am ACDH-CH der ÖAW entwickelte virtuelle Forschungsumgebung **Austrian Prosopographical Information System** (APIS).
#left-button
- ::index-button{href="de/search/persons"}
+ ::index-button{href="/search/persons"}
DATENBANK
::
#right-content
diff --git a/content/en/documentation/.Daten-IVZ.md b/content/en/documentation/.Daten-IVZ.md
deleted file mode 100644
index e3c3687..0000000
--- a/content/en/documentation/.Daten-IVZ.md
+++ /dev/null
@@ -1,5 +0,0 @@
-1. Grundsätzliches zu den Daten
-2. Bearbeitungsstand
-3. Zur Provenienz der Daten
-4. Gesamtüberblick zu den drei Datensammlungen
-5. VieCPro-Workflow (09/2020 – 06/2024)
diff --git a/content/en/documentation/data.md b/content/en/documentation/data.md
deleted file mode 100644
index bd1adc4..0000000
--- a/content/en/documentation/data.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Data
-
-# Dummy
-
-English Document
diff --git a/content/en/documentation/materials.md b/content/en/documentation/materials.md
deleted file mode 100644
index 8bc0d35..0000000
--- a/content/en/documentation/materials.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Materials
-
-# Dummy
-
-English Document
diff --git a/content/en/documentation/partners.md b/content/en/documentation/partners.md
deleted file mode 100644
index fc427ce..0000000
--- a/content/en/documentation/partners.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Cooperations
-
-# Dummy
-
-English Document
diff --git a/content/en/documentation/project.md b/content/en/documentation/project.md
deleted file mode 100644
index 901f707..0000000
--- a/content/en/documentation/project.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Project
-
-# Dummy
-
-English Document
diff --git a/content/en/documentation/team.md b/content/en/documentation/team.md
deleted file mode 100644
index 09fc554..0000000
--- a/content/en/documentation/team.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Team
-
-# Dummy
-
-English Document
diff --git a/content/en/documentation/technical.md b/content/en/documentation/technical.md
deleted file mode 100644
index 66ab7ae..0000000
--- a/content/en/documentation/technical.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Infrastructure
-
-# Dummy
-
-English Document
diff --git a/content/en/documentation/test.md b/content/en/documentation/test.md
deleted file mode 100644
index c905547..0000000
--- a/content/en/documentation/test.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# Test
-
-```mermaid
-graph TB
- A[Stefan]
- B[Robin]
- A -- connection --> B
-```
diff --git a/content/en/landing-page.mdc b/content/en/landing-page.mdc
deleted file mode 100644
index a02a369..0000000
--- a/content/en/landing-page.mdc
+++ /dev/null
@@ -1,61 +0,0 @@
----
-title: Home
-navigation: false # This will not appear with other documentation
----
-
-
-::header-wrapper
-# [Der Wiener Hof .]{.text-primary-600.font-black} [Ein prosopographisches Portal]{.text-primary-600.font-extralight}
-::
-
-::content-wrapper
- ::section-wrapper
- ::paragraph-wrapper
- VieCPro liefert erstmals **tausende prosopographische Profile** für die überwiegende **Mehrheit des Wiener Hofpersonals**. Gegenwärtig ermöglicht die Datenbank die Recherche des Personals beiderlei Geschlechts wie auch verschiedener sozialer Schichten des Wiener Haupthofstaats von **neun Kaisern und der Teilhofstaate von 14 Kaiserinnen, sechs Kaiserinwitwen, 70 Erzherzögen und Erzherzoginnen und weiterer Familienmitglieder** von der Mitte des 17. Jahrhunderts bis zum Ende des 18. Jahrhunderts.
-
-
-
- Für die **leopoldinische Zeit** umfasst der Personenbestand darüber hinaus erstens zahlreiche Funktionsträger:innen, die am Wiener Hof politisch-administrative Aufgaben und eine ökonomisch-kulturelle Rolle erfüllt haben, zweitens Personen an ausländischen Höfen, die von der Wiener Hofkammer Zahlungen erhalten haben, und drittens in einem verwandtschaftlichen Verhältnis zu Funktionsträger*innen standen.
-
- ::index-button{href="search/persons"}
- DATABASE
- ::
- [Die Datenbank befindet sich im Aufbau!]{.text-center.text-xl.font-black.text-primary-600.w-full.block}
- ::
-
- ::gray-box
- ## [**VieCPro**]{.mb-2.text-3xl.text-primary-600.block}
-
- ...ist ein **Gemeinschaftsprodukt zweier Forschungsteams**, die vom ÖAW-Innovationsfonds (09/2020–03/2023) und dem Wissenschaftsfonds FWF (09/2020–06/2024) in **einer ersten Pilotphase** gefördert wurde.
- ::
- ::
- ::divider
- ::
- ::parallel-content
- #left-content
- ## [Datenbank]{.mb-2.text-3xl.text-primary-600.block.font-black}
- Die Datenbank beinhaltet die prosopographischen Datensammlungen zweier abgeschlossener FWF-Projekte zum Wiener Hof von Kaiser Leopold I. (1657–1705) bis Leopold II. (1790–1792). Diese Sammlungen werden durch eine **Datenneuaufnahme** für die Hofgesellschaft unter Kaiser Franz II./I. (1792–1835) erweitert. In seiner technischen Umsetzung setzt das Team auf die am ACDH-CH der ÖAW entwickelte virtuelle Forschungsumgebung **Austrian Prosopographical Information System** (APIS).
- #left-button
- ::index-button{href="search/persons"}
- DATABASE
- ::
- #right-content
- ## [Materialien und Dokumentation]{.mb-2.text-3xl.text-primary-600.block.font-black}
- Unsere Dokumentation und Materialien zur Benutzung der VieCPro-Datenbank reichen von einer Erklärung der APIS-Funktionalitäten über die Darlegung der Bearbeitungsrichtlinien bis hin zu diversen Verzeichnissen (Projektpublikationen, Hofstaatslisten, Abkürzungsverzeichnis). **Der Inhalt befindet sich wie die Datenbank selber noch in Arbeit**.
- #right-button
- ::index-button{href="documentation/project"}
- DOCUMENTATION
- ::
- ::
- ::divider
- ::
- ::section-wrapper
- ::paragraph-wrapper
- ::gray-box
- ## [Kontaktaufnahme]{.mb-2.text-3xl.text-primary-600.block.font-black}
-
- ...zum VieCPro-Team ist stets herzlich willkommen. **Die Datenbank befindet sich im Aufbau**. Wir freuen uns über Ihre sachdienlichen Hinweise und Ergänzungsvorschläge. Falls Sie eine Idee für Anschlussprojekte haben oder an einer Kooperation interessiert sind, dann schreiben Sie uns an: [**viecpro@oeaw.ac.at**](mailto:viecpro@oeaw.ac.at).
- ::
- ::
- ::
-::
diff --git a/locales/en.json b/locales/en.json
deleted file mode 100644
index 1707f88..0000000
--- a/locales/en.json
+++ /dev/null
@@ -1,314 +0,0 @@
-{
- "common": {
- "imprint": "Imprint",
- "main-navigation": "Main",
- "skip-to-main-content": "Skip to main content"
- },
- "pages": {
- "home": {
- "title": "Home",
- "label": "Home"
- },
- "search": {
- "title": "Database",
- "label": "Database"
- },
- "hierarchy": {
- "title": "Hierarchy",
- "label": "Hierarchy",
- "options": {
- "up": "Up",
- "down": "Down",
- "normal": "Normal",
- "show only institutions": "Institutions only",
- "add functions": "Institutions and functions",
- "add functions and persons": "Institutions, functions and persons",
- "show institution hierarchy": "Institutions hierarchy",
- "show amt and persons": "Amt and persons",
- "goto": "Go to detail page"
- },
- "legend": {
- "legend": "Legend",
- "function": "Function"
- }
- },
- "documentation": {
- "title": "Documentation",
- "label": "Documentation",
- "contents": "Contents"
- },
- "imprint": {
- "title": "Imprint",
- "label": "Imprint"
- },
- "searchviews": {
- "courts": {
- "title": "Courts",
- "label": "Courts",
- "sing": "Court",
- "detail": "{title} - Court"
- },
- "references": {
- "title": "References",
- "label": "References",
- "detail": "{title} - Reference"
- },
- "places": {
- "title": "Places",
- "label": "Places",
- "sing": "Place",
- "detail": "{title} - Place"
- },
- "people": {
- "title": "People",
- "label": "People",
- "detail": "{title} - Person"
- },
- "institutions": {
- "title": "Institutions",
- "label": "Institutions",
- "detail": "{title} - Institution"
- },
- "events": {
- "title": "Events",
- "label": "Events",
- "sing": "Event",
- "detail": "{title} - Event"
- },
- "bibliography": {
- "label": "Bibliography"
- },
- "register": {
- "label": "Register"
- }
- }
- },
- "collection-keys": {
- "generic": {
- "name": "Name",
- "start_date": "Start",
- "end_date": "End",
- "folio": "Folio",
- "kind": "Kind",
- "shortTitle": "Title (short)",
- "title": "Title",
- "target": { "name": "Name" },
- "relation_type": "Type of Relation",
- "asc": "Ascending",
- "desc": "Descending"
- },
- "functions": {
- "relation_type": "Function",
- "target": { "name": "Court" },
- "start_date": "Start",
- "end_date": "End"
- },
- "personnel": {
- "relation_type": "Function",
- "target": { "name": "Name" },
- "start_date": "Start",
- "end_date": "End"
- },
- "place_person": {
- "relation_type": "Relation",
- "target": { "name": "Name" },
- "start_date": "Start",
- "end_date": "End"
- },
- "place_place": {
- "relation_type": "Relation",
- "target": { "name": "Place" },
- "start_date": "Start",
- "end_date": "End"
- },
- "hierarchy": {
- "relation_type": "Relation",
- "target": { "name": "Court" },
- "start_date": "Start",
- "end_date": "End"
- },
- "viecpro_persons": {
- "ampel": "Processing status",
- "end": "Death",
- "start": "Birth",
- "gender": "Gender",
- "first_name": "First Name(s)",
- "name": "Surname",
- "fullname": "Full name",
- "relation_type": "Type of Relation",
- "target": { "name": "Name" },
- "last_name": "Name",
- "maiden_name": "Maiden Name",
- "married_names": "Married Name(s)",
- "born": "Born",
- "died": "Died",
- "duplicates": "Duplicates",
- "alternative_first_names": "Alternative First Names",
- "alternative_last_names": "Alternative Names",
- "alternativenames": "Alternative Names",
- "honorary_titles": "Honorary Titles",
- "academic_titles": "Academic Titles",
- "download": "Download",
- "court_functions": "Court Functions",
- "person_relations_court": "Court Relations to People",
- "other_relations_court": "Other Court Relations",
- "marriages_and_family_relations": "Marriages and Family",
- "relations_to_church_and_orders": "Relations to Church and Orders",
- "non_court_functions": "Non Court Functions",
- "model": "Model",
- "start_date": "Start",
- "end_date": "End",
- "functions": "Function",
- "institutions": "Institution",
- "allowance": "Allowance",
- "same_as": "Online resources",
- "confession": "Confession",
- "no-notes": "No notes provided.",
- "notes": "Editor's note",
- "hierarchy": "Hierarchy visualisation",
- "citations": "Proposal for citation "
- },
- "viecpro_courts": {
- "model": "Model",
- "name": "Name",
- "kind": "Kind",
- "start": "Start",
- "start_date": "Start",
- "end": "End",
- "end_date": "End",
- "main_owner": {
- "end_date": "Death of Main Owner",
- "start_date": "Birth of Main Owner",
- "model": "Model of Main Owner",
- "object_id": "ID of Main Owner",
- "relation_type": "Relation to Main Owner",
- "name": "Main Owner"
- },
- "owner": {
- "start_date": "Birth of Owner",
- "end_date": "Death of Owner",
- "name": "Name of Owner",
- "model": "Model of Owner",
- "object_id": "ID of Owner",
- "relation_type": "Relation to Owner"
- },
- "category": "Category",
- "resolution": "Resolution",
- "alternative_names": "Alternative Names",
- "sources": "Sources",
- "personnel": "Personnel",
- "hierarchy": "Hierarchy",
- "locations": "Locations",
- "relation_type": "Type of Relation",
- "target": { "name": "Name" },
- "id": "ID",
- "owners": "Owners",
- "download": "Download",
- "label:Kategorie": "Category",
- "kategorie": "Category"
- },
- "viecpro_institutions": {
- "ampel": "Processing status",
- "alternativenames": "Alternative Names",
- "model": "Model",
- "name": "Name",
- "kind": "Kind",
- "start": "Start",
- "end": "End",
- "category": "Category",
- "resolution": "Resolution",
- "alternative_names": "Alternative Names",
- "personnel": "Personnel",
- "hierarchy": "Hierarchy",
- "locations": "Locations",
- "relation_type": "Type of Relation",
- "target": { "name": "Name" },
- "sources": {
- "bibtex": {
- "title": "Title",
- "type": "Type"
- },
- "folio": "Folio"
- },
- "label:Auflösung": "Resolution",
- "label:Kategorie": "Category",
- "start_date": "Start",
- "end_date": "End",
- "bibtex": {
- "title": "Title",
- "type": "Type"
- },
- "folio": "Folio"
- },
- "viecpro_events": {
- "ampel": "Processing status",
- "alternativenames": "Alternative Names",
- "model": "Model",
- "start_date": "Start",
- "end_date": "End",
- "name": "Name",
- "kind": "Kind",
- "start": "Start",
- "end": "End",
- "label:Auflösung": "Resolution",
- "label:Kategorie": "Category"
- },
- "viecpro_places": {
- "ampel": "Processing status",
- "alternativenames": "Alternative Names",
- "model": "Model",
- "name": "Name",
- "start_date": "Start",
- "end_date": "End",
- "kind": "Kind",
- "start": "Start",
- "end": "End",
- "relation_type": "Type of Relation",
- "target": { "name": "Name" },
- "alternative_names": "Alternative Names",
- "institution_relations": "Relations to institutions",
- "person_relations": "Relations to people",
- "place_relations": "Relations to other places",
- "label:Bezeichnung, alternativ": "Alternative Name"
- },
- "viecpro_relations": {
- "source_kind": "Source: Kind",
- "source": { "name": "Source: Name" },
- "start_date": "Start",
- "end_date": "End",
- "relation_type": "Relation: Kind",
- "target_kind": "Target: Kind",
- "target": { "name": "Target: Name" },
- "model": "Model"
- }
- },
- "detail-page": {
- "basedata": "Base data",
- "datasheet": "Data sheet",
- "runtime": "Runtime",
- "additional": "Additional Information",
- "courtrelated": "Court Relations",
- "relations": "Relations",
- "coords": "Coordinates",
- "related_places": "Place Relations"
- },
- "ui": {
- "showing-results": "Showing {first} - {last} out of {all}",
- "no-results": "Nothing Found.",
- "next-page": "Next Page",
- "prev-page": "Previous Page",
- "first-page": "You're already on the first page.",
- "last-page": "You're already on the last page.",
- "per-page": "per page",
- "show-all": "show all...",
- "show-filters": "Show Filters...",
- "hide-filters": "Hide Filters...",
- "search-placeholder": "Search...",
- "sort-by": "sort by this column",
- "sort-by-short": "Sort by...",
- "loading": "loading...",
- "no-data": "No data",
- "timespan": "Time span",
- "include-dates": "Include Entities without date information"
- }
-}
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 0d0bc5c..7909881 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -10,19 +10,17 @@ export default defineNuxtConfig({
},
components: [{ path: "@/components", extensions: [".vue"], pathPrefix: false }],
content: {
- // defaultLocale,
- // documentDriven: true,
+ defaultLocale,
locales: Object.keys(locales),
- markdown: {
- anchorLinks: false,
- rehypePlugins: ["rehype-mermaid"],
- },
},
css: [
"@fontsource-variable/roboto-flex/standard.css",
"tailwindcss/tailwind.css",
"@/styles/index.css",
],
+ experimental: {
+ inlineRouteRules: true,
+ },
i18n: {
baseUrl: process.env.NUXT_PUBLIC_APP_BASE_URL,
defaultLocale,
@@ -32,7 +30,7 @@ export default defineNuxtConfig({
langDir: "./locales",
lazy: true,
locales: Object.values(locales),
- strategy: "prefix",
+ strategy: "no_prefix",
vueI18n: "./i18n.config.ts",
},
modules: ["@nuxt/content", "@nuxt/image", "@nuxtjs/i18n", "nuxt3-leaflet"],
@@ -47,10 +45,6 @@ export default defineNuxtConfig({
autoprefixer: {},
},
},
- routeRules: {
- "/": { static: true },
- "/imprint": { static: true },
- },
runtimeConfig: {
public: {
NUXT_PUBLIC_APP_BASE_URL: process.env.NUXT_PUBLIC_APP_BASE_URL,
diff --git a/package.json b/package.json
index 928eb17..549a6ea 100644
--- a/package.json
+++ b/package.json
@@ -30,59 +30,63 @@
"validate": "run-s format:check lint:check types:check test"
},
"dependencies": {
- "@acdh-oeaw/lib": "^0.1.6",
- "@fontsource-variable/roboto-flex": "^5.0.8",
+ "@acdh-oeaw/lib": "^0.1.12",
+ "@fontsource-variable/roboto-flex": "^5.1.0",
"@headlessui-float/vue": "^0.13.3",
- "@headlessui/vue": "^1.7.16",
- "@nuxt/content": "^2.8.5",
- "@nuxt/image": "npm:@nuxt/image-edge@1.1.0-28344124.5284548",
- "@nuxtjs/i18n": "^8.0.0",
- "@tanstack/vue-query": "^5.17.2",
- "@vueuse/core": "^10.7.1",
- "d3": "^7.8.5",
- "instantsearch.js": "^4.63.0",
+ "@headlessui/vue": "^1.7.23",
+ "@nuxt/content": "^2.13.2",
+ "@nuxt/image": "1.8.1",
+ "@nuxtjs/i18n": "^8.5.5",
+ "@tanstack/vue-query": "^5.59.4",
+ "@vueuse/core": "^10.11.1",
+ "d3": "^7.9.0",
+ "instantsearch.js": "^4.75.0",
"is-ci": "^3.0.1",
"json-as-xlsx": "^2.5.6",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"lucide-vue-next": "^0.305.0",
- "npm-run-all2": "^6.1.1",
- "nuxt": "^3.9.1",
- "nuxt3-leaflet": "^1.0.12",
- "radix-vue": "^1.5.3",
- "simple-git-hooks": "^2.9.0",
- "typesense-instantsearch-adapter": "^2.7.1",
- "vue-instantsearch": "^4.13.2",
- "zod": "^3.22.4"
+ "npm-run-all2": "^6.2.3",
+ "nuxt": "^3.13.2",
+ "nuxt3-leaflet": "^1.0.13",
+ "radix-vue": "^1.9.7",
+ "simple-git-hooks": "^2.11.1",
+ "typesense-instantsearch-adapter": "^2.8.0",
+ "vue": "^3.5.11",
+ "vue-i18n": "^9.14.1",
+ "vue-i18n-routing": "^1.2.0",
+ "vue-instantsearch": "^4.19.6",
+ "vue-router": "^4.4.5",
+ "zod": "^3.23.8"
},
"devDependencies": {
- "@acdh-oeaw/eslint-config": "^1.0.5",
- "@acdh-oeaw/eslint-config-nuxt": "^1.0.11",
- "@acdh-oeaw/eslint-config-vue": "^1.0.10",
+ "@acdh-oeaw/eslint-config": "^1.0.10",
+ "@acdh-oeaw/eslint-config-nuxt": "^1.0.16",
+ "@acdh-oeaw/eslint-config-vue": "^1.0.15",
"@acdh-oeaw/prettier-config": "^2.0.0",
- "@acdh-oeaw/stylelint-config": "^2.0.1",
- "@acdh-oeaw/tsconfig": "^1.0.2",
- "@headlessui/tailwindcss": "^0.2.0",
- "@playwright/test": "^1.40.1",
- "@tailwindcss/typography": "^0.5.10",
+ "@acdh-oeaw/stylelint-config": "^2.0.4",
+ "@acdh-oeaw/tsconfig": "^1.2.0",
+ "@headlessui/tailwindcss": "^0.2.1",
+ "@playwright/test": "^1.48.0",
+ "@tailwindcss/typography": "^0.5.15",
"@types/d3": "^7.4.3",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.7.5",
- "autoprefixer": "^10.4.16",
- "dotenv-cli": "^7.3.0",
- "eslint": "^8.56.0",
- "eslint-plugin-tailwindcss": "^3.13.1",
- "lint-staged": "^15.2.0",
- "postcss": "^8.4.33",
- "prettier": "^3.1.1",
- "rehype-mermaid": "^2.0.1",
- "sharp": "^0.33.1",
- "stylelint": "^16.1.0",
- "tailwind-merge": "^2.2.0",
- "tailwindcss": "^3.4.0",
+ "autoprefixer": "^10.4.20",
+ "dotenv-cli": "^7.4.2",
+ "eslint": "^8.57.1",
+ "eslint-plugin-tailwindcss": "^3.17.4",
+ "lint-staged": "^15.2.10",
+ "postcss": "^8.4.47",
+ "prettier": "^3.3.3",
+ "rehype-mermaid": "^2.1.0",
+ "sharp": "^0.33.5",
+ "stylelint": "^16.9.0",
+ "tailwind-merge": "^2.5.3",
+ "tailwindcss": "^3.4.13",
"tailwindcss-animate": "^1.0.7",
- "typescript": "^5.3.3",
- "vue-tsc": "^1.8.27"
+ "typescript": "^5.6.3",
+ "vue-tsc": "^2.1.6"
},
"browserslist": {
"development": [
diff --git a/pages/detail/courts/[id].vue b/pages/detail/courts/[id].vue
index 51ed6ad..fed20f1 100644
--- a/pages/detail/courts/[id].vue
+++ b/pages/detail/courts/[id].vue
@@ -13,7 +13,6 @@ import type { Court, CourtDetail } from "@/types/schema";
import { definePageMeta, getDetails, getDocument, ref } from "#imports";
const t = useTranslations();
-const localePath = useLocalePath();
const queryClient = useQueryClient();
const route = useRoute();
@@ -184,7 +183,7 @@ useHead({
data.details.data.owners[0] &&
data.details.data.resolution.includes(String(data.details.data.owners[0].target.name))
"
- :to="localePath(`/detail/persons/${data.details.data.owners[0].target.object_id}`)"
+ :to="`/detail/persons/${data.details.data.owners[0].target.object_id}`"
class="underline"
>
{{ data.details.data?.resolution }}
diff --git a/pages/documentation/[...slug].vue b/pages/documentation/[...slug].vue
index c4ee253..f9b816a 100644
--- a/pages/documentation/[...slug].vue
+++ b/pages/documentation/[...slug].vue
@@ -3,8 +3,12 @@ import { ChevronRight } from "lucide-vue-next";
import { queryContent } from "#imports";
+defineRouteRules({
+ prerender: true,
+});
+
const t = useTranslations();
-const locale = useLocale();
+
definePageMeta({
title: "pages.documentation.title",
});
@@ -28,7 +32,7 @@ useHead({