small updates
This commit is contained in:
@@ -89,8 +89,8 @@
|
|||||||
<div class="homelab-background"></div>
|
<div class="homelab-background"></div>
|
||||||
<h3 class="homelab-title">Homelab</h3>
|
<h3 class="homelab-title">Homelab</h3>
|
||||||
<div class="homelab-buttons">
|
<div class="homelab-buttons">
|
||||||
<a href="https://blog.ivanch.me/posts/selfhost/" class="btn homelab-btn" target="_blank">Applications</a>
|
<a href="https://github.com/ivanch/haven" class="btn homelab-btn" target="_blank">Applications</a>
|
||||||
<a href="" class="btn homelab-btn" target="_blank">Scripts</a>
|
<a href="https://git.ivanch.me/ivanch/server-scripts" class="btn homelab-btn" target="_blank">Scripts</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -103,7 +103,7 @@
|
|||||||
<a href="https://opencand.ivanch.me" class="project-icon-link" target="_blank" title="Website">
|
<a href="https://opencand.ivanch.me" class="project-icon-link" target="_blank" title="Website">
|
||||||
<i class="ri-global-line"></i>
|
<i class="ri-global-line"></i>
|
||||||
</a>
|
</a>
|
||||||
<a href="https://git.ivanch.me/ivanch/opencand" class="project-icon-link" target="_blank" title="GitHub">
|
<a href="https://github.com/ivanch/opencand" class="project-icon-link" target="_blank" title="GitHub">
|
||||||
<i class="ri-github-fill"></i>
|
<i class="ri-github-fill"></i>
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
10
js/matrix.js
10
js/matrix.js
@@ -17,9 +17,9 @@ class MatrixBackground {
|
|||||||
dotConnected: 'rgba(100, 149, 237, 0.8)',
|
dotConnected: 'rgba(100, 149, 237, 0.8)',
|
||||||
dotConnectedGlow: 'rgba(100, 149, 237, 0.6)',
|
dotConnectedGlow: 'rgba(100, 149, 237, 0.6)',
|
||||||
connection: {
|
connection: {
|
||||||
start: 'rgba(100, 149, 237, 0)',
|
start: 'rgba(100, 149, 237, 0.2)',
|
||||||
middle: 'rgba(138, 43, 226, 0.8)',
|
middle: 'rgba(138, 43, 226, 0.6)',
|
||||||
end: 'rgba(100, 149, 237, 0)'
|
end: 'rgba(100, 149, 237, 0.2)'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -44,7 +44,9 @@ class MatrixBackground {
|
|||||||
init() {
|
init() {
|
||||||
this.handleResize();
|
this.handleResize();
|
||||||
this.animate();
|
this.animate();
|
||||||
window.addEventListener('resize', () => this.handleResize());
|
|
||||||
|
// Prevent resizing for mobile performance reasons
|
||||||
|
// window.addEventListener('resize', () => this.handleResize());
|
||||||
}
|
}
|
||||||
|
|
||||||
handleResize() {
|
handleResize() {
|
||||||
|
Reference in New Issue
Block a user