diff --git a/components/section/FooterBlock.vue b/components/section/FooterBlock.vue index c9570f1..4d14c85 100644 --- a/components/section/FooterBlock.vue +++ b/components/section/FooterBlock.vue @@ -3,12 +3,19 @@
-
-

{{ item.title }}

-
- {{ el.title }} +
+
+

{{ item }}

+
{{ item }}
+
+
+ +
+

{{ section.translation }}

+
@@ -22,38 +29,17 @@ diff --git a/stores/menuStore.ts b/stores/menuStore.ts index 8f6dd8d..606a8dc 100644 --- a/stores/menuStore.ts +++ b/stores/menuStore.ts @@ -155,6 +155,9 @@ export const useMenuStore = defineStore("menuStore", () => { link: [ // { rel: "manifest", href: "/api/manifest.json" } ], + script:[ + {src:"https://leiadmin.com/leitag.js?lei=894500UT83EISNNA8D04&color=dark"} + ], meta: [ { hid: "description", diff --git a/types/footer.ts b/types/footer.ts new file mode 100644 index 0000000..3b03998 --- /dev/null +++ b/types/footer.ts @@ -0,0 +1,26 @@ +export interface Footer { + data: { + contact: Contact + docs: FooterDoc[] + } + id: number + name: string +} + +export interface Contact { + header: string + ownerAddress: string + ownerMail: string +} + +export interface FooterDoc { + footer_section: string + translation: string + data: FooterPdf[] +} + +export interface FooterPdf { + name: string + translation: string + guest_avaliable: boolean +} \ No newline at end of file diff --git a/types/index.ts b/types/index.ts index 4d58df2..32953c2 100644 --- a/types/index.ts +++ b/types/index.ts @@ -125,4 +125,5 @@ export type { PeriodToFirstPiece, } from "./planPrediction"; export type { Product } from "./product"; -export type { FrontMenu, FrontMenuLang, UIFrontMenu } from "./frontMenu"; \ No newline at end of file +export type { FrontMenu, FrontMenuLang, UIFrontMenu } from "./frontMenu"; +export type {Contact, Footer, FooterDoc, FooterPdf} from './footer' \ No newline at end of file