Skip to content

Commit 7ebce09

Browse files
Merge pull request #113 from borgbackup/tweaks
index2.html: three.js 0.184 + minor tweaks
2 parents ec41b15 + 9383a61 commit 7ebce09

1 file changed

Lines changed: 37 additions & 36 deletions

File tree

index2.html

Lines changed: 37 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@
630630

631631
.chat-facade .connect .play { font-size: 0.8em; }
632632

633-
.chat-facade .fine { color: var(--green-dim); font-size: 0.72rem; }
633+
.chat-facade .fine { color: #34b85c; font-size: 0.72rem; }
634634

635635
.chat-window iframe {
636636
display: block;
@@ -959,6 +959,15 @@ <h3>Chat (IRC)</h3>
959959
<li><a class="ext" href="https://web.libera.chat/?nick=Guest&amp;#borgbackup">full client</a></li>
960960
</ul>
961961
</div>
962+
<div class="feature">
963+
<span class="glyph" aria-hidden="true"></span>
964+
<h3>Mastodon</h3>
965+
<p>Follow @borgbackup@fosstodon.org for announcements. Mastodon is not suitable
966+
for longer or more complex discussions — use one of the other channels for that.</p>
967+
<ul class="mini-links">
968+
<li><a class="ext" href="https://fosstodon.org/@borgbackup">@borgbackup</a></li>
969+
</ul>
970+
</div>
962971
<div class="feature">
963972
<span class="glyph" aria-hidden="true"></span>
964973
<h3>Matrix chat</h3>
@@ -978,15 +987,6 @@ <h3>Mailing list</h3>
978987
<li><a class="ext" href="https://mail.python.org/mailman/listinfo/borgbackup">mailing list</a></li>
979988
</ul>
980989
</div>
981-
<div class="feature">
982-
<span class="glyph" aria-hidden="true"></span>
983-
<h3>Mastodon</h3>
984-
<p>Follow @borgbackup@fosstodon.org for announcements. Mastodon is not suitable
985-
for longer or more complex discussions — use one of the other channels for that.</p>
986-
<ul class="mini-links">
987-
<li><a class="ext" href="https://fosstodon.org/@borgbackup">@borgbackup</a></li>
988-
</ul>
989-
</div>
990990
</div>
991991
</section>
992992

@@ -1064,23 +1064,13 @@ <h2>Resistance is futile. Donations are not.</h2>
10641064
BorgBackup project using these options:</p>
10651065
<div class="features funding">
10661066
<div class="feature">
1067-
<span class="glyph" aria-hidden="true"></span>
1068-
<h3>PayPal</h3>
1069-
<p>May be the easiest way (if you already use PayPal or a credit card) to directly
1070-
support a specific developer. Waldmann EDV is the company of Thomas Waldmann,
1071-
BorgBackup&rsquo;s lead developer and maintainer.</p>
1072-
<ul class="mini-links">
1073-
<li><a class="ext" href="https://www.paypal.com/donate/?hosted_button_id=58A7SUQJZLBQ8">donate via paypal</a></li>
1074-
</ul>
1075-
</div>
1076-
<div class="feature">
1077-
<span class="glyph" aria-hidden="true"></span>
1078-
<h3>Liberapay</h3>
1079-
<p>Become a patron and support us regularly to help make the project sustainable in
1080-
the long term. The funds are distributed to the BorgBackup team members — and as
1081-
a BorgBackup developer, you can join the team.</p>
1067+
<span class="glyph" aria-hidden="true"></span>
1068+
<h3>Open Collective</h3>
1069+
<p>Contribute directly via Open Collective; those funds also go to OC&nbsp;EU. The
1070+
funds held on our behalf can be used to pay miscellaneous project-related
1071+
expenses submitted by BorgBackup team members.</p>
10821072
<ul class="mini-links">
1083-
<li><a class="ext" href="https://liberapay.com/borgbackup/donate">donate via liberapay</a></li>
1073+
<li><a class="ext" href="https://opencollective.com/borgbackup">open collective</a></li>
10841074
</ul>
10851075
</div>
10861076
<div class="feature">
@@ -1094,13 +1084,23 @@ <h3>GitHub Sponsors</h3>
10941084
</ul>
10951085
</div>
10961086
<div class="feature">
1097-
<span class="glyph" aria-hidden="true"></span>
1098-
<h3>Open Collective</h3>
1099-
<p>Contribute directly via Open Collective; those funds also go to OC&nbsp;EU. The
1100-
funds held on our behalf can be used to pay miscellaneous project-related
1101-
expenses submitted by BorgBackup team members.</p>
1087+
<span class="glyph" aria-hidden="true"></span>
1088+
<h3>Liberapay</h3>
1089+
<p>Become a patron and support us regularly to help make the project sustainable in
1090+
the long term. The funds are distributed to the BorgBackup team members — and as
1091+
a BorgBackup developer, you can join the team.</p>
11021092
<ul class="mini-links">
1103-
<li><a class="ext" href="https://opencollective.com/borgbackup">open collective</a></li>
1093+
<li><a class="ext" href="https://liberapay.com/borgbackup/donate">donate via liberapay</a></li>
1094+
</ul>
1095+
</div>
1096+
<div class="feature">
1097+
<span class="glyph" aria-hidden="true"></span>
1098+
<h3>PayPal</h3>
1099+
<p>May be the easiest way (if you already use PayPal or a credit card) to directly
1100+
support a specific developer. Waldmann EDV is the company of Thomas Waldmann,
1101+
BorgBackup&rsquo;s lead developer and maintainer.</p>
1102+
<ul class="mini-links">
1103+
<li><a class="ext" href="https://www.paypal.com/donate/?hosted_button_id=58A7SUQJZLBQ8">donate via paypal</a></li>
11041104
</ul>
11051105
</div>
11061106
</div>
@@ -1171,7 +1171,7 @@ <h2>Trusted by sysadmins, hoarders and the merely paranoid.</h2>
11711171

11721172
<!-- three.js scene + GSAP choreography -->
11731173
<script type="importmap">
1174-
{ "imports": { "three": "https://cdn.jsdelivr.net/npm/three@0.160.0/build/three.module.js" } }
1174+
{ "imports": { "three": "https://cdn.jsdelivr.net/npm/three@0.184.0/build/three.module.min.js" } }
11751175
</script>
11761176
<script type="module">
11771177
import * as THREE from 'three';
@@ -1335,11 +1335,12 @@ <h2>Trusted by sysadmins, hoarders and the merely paranoid.</h2>
13351335
window.addEventListener('resize', resize);
13361336
resize();
13371337

1338-
const clock = new THREE.Clock();
1338+
const timer = new THREE.Timer();
13391339

13401340
function render() {
1341-
const dt = Math.min(clock.getDelta(), 0.05);
1342-
const t = clock.elapsedTime;
1341+
timer.update();
1342+
const dt = Math.min(timer.getDelta(), 0.05);
1343+
const t = timer.getElapsed();
13431344
const p = state.progress; // 0 at top, 1 at page bottom
13441345
const calm = state.calm; // 1 = stars only
13451346
const spread = Math.sin(p * Math.PI) * 7; // explode mid-page, reassemble at end

0 commit comments

Comments
 (0)