From 7109e1b5a042be4dd11488dedb037376915a4976 Mon Sep 17 00:00:00 2001 From: Richard Zink Date: Wed, 7 Oct 2026 14:01:32 +0200 Subject: [PATCH] Vendor Vanta.js, three.js, suncalc locally for offline operation --- Dockerfile | 1 + index.html | 7 +- vendor/LICENSE | 25 +++ vendor/suncalc.js | 317 +++++++++++++++++++++++++++++++++++++ vendor/three.min.js | 6 + vendor/vanta.clouds.min.js | 1 + 6 files changed, 354 insertions(+), 3 deletions(-) create mode 100644 vendor/LICENSE create mode 100644 vendor/suncalc.js create mode 100644 vendor/three.min.js create mode 100644 vendor/vanta.clouds.min.js diff --git a/Dockerfile b/Dockerfile index ac0d8b6..3aa3b00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,5 +7,6 @@ COPY config.js /usr/share/nginx/html/config.js COPY i18n.js /usr/share/nginx/html/i18n.js COPY index.html /usr/share/nginx/html/index.html COPY noise.png /usr/share/nginx/html/noise.png +COPY vendor/ /usr/share/nginx/html/vendor/ EXPOSE 58881 CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/index.html b/index.html index 80d6d3e..fc4f60c 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,7 @@ })(); - +