diff --git a/Dockerfile b/Dockerfile index 5225ebb..19dbadd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine AS build +FROM node:22-alpine AS build WORKDIR /app @@ -10,7 +10,7 @@ COPY . /app RUN npm run build -FROM node:18-alpine AS prod +FROM node:22-alpine AS prod WORKDIR /app diff --git a/app.vue b/app.vue index f4b9fe0..c8080a2 100644 --- a/app.vue +++ b/app.vue @@ -3,19 +3,13 @@ diff --git a/assets/app.css b/assets/app.css index bd36a30..36e56ca 100644 --- a/assets/app.css +++ b/assets/app.css @@ -1,6 +1,10 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; +@import "tailwindcss"; + +@theme { + --color-primary: #b22222; + --color-darkgray: #2b292a; + --color-lightgray: #e3dfdf; +} * { font-family: "ConthraxSemiBold"; diff --git a/components/Footer.vue b/components/Footer.vue index b92195f..967da90 100644 --- a/components/Footer.vue +++ b/components/Footer.vue @@ -29,7 +29,6 @@ diff --git a/components/Header.vue b/components/Header.vue index 9deea5d..22cf62c 100644 --- a/components/Header.vue +++ b/components/Header.vue @@ -54,7 +54,7 @@ v-for="sublink in navbar_sub_items" :key="sublink.id" :to="`/${params?.[0]}/${sublink.URL}`" - :class="sublink.URL == params?.[1] && !params[2] ? 'active' : ''" + :class="sublink.URL == params?.[1] ? 'active' : ''" class="w-fit" > {{ sublink.name }} @@ -64,8 +64,6 @@ diff --git a/components/base/ListImageItem.vue b/components/base/ListImageItem.vue index 4a40a1d..432d2e5 100644 --- a/components/base/ListImageItem.vue +++ b/components/base/ListImageItem.vue @@ -4,27 +4,27 @@ :class="allowNavigation ? '' : 'pointer-events-none'" :to="`${urlOverwrite ?? $route.path}/${data?.slug}`" > -
+
{{ itemDate }}
@@ -42,7 +42,7 @@ import type Lookup from "../../types/collection/lookup";
const runtimeConfig = useRuntimeConfig();
const baseUrl = runtimeConfig.public.strapi.url;
-const { logo } = await provideGlobal();
+const { logo } = useGlobal();
const props = defineProps({
data: Object as PropType
+
{{ itemIndex }}.
diff --git a/components/shared/EmphasiseArticle.vue b/components/shared/EmphasiseArticle.vue
index ade964f..8d99d1e 100644
--- a/components/shared/EmphasiseArticle.vue
+++ b/components/shared/EmphasiseArticle.vue
@@ -25,7 +25,7 @@ import type SharedEmphasiseArticle from "../../types/component/shared/emphasiseA
import type Lookup from "../../types/collection/lookup";
const { find } = useStrapi();
-const { data: lookup } = await useAsyncData("lookup", () =>
+const { data: lookup } = await useAsyncData(() =>
find