mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-08-25 18:17:18 +00:00
fix(website): apple-mobile-web-app-capable deprecated meta tag + download button pulse animation
This commit is contained in:
@@ -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
@@ -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
@@ -1006,7 +1006,8 @@ input:checked + .mock-slider:before {
|
||||
}
|
||||
}
|
||||
|
||||
.install-breathe.firefox {
|
||||
.install-breathe.firefox,
|
||||
.btn-firefox.install-breathe {
|
||||
animation-name: install-breathe-ff;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user