diff --git a/assets/auto-imports.d.ts b/assets/auto-imports.d.ts index 772d304deb20..7c5ebc2810e2 100644 --- a/assets/auto-imports.d.ts +++ b/assets/auto-imports.d.ts @@ -162,6 +162,7 @@ declare global { const until: typeof import('@vueuse/core')['until'] const useActiveElement: typeof import('@vueuse/core')['useActiveElement'] const useAnimate: typeof import('@vueuse/core')['useAnimate'] + const useAnnouncements: typeof import('./stores/announcements')['useAnnouncements'] const useArrayDifference: typeof import('@vueuse/core')['useArrayDifference'] const useArrayEvery: typeof import('@vueuse/core')['useArrayEvery'] const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter'] @@ -287,7 +288,6 @@ declare global { const useProfileStorage: typeof import('./composable/profileStorage')['useProfileStorage'] const useRafFn: typeof import('@vueuse/core')['useRafFn'] const useRefHistory: typeof import('@vueuse/core')['useRefHistory'] - const useReleases: typeof import('./stores/releases')['useReleases'] const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver'] const useRoute: typeof import('vue-router')['useRoute'] const useRouter: typeof import('vue-router')['useRouter'] @@ -551,6 +551,7 @@ declare module 'vue' { readonly until: UnwrapRef readonly useActiveElement: UnwrapRef readonly useAnimate: UnwrapRef + readonly useAnnouncements: UnwrapRef readonly useArrayDifference: UnwrapRef readonly useArrayEvery: UnwrapRef readonly useArrayFilter: UnwrapRef @@ -676,7 +677,6 @@ declare module 'vue' { readonly useProfileStorage: UnwrapRef readonly useRafFn: UnwrapRef readonly useRefHistory: UnwrapRef - readonly useReleases: UnwrapRef readonly useResizeObserver: UnwrapRef readonly useRoute: UnwrapRef readonly useRouter: UnwrapRef diff --git a/assets/components.d.ts b/assets/components.d.ts index 9e33180372b6..a014765cca9a 100644 --- a/assets/components.d.ts +++ b/assets/components.d.ts @@ -7,6 +7,7 @@ export {} /* prettier-ignore */ declare module 'vue' { export interface GlobalComponents { + Announcements: typeof import('./components/Announcements.vue')['default'] 'Carbon:caretDown': typeof import('~icons/carbon/caret-down')['default'] 'Carbon:circleSolid': typeof import('~icons/carbon/circle-solid')['default'] 'Carbon:copyFile': typeof import('~icons/carbon/copy-file')['default'] @@ -99,7 +100,6 @@ declare module 'vue' { 'Ph:stackSimple': typeof import('~icons/ph/stack-simple')['default'] Popup: typeof import('./components/Popup.vue')['default'] RandomColorTag: typeof import('./components/LogViewer/RandomColorTag.vue')['default'] - Releases: typeof import('./components/Releases.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] ScrollableView: typeof import('./components/ScrollableView.vue')['default'] diff --git a/assets/components/Announcements.vue b/assets/components/Announcements.vue new file mode 100644 index 000000000000..70cee2dc9195 --- /dev/null +++ b/assets/components/Announcements.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/assets/components/Links.vue b/assets/components/Links.vue index ec57020bdb1d..5825c7fa0b6e 100644 --- a/assets/components/Links.vue +++ b/assets/components/Links.vue @@ -1,20 +1,7 @@