Anhang:
-
diff --git a/components/Footer.vue b/components/Footer.vue
index 61f4f5c..e9a5a27 100644
--- a/components/Footer.vue
+++ b/components/Footer.vue
@@ -1,12 +1,12 @@
-
+
{{ link.text }}
-
@Copyright {{ new Date().getFullYear() }} {{ footer.copyright }}
-
verwaltet von {{ footer.designed_developed_by }}
+
@Copyright {{ new Date().getFullYear() }} {{ footer.copyright }}
+
verwaltet von {{ footer.designed_developed_by }}
diff --git a/components/base/ListImageItem.vue b/components/base/ListImageItem.vue
index a797fc4..6d05bd6 100644
--- a/components/base/ListImageItem.vue
+++ b/components/base/ListImageItem.vue
@@ -10,24 +10,22 @@
:src="baseUrl + data?.image?.url"
:imgAttrs="{ class: 'w-full h-56 object-cover object-center' }"
/>
-
-
-
{{ data?.title }}
-
- {{
- new Date(data?.date ?? "").toLocaleString("de-DE", {
- day: "2-digit",
- month: "long",
- year: "numeric",
- minute: "2-digit",
- hour: "2-digit",
- })
- }}
-
-
- {{ data?.description }}
-
-
+
+
{{ data?.title }}
+
+ {{
+ new Date(data?.date ?? "").toLocaleString("de-DE", {
+ day: "2-digit",
+ month: "long",
+ year: "numeric",
+ minute: "2-digit",
+ hour: "2-digit",
+ })
+ }}
+
+
+ {{ data?.description }}
+
diff --git a/components/dynamicZone/ColumnImageText.vue b/components/dynamicZone/ColumnImageText.vue
index 8cdedab..8652d12 100644
--- a/components/dynamicZone/ColumnImageText.vue
+++ b/components/dynamicZone/ColumnImageText.vue
@@ -2,7 +2,7 @@
diff --git a/components/dynamicZone/Gallery.vue b/components/dynamicZone/Gallery.vue
index d05e9b2..8afdac8 100644
--- a/components/dynamicZone/Gallery.vue
+++ b/components/dynamicZone/Gallery.vue
@@ -3,9 +3,9 @@
diff --git a/components/field/Content.vue b/components/field/Content.vue
index c5d5c6a..f445084 100644
--- a/components/field/Content.vue
+++ b/components/field/Content.vue
@@ -21,6 +21,13 @@
+
{{ item.children[0].text.split("->")[1] }}
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 323e413..ddcf532 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -3,7 +3,7 @@ export default defineNuxtConfig({
app: {
baseURL: "/",
head: {
- title: process.env.APP_TITLE,
+ title: "Feuerwehr",
htmlAttrs: {
lang: "de",
},
@@ -31,24 +31,18 @@ export default defineNuxtConfig({
modules: ["@nuxtjs/strapi", "@nuxt/image"],
strapi: {
- url: process.env.STRAPI_URL,
+ url: process.env.PUBLIC_STRAPI_URL,
prefix: "/api",
version: "v5",
},
runtimeConfig: {
- strapi: {
- url: process.env.STRAPI_URL ?? "localhost:1337",
- },
- app: {
- title: process.env.APP_TITLE ?? "Feuerwehr",
- },
public: {
strapi: {
- url: process.env.STRAPI_URL ?? "localhost:1337",
+ url: process.env.PUBLIC_STRAPI_URL ?? "localhost:1337",
},
app: {
- title: process.env.APP_TITLE ?? "Feuerwehr",
+ title: process.env.PUBLIC_APP_TITLE ?? "Feuerwehr",
},
},
},
diff --git a/types/field/content.ts b/types/field/content.ts
index 11273a2..ed11643 100644
--- a/types/field/content.ts
+++ b/types/field/content.ts
@@ -10,6 +10,11 @@ export default interface ContentField
format: "unordered" | "ordered";
children: Array<{ type: "list-item"; children: Array
}>;
}
+ | {
+ type: "code";
+ children: Array<{ type: "list-item"; children: Array }>;
+ language: "plaintext";
+ }
> {}
export type TypeField = TextField | { type: "link"; url: string; children: Array };