From be65613bec985056ddde6f4b367b870bdace3ecd Mon Sep 17 00:00:00 2001 From: suvodip ghosh Date: Mon, 15 May 2023 11:38:58 +0530 Subject: [PATCH] important-links --- src/components/FooterComponent.vue | 17 +++++++++++++---- src/components/MainMenu.astro | 22 +++++++++++----------- 2 files changed, 24 insertions(+), 15 deletions(-) diff --git a/src/components/FooterComponent.vue b/src/components/FooterComponent.vue index 8061ae6..2a47cf8 100644 --- a/src/components/FooterComponent.vue +++ b/src/components/FooterComponent.vue @@ -12,16 +12,18 @@

Important Links

- Gallery - Notice + + {{data.title}} +
+ @@ -65,6 +67,7 @@ export default { return { page: null, notice: null, + important: null, isLoading: true, lpModal:false, @@ -77,7 +80,13 @@ export default { fetch('https://api8.siliconpin.com/items/scc22?filter[status][_eq]=published&filter[type][_eq]=notice') .then(resp => resp.json()) .then(data => { - this.notice=data.data + this.notice=data.data.reverse(); + // console.log(this.dailyplan) + }), + fetch('https://api8.siliconpin.com/items/scc22?filter[status][_eq]=published&filter[position][_eq]=important') + .then(resp => resp.json()) + .then(data => { + this.important=data.data.reverse() // console.log(this.dailyplan) }) diff --git a/src/components/MainMenu.astro b/src/components/MainMenu.astro index a8f31c7..b536b37 100644 --- a/src/components/MainMenu.astro +++ b/src/components/MainMenu.astro @@ -21,15 +21,15 @@