diff --git a/components/base/ListImageItem.vue b/components/base/ListImageItem.vue index 6d05bd6..e4cea51 100644 --- a/components/base/ListImageItem.vue +++ b/components/base/ListImageItem.vue @@ -11,8 +11,13 @@ :imgAttrs="{ class: 'w-full h-56 object-cover object-center' }" />
-

{{ data?.title }}

-

+

+ + {{ numberOverwrite }}. + + {{ data?.title }} +

+

{{ new Date(data?.date ?? "").toLocaleString("de-DE", { day: "2-digit", @@ -22,6 +27,16 @@ hour: "2-digit", }) }} + Uhr +

+

+ {{ + new Date(data?.date ?? "").toLocaleString("de-DE", { + minute: "2-digit", + hour: "2-digit", + }) + }} + Uhr

{{ data?.description }} @@ -39,6 +54,7 @@ const baseUrl = runtimeConfig.public.strapi.url; defineProps({ data: Object as PropType, + numberOverwrite: { type: Number, default: undefined }, allowNavigation: { type: Boolean, default: false }, urlOverwrite: { type: String, default: undefined }, }); diff --git a/components/base/ListItem.vue b/components/base/ListItem.vue index 3d73c27..0b699d5 100644 --- a/components/base/ListItem.vue +++ b/components/base/ListItem.vue @@ -26,6 +26,7 @@ hour: "2-digit", }) }} + Uhr

{{ @@ -34,6 +35,7 @@ hour: "2-digit", }) }} + Uhr

{{ data?.description }} diff --git a/components/shared/List.vue b/components/shared/List.vue index b183c3c..6cff99e 100644 --- a/components/shared/List.vue +++ b/components/shared/List.vue @@ -23,7 +23,18 @@ :class="data?.lookup.image_item ? 'flex-row flex-wrap justify-center' : ' flex-col'" >

- +

+ {{ getDate(index) }} +

+ (props.data?.lookup.collection ?? "", {