Update: hidden uninotes

This commit is contained in:
hyzen
2026-06-05 03:18:02 +05:30
parent 7641c25ab2
commit 1669b46e44
71 changed files with 193 additions and 125 deletions

View File

@@ -1,3 +1,14 @@
<script>
(function () {
// Hide UniNotes menu item for everyone except hyzen
document.querySelectorAll('.menu__item').forEach(function (li) {
var a = li.querySelector('a');
if (a && a.getAttribute('href') === '/uninotes/') {
li.classList.add('menu__item--uninotes');
}
});
})();
</script>
<script>
(function () {
var btn = document.getElementById('theme-toggle');