updated pwa head

This commit is contained in:
corgifist 2025-07-25 19:50:25 +03:00
parent 6ea68e3b38
commit 4b4f018d1f
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,9 @@ const PWAHead = () => (
<meta name="apple-mobile-web-app-title" content="ClipFusion" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="theme-color" content="var(--background)" />
<link rel="apple-touch-startup-image" href="/splashes/apple-splash-dark-2048-2732.jpg" media="(prefers-color-scheme: dark) and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" />
<link rel="apple-touch-startup-image" href="/splashes/apple-splash-dark-2732-2048.jpg" media="(prefers-color-scheme: dark) and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" />

View File

@ -20,7 +20,7 @@ const MetaThemeProvider = ({
document.head.appendChild(themeColorMeta);
}
themeColorMeta.content = resolvedTheme === 'dark' ? '#171717' : '#fff';
themeColorMeta.content = resolvedTheme === 'dark' ? '#0a0a0a' : '#ffffff';
}, [resolvedTheme]);
return children;