diff --git a/components/ContentBuilder.vue b/components/ContentBuilder.vue index 5f84a6b..ca3b99e 100644 --- a/components/ContentBuilder.vue +++ b/components/ContentBuilder.vue @@ -1,5 +1,25 @@ - + diff --git a/components/Footer.vue b/components/Footer.vue index 124e638..53af096 100644 --- a/components/Footer.vue +++ b/components/Footer.vue @@ -16,5 +16,5 @@ import type Global from "../types/single/global"; const { findOne } = useStrapi(); const { data: global } = await useAsyncData("global", () => findOne("global")); -const { footer } = global.value?.data as unknown as Global; +const { footer } = global.value?.data ?? ({} as Global); diff --git a/components/Header.vue b/components/Header.vue index a7056de..674ad96 100644 --- a/components/Header.vue +++ b/components/Header.vue @@ -17,9 +17,9 @@
findOne("global")); -const { navbar } = global.value?.data as unknown as Global; +const { navbar } = global.value?.data ?? ({} as Global); const navbar_sub_items = computed(() => { return navbar.navbar_items.find((ni) => ni.URL == params?.[0])?.navbar_sub_items; diff --git a/components/dynamicZone/ColumnImageText.vue b/components/dynamicZone/ColumnImageText.vue new file mode 100644 index 0000000..07da2b8 --- /dev/null +++ b/components/dynamicZone/ColumnImageText.vue @@ -0,0 +1,12 @@ + + + diff --git a/components/dynamicZone/DualColumnText.vue b/components/dynamicZone/DualColumnText.vue new file mode 100644 index 0000000..3a35d8b --- /dev/null +++ b/components/dynamicZone/DualColumnText.vue @@ -0,0 +1,12 @@ + + + diff --git a/components/dynamicZone/EmphasiseArticle.vue b/components/dynamicZone/EmphasiseArticle.vue new file mode 100644 index 0000000..6458670 --- /dev/null +++ b/components/dynamicZone/EmphasiseArticle.vue @@ -0,0 +1,12 @@ + + + diff --git a/components/dynamicZone/FullImage.vue b/components/dynamicZone/FullImage.vue new file mode 100644 index 0000000..a1a1f35 --- /dev/null +++ b/components/dynamicZone/FullImage.vue @@ -0,0 +1,12 @@ + + + diff --git a/components/dynamicZone/FullText.vue b/components/dynamicZone/FullText.vue new file mode 100644 index 0000000..10ab0af --- /dev/null +++ b/components/dynamicZone/FullText.vue @@ -0,0 +1,12 @@ + + + diff --git a/components/dynamicZone/Gallery.vue b/components/dynamicZone/Gallery.vue new file mode 100644 index 0000000..402462c --- /dev/null +++ b/components/dynamicZone/Gallery.vue @@ -0,0 +1,12 @@ + + + diff --git a/components/shared/Hero.vue b/components/shared/Hero.vue new file mode 100644 index 0000000..6c201c0 --- /dev/null +++ b/components/shared/Hero.vue @@ -0,0 +1,25 @@ + + + diff --git a/components/shared/List.vue b/components/shared/List.vue new file mode 100644 index 0000000..93d63fb --- /dev/null +++ b/components/shared/List.vue @@ -0,0 +1,12 @@ + + + diff --git a/layouts/landing.vue b/layouts/landing.vue index 030733c..4c11b68 100644 --- a/layouts/landing.vue +++ b/layouts/landing.vue @@ -1,6 +1,12 @@