From 91a2da6063cb67fba67eb583b304889a06651f8c Mon Sep 17 00:00:00 2001 From: Alex Grozav Date: Tue, 7 Nov 2023 17:10:43 +0200 Subject: [PATCH] Dependencies downgrade (#15) * fix: downgrade to nuxt/content 2.8.1 * fix: adjust versions * fix: fix nuxt build conflict * fix: downgrade nuxt * feat: move image locations to public * fix: update image imports * fix: set provider to ipx explicitly * fix: try nuxt 3.6.5 * fix: fix blog images * fix: downgrade nuxt-simple-sitemap * fix: update image size --- .gitignore | 1 - components/app/Error.vue | 6 +- components/app/Navbar.vue | 4 +- components/cards/OsAwards.vue | 4 +- components/headers/IndexPage.vue | 6 +- components/sections/Newsletter.vue | 2 +- components/sections/Sponsors.vue | 16 +- components/sections/UIUXDX.vue | 12 +- composables/index.ts | 4 +- composables/navigation/index.ts | 3 - .../{navigation => }/useAppsNavigation.ts | 0 .../{navigation => }/useNavbarNavigation.ts | 0 .../{navigation => }/useSidebarNavigation.ts | 0 .../blog/2023-04-04/introducing-inkline-4.md | 2 +- .../2023-06-06/inkline-preset-for-unocss.md | 2 +- css/plugins/_shiki.scss | 7 +- layouts/BlogArticle.vue | 2 +- nuxt.config.ts | 5 +- package-lock.json | 8431 ++++++----------- package.json | 6 +- .../blog/inkline-preset-for-unocss.webp | Bin .../images/blog/introducing-inkline-4.webp | Bin .../assets}/images/brands/osawards-black.svg | 0 .../assets}/images/brands/osawards-white.svg | 0 .../images/features/icon-customizable.svg | 0 .../images/features/icon-datatable.svg | 0 .../assets}/images/features/icon-dx.svg | 0 .../assets}/images/features/icon-modular.svg | 0 .../assets}/images/features/icon-osawards.svg | 0 .../assets}/images/features/icon-ui.svg | 0 .../assets}/images/features/icon-ux.svg | 0 .../assets}/images/github/homepage.png | Bin .../images/github/installation-cdn.png | Bin .../images/github/installation-generic.png | Bin .../images/github/installation-nuxtjs.png | Bin .../images/github/installation-vitejs.png | Bin .../images/github/installation-vuejs.png | Bin .../assets}/images/header/index-christmas.svg | 0 .../assets}/images/header/index.svg | 0 .../assets}/images/illustrations/404.svg | 0 .../illustrations/pro-preview-box-shadow.svg | 0 .../images/illustrations/pro-preview.svg | 0 .../assets}/images/logo/logo-black.svg | 0 .../assets}/images/logo/logo-white.svg | 0 .../assets}/images/sample/comment.jpg | Bin .../assets}/images/sample/cover.jpg | Bin .../assets}/images/sample/gradient.jpg | Bin .../assets}/images/sample/profile.jpg | Bin .../assets}/images/sample/todo-one.jpg | Bin .../assets}/images/sample/todo-three.jpg | Bin .../assets}/images/sample/todo-two.jpg | Bin .../images/sponsors/digitalocean-dark.png | Bin .../images/sponsors/digitalocean-light.png | Bin .../assets}/images/sponsors/icons8-dark.png | Bin .../assets}/images/sponsors/icons8-light.png | Bin .../assets}/images/sponsors/nuxt-dark.png | Bin .../assets}/images/sponsors/nuxt-light.png | Bin .../assets}/images/sponsors/patreon.png | Bin .../assets}/images/sponsors/storybook.svg | 0 .../assets}/images/sponsors/tidelift-dark.png | Bin .../images/sponsors/tidelift-light.png | Bin .../images/sponsors/vueschool-dark.png | Bin .../images/sponsors/vueschool-light.png | Bin 63 files changed, 2884 insertions(+), 5629 deletions(-) delete mode 100644 composables/navigation/index.ts rename composables/{navigation => }/useAppsNavigation.ts (100%) rename composables/{navigation => }/useNavbarNavigation.ts (100%) rename composables/{navigation => }/useSidebarNavigation.ts (100%) rename {assets => public/assets}/images/blog/inkline-preset-for-unocss.webp (100%) rename {assets => public/assets}/images/blog/introducing-inkline-4.webp (100%) rename {assets => public/assets}/images/brands/osawards-black.svg (100%) rename {assets => public/assets}/images/brands/osawards-white.svg (100%) rename {assets => public/assets}/images/features/icon-customizable.svg (100%) rename {assets => public/assets}/images/features/icon-datatable.svg (100%) rename {assets => public/assets}/images/features/icon-dx.svg (100%) rename {assets => public/assets}/images/features/icon-modular.svg (100%) rename {assets => public/assets}/images/features/icon-osawards.svg (100%) rename {assets => public/assets}/images/features/icon-ui.svg (100%) rename {assets => public/assets}/images/features/icon-ux.svg (100%) rename {assets => public/assets}/images/github/homepage.png (100%) rename {assets => public/assets}/images/github/installation-cdn.png (100%) rename {assets => public/assets}/images/github/installation-generic.png (100%) rename {assets => public/assets}/images/github/installation-nuxtjs.png (100%) rename {assets => public/assets}/images/github/installation-vitejs.png (100%) rename {assets => public/assets}/images/github/installation-vuejs.png (100%) rename {assets => public/assets}/images/header/index-christmas.svg (100%) rename {assets => public/assets}/images/header/index.svg (100%) rename {assets => public/assets}/images/illustrations/404.svg (100%) rename {assets => public/assets}/images/illustrations/pro-preview-box-shadow.svg (100%) rename {assets => public/assets}/images/illustrations/pro-preview.svg (100%) rename {assets => public/assets}/images/logo/logo-black.svg (100%) rename {assets => public/assets}/images/logo/logo-white.svg (100%) rename {assets => public/assets}/images/sample/comment.jpg (100%) rename {assets => public/assets}/images/sample/cover.jpg (100%) rename {assets => public/assets}/images/sample/gradient.jpg (100%) rename {assets => public/assets}/images/sample/profile.jpg (100%) rename {assets => public/assets}/images/sample/todo-one.jpg (100%) rename {assets => public/assets}/images/sample/todo-three.jpg (100%) rename {assets => public/assets}/images/sample/todo-two.jpg (100%) rename {assets => public/assets}/images/sponsors/digitalocean-dark.png (100%) rename {assets => public/assets}/images/sponsors/digitalocean-light.png (100%) rename {assets => public/assets}/images/sponsors/icons8-dark.png (100%) rename {assets => public/assets}/images/sponsors/icons8-light.png (100%) rename {assets => public/assets}/images/sponsors/nuxt-dark.png (100%) rename {assets => public/assets}/images/sponsors/nuxt-light.png (100%) rename {assets => public/assets}/images/sponsors/patreon.png (100%) rename {assets => public/assets}/images/sponsors/storybook.svg (100%) rename {assets => public/assets}/images/sponsors/tidelift-dark.png (100%) rename {assets => public/assets}/images/sponsors/tidelift-light.png (100%) rename {assets => public/assets}/images/sponsors/vueschool-dark.png (100%) rename {assets => public/assets}/images/sponsors/vueschool-light.png (100%) diff --git a/.gitignore b/.gitignore index 6fb4715..d321957 100644 --- a/.gitignore +++ b/.gitignore @@ -34,7 +34,6 @@ dist dist-ssr .vite-ssg-dist .vite-ssg-temp -public/assets/images/blog # Generated src/components.d.ts diff --git a/components/app/Error.vue b/components/app/Error.vue index f71ed9a..5bc3765 100644 --- a/components/app/Error.vue +++ b/components/app/Error.vue @@ -23,7 +23,11 @@ export default defineComponent({ - +

{{ t('errors.404.title') }}

diff --git a/components/app/Navbar.vue b/components/app/Navbar.vue index 2ec6ef4..1a3f5fb 100644 --- a/components/app/Navbar.vue +++ b/components/app/Navbar.vue @@ -5,8 +5,8 @@ import { useI18n } from 'vue-i18n'; import { useLocalePath } from 'vue-i18n-routing'; import { useNavbarNavigation, useSidebarNavigation, useTelemetry } from '~/composables'; import { off, on } from '@grozav/utils'; -import logoBlack from '~/assets/images/logo/logo-black.svg'; -import logoWhite from '~/assets/images/logo/logo-white.svg'; +import logoBlack from '~/public/assets/images/logo/logo-black.svg'; +import logoWhite from '~/public/assets/images/logo/logo-white.svg'; import { useRoute } from 'vue-router'; export default defineComponent({ diff --git a/components/cards/OsAwards.vue b/components/cards/OsAwards.vue index ed395ce..50de8eb 100644 --- a/components/cards/OsAwards.vue +++ b/components/cards/OsAwards.vue @@ -1,7 +1,7 @@