diff --git a/components/Carousel.vue b/components/Carousel.vue index 979d30d..b953251 100644 --- a/components/Carousel.vue +++ b/components/Carousel.vue @@ -22,7 +22,7 @@ onMounted(() => { class="[&>.a-views-wrapper]:h-full" > - + diff --git a/components/ImageHover.vue b/components/ImageHover.vue index 93b5ba3..809cf57 100644 --- a/components/ImageHover.vue +++ b/components/ImageHover.vue @@ -11,7 +11,7 @@ $defineProps<{ :href="href" class="group relative h-full w-full overflow-hidden rounded-lg bg-primary bg-opacity-35 shadow-lg" > - +

diff --git a/components/section/Banner.vue b/components/section/Banner.vue index 7551a6e..0c17098 100644 --- a/components/section/Banner.vue +++ b/components/section/Banner.vue @@ -28,7 +28,9 @@ function getMask() {

-
+
+ +
diff --git a/config/pages/home/use-section-six.ts b/config/pages/home/use-section-six.ts index 3a08a5b..edb6243 100644 --- a/config/pages/home/use-section-six.ts +++ b/config/pages/home/use-section-six.ts @@ -11,7 +11,7 @@ export function useSectionSix() { name: 'home.sectionSix.content.link[0]', href: '#', }, - img: '/imgs/Home-Solutions&Services/DigitalTwin.gif', + img: '/imgs/Home-Solutions&Services/DigitalTwin.jpg', }, { title: 'home.sectionSix.content.title[1]', @@ -21,7 +21,7 @@ export function useSectionSix() { name: 'home.sectionSix.content.link[1]', href: '#', }, - img: '/imgs/Home-Solutions&Services/Circulus.gif', + img: '/imgs/Home-Solutions&Services/Circulus.jpg', }, { title: 'home.sectionSix.content.title[2]', @@ -31,7 +31,7 @@ export function useSectionSix() { name: 'home.sectionSix.content.link[2]', href: '#', }, - img: '/imgs/Home-Solutions&Services/CyberPink.gif', + img: '/imgs/Home-Solutions&Services/CyberPink.jpg', }, { title: 'home.sectionSix.content.title[3]', @@ -41,7 +41,7 @@ export function useSectionSix() { name: 'home.sectionSix.content.link[3]', href: '#', }, - img: '/imgs/Home-Solutions&Services/AIGC.gif', + img: '/imgs/Home-Solutions&Services/AIGC.jpg', }, ], diff --git a/nuxt.config.ts b/nuxt.config.ts index 0dbec82..1eb0b60 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -5,6 +5,7 @@ import { hex2hsl } from './utils/colors' export default defineNuxtConfig({ // ssr:false, + modules: [ '@vueuse/nuxt', '@anu-vue/nuxt', @@ -16,12 +17,16 @@ export default defineNuxtConfig({ '@nuxt/content', '@nuxtjs/color-mode', '@vite-pwa/nuxt', - '@aceforth/nuxt-optimized-images', + // '@aceforth/nuxt-optimized-images', + '@nuxt/image-edge', '@nuxt/devtools', ], - optimizedImages: { - optimizeImages: true + image:{ + }, + // optimizedImages: { + // optimizeImages: true + // }, experimental: { // when using generate, payload js assets included in sw precache manifest // but missing on offline, disabling extraction it until fixed diff --git a/package.json b/package.json index c91660a..d971f75 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,6 @@ "start:generate": "npx serve .output/public" }, "dependencies": { - "@aceforth/nuxt-optimized-images": "^1.4.0", "@anu-vue/nuxt": "^0.13.1", "@jiaminghi/color": "^1.1.3", "lingo3d-vue": "1.0.118", @@ -29,6 +28,7 @@ "@iconify-json/twemoji": "^1.1.11", "@nuxt/content": "^2.6.0", "@nuxt/devtools": "^0.4.0", + "@nuxt/image-edge": "^1.0.0-28089462.3520a62", "@nuxtjs/color-mode": "^3.2.0", "@nuxtjs/i18n": "8.0.0-beta.11", "@nuxtjs/strapi": "^1.9.1", diff --git a/pages/index.vue b/pages/index.vue index f52b2b8..0378790 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -42,14 +42,14 @@ const sectionNine = useSectionNine() - +
@@ -134,7 +134,7 @@ const sectionNine = useSectionNine()
- +
diff --git a/public/imgs/Home-Banner/Banner_1.gif b/public/imgs/Home-Banner/Banner_1.gif index 16c090e..4cc82ec 100644 Binary files a/public/imgs/Home-Banner/Banner_1.gif and b/public/imgs/Home-Banner/Banner_1.gif differ diff --git a/public/imgs/Home-Banner/Banner_1.jpg b/public/imgs/Home-Banner/Banner_1.jpg new file mode 100644 index 0000000..51c8fa8 Binary files /dev/null and b/public/imgs/Home-Banner/Banner_1.jpg differ diff --git a/public/imgs/Home-Banner/Banner_2.jpg b/public/imgs/Home-Banner/Banner_2.jpg new file mode 100644 index 0000000..1669da6 Binary files /dev/null and b/public/imgs/Home-Banner/Banner_2.jpg differ diff --git a/public/imgs/Home-Solutions&Services/AIGC.gif b/public/imgs/Home-Solutions&Services/AIGC.gif index e1b792f..adb6512 100644 Binary files a/public/imgs/Home-Solutions&Services/AIGC.gif and b/public/imgs/Home-Solutions&Services/AIGC.gif differ diff --git a/public/imgs/Home-Solutions&Services/AIGC.jpg b/public/imgs/Home-Solutions&Services/AIGC.jpg new file mode 100644 index 0000000..217ab8c Binary files /dev/null and b/public/imgs/Home-Solutions&Services/AIGC.jpg differ diff --git a/public/imgs/Home-Solutions&Services/Circulus.gif b/public/imgs/Home-Solutions&Services/Circulus.gif index 4782a2a..4bb5f6d 100644 --- a/public/imgs/Home-Solutions&Services/Circulus.gif +++ b/public/imgs/Home-Solutions&Services/Circulus.gif @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:add90dac4fd4dcfaa39d8d16107da2dfa9368059561d30d9a88e06a8d368505b -size 112667349 +oid sha256:8a669d196d9f24f8c776c1512a1ae6230e8d42921a37621be3c4effe6d28d625 +size 87935736 diff --git a/public/imgs/Home-Solutions&Services/Circulus.jpg b/public/imgs/Home-Solutions&Services/Circulus.jpg new file mode 100644 index 0000000..e1fe164 Binary files /dev/null and b/public/imgs/Home-Solutions&Services/Circulus.jpg differ diff --git a/public/imgs/Home-Solutions&Services/CyberPink.gif b/public/imgs/Home-Solutions&Services/CyberPink.gif index 069ae81..177ab1d 100644 --- a/public/imgs/Home-Solutions&Services/CyberPink.gif +++ b/public/imgs/Home-Solutions&Services/CyberPink.gif @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dc1a967e3c3db43050f6fe715285144f721e48b822a36ba638223dc6be71405b -size 177550690 +oid sha256:f5415e4382cb47b13913188e3f94ad545da6c32f18ba04fa7eeeacc455e9c9ce +size 134645621 diff --git a/public/imgs/Home-Solutions&Services/CyberPink.jpg b/public/imgs/Home-Solutions&Services/CyberPink.jpg new file mode 100644 index 0000000..9f4c545 Binary files /dev/null and b/public/imgs/Home-Solutions&Services/CyberPink.jpg differ diff --git a/public/imgs/Home-Solutions&Services/DigitalTwin.jpg b/public/imgs/Home-Solutions&Services/DigitalTwin.jpg new file mode 100644 index 0000000..9904afc Binary files /dev/null and b/public/imgs/Home-Solutions&Services/DigitalTwin.jpg differ diff --git a/public/imgs/Home-Solutions&Services/GeneratedDesign.jpg b/public/imgs/Home-Solutions&Services/GeneratedDesign.jpg new file mode 100644 index 0000000..3531a4e Binary files /dev/null and b/public/imgs/Home-Solutions&Services/GeneratedDesign.jpg differ diff --git a/tsconfig.json b/tsconfig.json index e731add..9203f58 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,6 @@ "extends": "./.nuxt/tsconfig.json", "compilerOptions": { "strict": true, - "types": ["anu-vue/volar"] + "types": ["anu-vue/volar","@nuxt/types", "@nuxt/image"] } }