From 94bef74e15d60ce1567896f71a7d798087497daf Mon Sep 17 00:00:00 2001 From: huangjinming Date: Thu, 30 Mar 2023 11:47:43 +0800 Subject: [PATCH] fix --- package-lock.json | 14 +---- package.json | 3 +- src/components/about/Whitepaper.vue | 14 +++-- src/components/global/AnimatedTitle.vue | 43 +++++++++++++++ src/components/global/FadeInText.vue | 57 ++++++++++++++++++++ src/components/home/ChipCard.vue | 70 +++++++++++++++++-------- src/components/home/GameGallerp.vue | 5 ++ src/components/home/WhatCebg.vue | 31 +++++------ yarn.lock | 9 +--- 9 files changed, 184 insertions(+), 62 deletions(-) create mode 100644 src/components/global/AnimatedTitle.vue create mode 100644 src/components/global/FadeInText.vue diff --git a/package-lock.json b/package-lock.json index 4212024..38eb69c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@animxyz/vue3": "^0.6.7", "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@metamask/safe-event-emitter": "^2.0.0", + "@vue/runtime-dom": "^3.2.47", "@vueuse/core": "^9.12.0", "@walletconnect/web3-provider": "^1.8.0", "ant-design-vue": "^3.2.15", @@ -24,7 +25,6 @@ "postcss-px-to-viewport": "^1.1.1", "process": "^0.11.10", "rollup-plugin-polyfill-node": "^0.12.0", - "scrollama": "^3.2.0", "stream-browserify": "^3.0.0", "swiper": "8", "util": "^0.12.5", @@ -32,7 +32,6 @@ "videojs-flash": "^2.2.1", "vue": "^3.2.45", "vue-3d-loader": "^2.1.5", - "vue-demi": "^0.13.11", "vue-router": "^4.1.6", "web3": "^1.8.2", "youtube-player": "^5.6.0" @@ -1804,7 +1803,6 @@ "version": "3.2.47", "resolved": "https://registry.npmmirror.com/@vue/runtime-dom/-/runtime-dom-3.2.47.tgz", "integrity": "sha512-ArXrFTjS6TsDei4qwNvgrdmHtD930KgSKGhS5M+j8QxXrDJYLqYw4RRcDy1bz1m1wMmb6j+zGLifdVHtkXA7gA==", - "license": "MIT", "dependencies": { "@vue/runtime-core": "3.2.47", "@vue/shared": "3.2.47", @@ -8677,11 +8675,6 @@ "compute-scroll-into-view": "^1.0.20" } }, - "node_modules/scrollama": { - "version": "3.2.0", - "resolved": "https://registry.npmmirror.com/scrollama/-/scrollama-3.2.0.tgz", - "integrity": "sha512-PIPwB1kYBnbw/ezvPBJa5dCN5qEwokfpAkI3BmpZWAwcVID4nDf1qH6WV16A2fQaJmsKx0un5S/zhxN+PQeKDQ==" - }, "node_modules/scrypt-js": { "version": "3.0.1", "resolved": "https://registry.npmmirror.com/scrypt-js/-/scrypt-js-3.0.1.tgz", @@ -17524,11 +17517,6 @@ "compute-scroll-into-view": "^1.0.20" } }, - "scrollama": { - "version": "3.2.0", - "resolved": "https://registry.npmmirror.com/scrollama/-/scrollama-3.2.0.tgz", - "integrity": "sha512-PIPwB1kYBnbw/ezvPBJa5dCN5qEwokfpAkI3BmpZWAwcVID4nDf1qH6WV16A2fQaJmsKx0un5S/zhxN+PQeKDQ==" - }, "scrypt-js": { "version": "3.0.1", "resolved": "https://registry.npmmirror.com/scrypt-js/-/scrypt-js-3.0.1.tgz", diff --git a/package.json b/package.json index 2a151dc..ac92439 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "@animxyz/vue3": "^0.6.7", "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@metamask/safe-event-emitter": "^2.0.0", + "@vue/runtime-dom": "^3.2.47", "@vueuse/core": "^9.12.0", "@walletconnect/web3-provider": "^1.8.0", "ant-design-vue": "^3.2.15", @@ -26,7 +27,6 @@ "postcss-px-to-viewport": "^1.1.1", "process": "^0.11.10", "rollup-plugin-polyfill-node": "^0.12.0", - "scrollama": "^3.2.0", "stream-browserify": "^3.0.0", "swiper": "8", "util": "^0.12.5", @@ -34,7 +34,6 @@ "videojs-flash": "^2.2.1", "vue": "^3.2.45", "vue-3d-loader": "^2.1.5", - "vue-demi": "^0.13.11", "vue-router": "^4.1.6", "web3": "^1.8.2", "youtube-player": "^5.6.0" diff --git a/src/components/about/Whitepaper.vue b/src/components/about/Whitepaper.vue index 8983c54..383f64e 100644 --- a/src/components/about/Whitepaper.vue +++ b/src/components/about/Whitepaper.vue @@ -13,8 +13,12 @@
- CEBG is the first blockchain-based animation game which consists of - Moba, Battleroyal; funded by more than 7 institutional investors. + + CEBG is the first blockchain-based animation game which consists of + Moba, Battleroyal; funded by more than 7 institutional + investors. +
@@ -27,7 +31,9 @@
- + + \ No newline at end of file diff --git a/src/components/global/FadeInText.vue b/src/components/global/FadeInText.vue new file mode 100644 index 0000000..3c90b3d --- /dev/null +++ b/src/components/global/FadeInText.vue @@ -0,0 +1,57 @@ + + + + + + \ No newline at end of file diff --git a/src/components/home/ChipCard.vue b/src/components/home/ChipCard.vue index 91c421e..1c1cc9d 100644 --- a/src/components/home/ChipCard.vue +++ b/src/components/home/ChipCard.vue @@ -6,24 +6,48 @@
-
-
-
-
+
+ +
+
+ +
+
+ +
+
+ +
-
-
-
-
+
+ +
+
+ +
+
+ +
+
+ +
-
-
-
-
+
+ +
+
+ +
+
+ +
+
+ +
@@ -39,9 +63,7 @@ - +