style(extension): apply UI/UX audit enhancements, consolidate footers, and style capsule badges

This commit is contained in:
KoalaDev
2026-07-12 06:38:26 +02:00
parent bd33ea4804
commit 4fb8e0f53a
4 changed files with 93 additions and 36 deletions
+5 -1
View File
@@ -231,7 +231,11 @@ document.addEventListener('DOMContentLoaded', () => {
const sectionObserver = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
history.replaceState(null, null, '#' + entry.target.id);
if (entry.target.id === 'top') {
history.replaceState(null, null, window.location.pathname + window.location.search);
} else {
history.replaceState(null, null, '#' + entry.target.id);
}
if (forestGreet) forestGreet();
}
});
+1 -1
View File
@@ -360,7 +360,7 @@
</nav>
<main id="main-content">
<header class="hero">
<header class="hero" id="top">
<div class="container hero-grid">
<div class="hero-text">
<h1>{{HERO_TITLE}}</h1>