summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-17 11:36:00 +0200
committerDanilo M. <danix@danix.xyz>2026-04-17 11:36:00 +0200
commit5a14cd3ab6da0205dbbc4e1c7ddce2ea71a4b1b3 (patch)
treefdee80187d4d33b3d313d68a3270eeb60f3ae685 /themes
parent681ee6ca03258402deefc62a4d08f44ae7b70cbe (diff)
downloaddanixxyz-5a14cd3ab6da0205dbbc4e1c7ddce2ea71a4b1b3.tar.gz
danixxyz-5a14cd3ab6da0205dbbc4e1c7ddce2ea71a4b1b3.zip
debug: add console.log to test Alpine.js component registration
Diffstat (limited to 'themes')
-rw-r--r--themes/danix-xyz-hacker/assets/js/not-found-page.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/danix-xyz-hacker/assets/js/not-found-page.js b/themes/danix-xyz-hacker/assets/js/not-found-page.js
index ec42708..6ec8895 100644
--- a/themes/danix-xyz-hacker/assets/js/not-found-page.js
+++ b/themes/danix-xyz-hacker/assets/js/not-found-page.js
@@ -18,7 +18,9 @@ document.addEventListener('alpine:init', () => {
},
toggleEasterEgg() {
+ console.log('toggleEasterEgg called, current state:', this.showEasterEgg);
this.showEasterEgg = !this.showEasterEgg;
+ console.log('new state:', this.showEasterEgg);
},
goToRandomArticle() {
@@ -28,4 +30,6 @@ document.addEventListener('alpine:init', () => {
}
}
}));
+
+ console.log('notFoundPage Alpine component registered');
});