Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 0e2f8df

Browse files
committed
Restore lazy 3d scene 🚀
1 parent 80910e2 commit 0e2f8df

14 files changed

+12
-10
lines changed

_data/webpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
hash: 302c6850453dab66808d
1+
hash: 90edd5d8359d61e23211

_includes/critical.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_ts/home/scene-3D.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ const isWebGLEnabled = (): boolean => {
1111

1212
const scene3D = (): void => {
1313
if (isWebGLEnabled && isAMobileDevice() === false) {
14-
import(/* webpackChunkName: "scene-threejs" */ './scene-threejs').then(module => module.sceneThreeJS())
14+
setTimeout(() => {
15+
import(/* webpackChunkName: "scene-threejs" */ './scene-threejs').then(module => module.sceneThreeJS())
16+
}, 3000);
1517
}
1618
}
1719

File renamed without changes.

assets/dist/index.home.302c6850453dab66808d.min.js renamed to assets/dist/index.home.90edd5d8359d61e23211.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/dist/style.blog.archive.302c6850453dab66808d.css renamed to assets/dist/style.blog.archive.90edd5d8359d61e23211.css

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

assets/dist/style.cookiepolicy.302c6850453dab66808d.css renamed to assets/dist/style.cookiepolicy.90edd5d8359d61e23211.css

File renamed without changes.

0 commit comments

Comments
 (0)