From cac350db1a4c461f3bf341aebc77ffbd441fe424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Henrique?= Date: Sat, 20 Sep 2025 21:17:54 -0300 Subject: [PATCH] small updates --- index.html | 6 +++--- js/matrix.js | 10 ++++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 9ecbd59..a6a32e0 100644 --- a/index.html +++ b/index.html @@ -89,8 +89,8 @@

Homelab

- Applications - Scripts + Applications + Scripts
@@ -103,7 +103,7 @@ - + diff --git a/js/matrix.js b/js/matrix.js index d279b71..a754e5d 100644 --- a/js/matrix.js +++ b/js/matrix.js @@ -17,9 +17,9 @@ class MatrixBackground { dotConnected: 'rgba(100, 149, 237, 0.8)', dotConnectedGlow: 'rgba(100, 149, 237, 0.6)', connection: { - start: 'rgba(100, 149, 237, 0)', - middle: 'rgba(138, 43, 226, 0.8)', - end: 'rgba(100, 149, 237, 0)' + start: 'rgba(100, 149, 237, 0.2)', + middle: 'rgba(138, 43, 226, 0.6)', + end: 'rgba(100, 149, 237, 0.2)' } } }; @@ -44,7 +44,9 @@ class MatrixBackground { init() { this.handleResize(); this.animate(); - window.addEventListener('resize', () => this.handleResize()); + + // Prevent resizing for mobile performance reasons + // window.addEventListener('resize', () => this.handleResize()); } handleResize() {