feat: Add own the dot copyright
All checks were successful
Build Docker / Build Image (push) Successful in 3m2s

This commit is contained in:
2026-02-12 19:12:19 +11:00
parent 1987551aca
commit 7bcb210d47
26 changed files with 611 additions and 54 deletions

View File

@@ -64,8 +64,32 @@
element.setAttribute('aria-pressed', 'false');
});
const iconTheme = theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme;
for (const themeSwitcher of themeSwitchers) {
const adaptIcon = !!themeSwitcher.dataset.bsAdaptIcon;
if (adaptIcon) {
const btnIcon = themeSwitcher.querySelector('[data-bss-adaptable]');
try {
const themeIcons = JSON.parse(themeSwitcher.dataset.bssIcons || "{}");
const newIconMarkup = themeIcons[iconTheme];
const template = document.createElement("template");
template.innerHTML = newIconMarkup;
const newIconFragment = template.content.cloneNode(true);
if (newIconFragment?.children?.length) {
newIconFragment.children[0].dataset.bssAdaptable = true;
}
btnIcon.replaceWith(newIconFragment);
} catch (e) {}
}
const btnToActivate = themeSwitcher.querySelector('[data-bs-theme-value="' + theme + '"]');
if (btnToActivate) {
@@ -120,7 +144,7 @@
<body>
<nav class="navbar navbar-expand-lg fixed-top bg-secondary-subtle clean-navbar navbar-light">
<div class="container-fluid"><a class="navbar-brand logo" href="/" style="width: 50%;"><img src="/assets/img/HandshakeAustraliaT.webp" style="margin-right: 10px;height: 50px;" class="light-only"><img src="/assets/img/HandshakeAustraliaTW.webp" style="margin-right: 10px;height: 50px;" class="dark-only"></a><button data-bs-toggle="collapse" class="navbar-toggler" data-bs-target="#navcol-1"><span class="visually-hidden">Toggle navigation</span><span class="navbar-toggler-icon"></span></button>
<div class="container-fluid"><a class="navbar-brand logo" href="/" style="width: 50%;"><img src="/assets/img/HandshakeAustraliaT.webp" style="margin-right: 10px;height: 50px;" class="light-only"><img src="/assets/img/HandshakeAustraliaTW.webp" style="margin-right: 10px;height: 50px;" class="dark-only"></a><button class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navcol-1"><span class="visually-hidden">Toggle navigation</span><span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navcol-1">
<ul class="navbar-nav ms-auto">
<li class="nav-item"><a class="nav-link" href="/" style="color: var(--bs-primary);">Home</a></li>