Vendor Vanta.js, three.js, suncalc locally for offline operation

This commit is contained in:
Richard Zink committed 2026-10-07 14:01:32 +02:00
1 parent eae8bf19a3
commit 7109e1b5a0
6 files changed
+354 -3

No files matched your search

+4 -3
View File
@@ -15,7 +15,7 @@
})();
</script>
<link id="theme-css" rel="stylesheet" href="ash.css">
<script src="https://cdn.jsdelivr.net/npm/suncalc@1.9.0/suncalc.js"></script>
<script src="vendor/suncalc.js"></script>
<style>
html, body { margin: 0; padding: 0; overflow: hidden; width: 100%; height: 100%; font-family: monospace; }
#vanta { width: 100vw; height: 100vh; position: fixed; top: 0; left: 0; }
@@ -456,8 +456,9 @@
<div id="weather-current" class="weather-current"></div>
<div id="weather-forecast" class="weather-forecast"></div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.clouds2.min.js"></script>
<script src="vendor/three.min.js"></script>
<script src="vendor/vanta.clouds.min.js"></script>
<script src="vendor/vanta.clouds2.min.js"></script>
<script>
var effect = (VANTA.CLOUDS2 || VANTA.CLOUDS)({
el: "#vanta",