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
+ @@ -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 @@