fix(website): apple-mobile-web-app-capable deprecated meta tag + download button pulse animation

This commit is contained in:
Koala
2026-05-30 20:45:08 +02:00
parent 00c9ff8cfc
commit 59eb1a6092
4 changed files with 18 additions and 2 deletions
+1
View File
@@ -34,6 +34,7 @@ export default [
Date: "readonly",
Error: "readonly",
URL: "readonly",
URLSearchParams: "readonly",
WebSocket: "readonly",
self: "readonly"
}
+14
View File
@@ -568,6 +568,20 @@ document.addEventListener('DOMContentLoaded', () => {
btn.style.transform = 'scale(0.95)';
});
}
// Also pulse the main hero CTA buttons
if (!isInstalled) {
if (isFirefox) {
firefoxBtns.forEach(btn => {
btn.style.transform = '';
btn.classList.add('install-breathe');
});
} else if (isChrome) {
chromeBtns.forEach(btn => {
btn.classList.add('install-breathe');
});
}
}
}, 600);
};
+1 -1
View File
@@ -29,7 +29,7 @@
<!-- Mobile Browser Theme Styling -->
<meta name="theme-color" content="#0f172a">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<script src="lang-init.js"></script>
+2 -1
View File
@@ -1006,7 +1006,8 @@ input:checked + .mock-slider:before {
}
}
.install-breathe.firefox {
.install-breathe.firefox,
.btn-firefox.install-breathe {
animation-name: install-breathe-ff;
}