summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsalmonik <stankiewiczgracjan2019@gmail.com>2025-09-03 15:45:37 +0200
committersalmonik <stankiewiczgracjan2019@gmail.com>2025-09-03 15:45:37 +0200
commitd8bbff8ff2ca6bd8a8ef0da28c9b8edc95449f5d (patch)
tree6f7407437a2c3a21a7f702663da534728699395d
parentmaybe fix scrolling (diff)
downloadsite-d8bbff8ff2ca6bd8a8ef0da28c9b8edc95449f5d.tar.gz
site-d8bbff8ff2ca6bd8a8ef0da28c9b8edc95449f5d.zip
fix mobile and correct html
-rw-r--r--TODO.md2
-rw-r--r--index.html4
-rw-r--r--js/gradient.js5
3 files changed, 4 insertions, 7 deletions
diff --git a/TODO.md b/TODO.md
index 44b7696..e69de29 100644
--- a/TODO.md
+++ b/TODO.md
@@ -1,2 +0,0 @@
1# high priority
2## Enable scrolling on phones \ No newline at end of file
diff --git a/index.html b/index.html
index 39c683a..45522f0 100644
--- a/index.html
+++ b/index.html
@@ -90,7 +90,7 @@
90 <h3 class="project-title">Discord Bots</h3> 90 <h3 class="project-title">Discord Bots</h3>
91 <p class="project-description">A few bots I made.</p> 91 <p class="project-description">A few bots I made.</p>
92 <div class="project-links"> 92 <div class="project-links">
93 <a href="https://codeberg.org/salmonik" class="btn btn-outline" target="_blank" rel="noopener noreferrer">My GitHub</a> 93 <a href="https://codeberg.org/salmonik" class="btn btn-outline" target="_blank" rel="noopener noreferrer">My Codeberg</a>
94 </div> 94 </div>
95 <div class="project-tags"> 95 <div class="project-tags">
96 <span class="project-tag">Python</span> 96 <span class="project-tag">Python</span>
@@ -104,7 +104,7 @@
104 <h3 class="project-title">FileSiever</h3> 104 <h3 class="project-title">FileSiever</h3>
105 <p class="project-description">Extremely fast C++ CLI app to filter out lines from files.</p> 105 <p class="project-description">Extremely fast C++ CLI app to filter out lines from files.</p>
106 <div class="project-links"> 106 <div class="project-links">
107 <a href="https://codeberg.org/salmonik/FileSiever" class="btn btn-outline" target="_blank" rel="noopener noreferrer">Project's GitHub</a> 107 <a href="https://codeberg.org/salmonik/FileSiever" class="btn btn-outline" target="_blank" rel="noopener noreferrer">Project's Codeberg page</a>
108 </div> 108 </div>
109 <div class="project-tags"> 109 <div class="project-tags">
110 <span class="project-tag">C++</span> 110 <span class="project-tag">C++</span>
diff --git a/js/gradient.js b/js/gradient.js
index b36ffb4..28178f7 100644
--- a/js/gradient.js
+++ b/js/gradient.js
@@ -11,8 +11,8 @@ document.addEventListener('DOMContentLoaded', () => {
11 11
12 // Handle mouse movement 12 // Handle mouse movement
13 const handleMouseMove = (e) => { 13 const handleMouseMove = (e) => {
14 mouseY = e.clientY + window.scrollY; 14 mouseY = e.clientY
15 mouseX = e.clientX + window.scrollX; 15 mouseX = e.clientX
16 16
17 }; 17 };
18 18
@@ -35,7 +35,6 @@ document.addEventListener('DOMContentLoaded', () => {
35 35
36 // Handle touch events for mobile 36 // Handle touch events for mobile
37 window.addEventListener('touchmove', (e) => { 37 window.addEventListener('touchmove', (e) => {
38 e.preventDefault();
39 const touch = e.touches[0]; 38 const touch = e.touches[0];
40 handleMouseMove({ 39 handleMouseMove({
41 clientX: touch.clientX, 40 clientX: touch.clientX,