Skip to content

Commit dba0a3a

Browse files
committed
Rebuild #1
1 parent b0dbd90 commit dba0a3a

7 files changed

Lines changed: 15 additions & 15 deletions

File tree

dist/about.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,12 +481,12 @@
481481
});
482482

483483
function isNoMobilePage() {
484-
return window.location.pathname === '/no-mobile.html';
484+
return window.location.pathname === './no-mobile.html';
485485
}
486486

487487
function checkScreenSize() {
488488
if (window.innerWidth < 1680 && !isNoMobilePage()) {
489-
window.location.href = '/no-mobile.html';
489+
window.location.href = './no-mobile.html';
490490
}
491491
}
492492

dist/batch-tools.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,12 +546,12 @@
546546
});
547547

548548
function isNoMobilePage() {
549-
return window.location.pathname === '/no-mobile.html';
549+
return window.location.pathname === './no-mobile.html';
550550
}
551551

552552
function checkScreenSize() {
553553
if (window.innerWidth < 1680 && !isNoMobilePage()) {
554-
window.location.href = '/no-mobile.html';
554+
window.location.href = './no-mobile.html';
555555
}
556556
}
557557

dist/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,12 +528,12 @@
528528
});
529529

530530
function isNoMobilePage() {
531-
return window.location.pathname === '/no-mobile.html';
531+
return window.location.pathname === './no-mobile.html';
532532
}
533533

534534
function checkScreenSize() {
535535
if (window.innerWidth < 1680 && !isNoMobilePage()) {
536-
window.location.href = '/no-mobile.html';
536+
window.location.href = './no-mobile.html';
537537
}
538538
}
539539

dist/projects.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,12 +481,12 @@
481481
});
482482

483483
function isNoMobilePage() {
484-
return window.location.pathname === '/no-mobile.html';
484+
return window.location.pathname === './no-mobile.html';
485485
}
486486

487487
function checkScreenSize() {
488488
if (window.innerWidth < 1680 && !isNoMobilePage()) {
489-
window.location.href = '/no-mobile.html';
489+
window.location.href = './no-mobile.html';
490490
}
491491
}
492492

dist/settings.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,12 +498,12 @@
498498
});
499499

500500
function isNoMobilePage() {
501-
return window.location.pathname === '/no-mobile.html';
501+
return window.location.pathname === './no-mobile.html';
502502
}
503503

504504
function checkScreenSize() {
505505
if (window.innerWidth < 1680 && !isNoMobilePage()) {
506-
window.location.href = '/no-mobile.html';
506+
window.location.href = './no-mobile.html';
507507
}
508508
}
509509

dist/storage-tools.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,12 +684,12 @@
684684
});
685685

686686
function isNoMobilePage() {
687-
return window.location.pathname === '/no-mobile.html';
687+
return window.location.pathname === './no-mobile.html';
688688
}
689689

690690
function checkScreenSize() {
691691
if (window.innerWidth < 1680 && !isNoMobilePage()) {
692-
window.location.href = '/no-mobile.html';
692+
window.location.href = './no-mobile.html';
693693
}
694694
}
695695

dist/web-snippets.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@
455455
soundPhone.volume = 0.1;
456456
document.getElementById('popup-container-img').addEventListener('click', function() {
457457
soundPhone.play();
458-
});</script></body><body class="chamelion"><div class="menu-side-overall-wrapper"><div class="menu-side-wrapper"><img class="side-pix" src="./media/img/code.gif"></div><div class="menu-side-projects-wrapper"><ul>CURRENT PROJECTS<li><a href="https://trackerninja.codeberg.page" target="_blank">RETRO PORTAL</a></li><li><a href="https://behance.net/retrowave88" target="_blank">COMPUTER GRAPHICS</a></li><li><a href="https://www.tiktok.com/@trackerninja808" target="_blank">TRACKER MUSIC</a></li><li><a href="https://stock.adobe.com/contributor/204789995/spacedrone808" target="_blank">ADOBE STOCK</a></li><li><a href="https://freepik.com/author/spacedrone808" target="_blank">FREEPIK STOCK</a></li></ul></div></div><div class="page-wrapper wrapper"><div class="tools-intro">Here you will find various snippets I use in web development. In almost all cases it is HTML/PUG/Javascript/PHP. Quite young section, so not so much stuff going on here, but will be updated in upcoming future for sure.</div><div class="batch-title">SNIPPET TO SHOW CERTAIN WEBPAGE IF SCREEN WIDTH IS LESS THAN</div><div class="crt-container"><pre class="crt-text">document.addEventListener('DOMContentLoaded', () => {
458+
});</script></body><body class="chamelion"><div class="menu-side-overall-wrapper"><div class="menu-side-wrapper"><img class="side-pix" src="./media/img/code.gif"></div><div class="menu-side-projects-wrapper"><ul>CURRENT PROJECTS<li><a href="https://trackerninja.codeberg.page" target="_blank">RETRO PORTAL</a></li><li><a href="https://behance.net/retrowave88" target="_blank">COMPUTER GRAPHICS</a></li><li><a href="https://www.tiktok.com/@trackerninja808" target="_blank">TRACKER MUSIC</a></li><li><a href="https://stock.adobe.com/contributor/204789995/spacedrone808" target="_blank">ADOBE STOCK</a></li><li><a href="https://freepik.com/author/spacedrone808" target="_blank">FREEPIK STOCK</a></li></ul></div></div><div class="page-wrapper wrapper"><div class="tools-intro">Here you will find various snippets I use in web development. In almost all cases it is HTML/PUG/Javascript/PHP. Quite young section, so not so much stuff going on here, but will be updated in upcoming future for sure.</div><div class="batch-title">WEBPAGE REDIRECTS IF SCREEN WIDTH IS LESS THAN</div><div class="crt-container"><pre class="crt-text">document.addEventListener('DOMContentLoaded', () => {
459459
if (isNoMobilePage()) return;
460460
checkScreenSize();
461461
window.addEventListener('resize', checkScreenSize);
@@ -550,12 +550,12 @@
550550
});
551551

552552
function isNoMobilePage() {
553-
return window.location.pathname === '/no-mobile.html';
553+
return window.location.pathname === './no-mobile.html';
554554
}
555555

556556
function checkScreenSize() {
557557
if (window.innerWidth < 1680 && !isNoMobilePage()) {
558-
window.location.href = '/no-mobile.html';
558+
window.location.href = './no-mobile.html';
559559
}
560560
}
561561

0 commit comments

Comments
 (0)