diff --git a/app.vue b/app.vue index 45cb004..7a5d6a6 100644 --- a/app.vue +++ b/app.vue @@ -21,6 +21,7 @@ type ApiPagesType = { menu_title: string slug: string content: string + image: string } type ApiReviewsType = { @@ -43,10 +44,12 @@ useSeoMeta({ }) const { data: pagesData } = await useFetch(`${apiBase}/pages/`) -const about = (pagesData.value as ApiPagesType[]).find(el => el.slug == 'about') -const reviews = (pagesData.value as ApiPagesType[]).find(el => el.slug == 'clients') const { data: reviewsData } = await useFetch(`${apiBase}/review/`) + +const about = (pagesData.value as ApiPagesType[]).find(el => el.slug == 'about') +const reviews = (pagesData.value as ApiPagesType[]).find(el => el.slug == 'clients') +const delivery = (pagesData.value as ApiPagesType[]).find(el => el.slug == 'delivery') -
- +
+