mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
fix(frontend): theme-color meta tag (#2420)
* fix(frontend): theme-color meta tag * fix(frontend): add theme-color to offline.html * fix(frontend): reorder application-name meta tag instead * fix(lang): regenerate strings * refactor: optimize Trakt logo SVG
This commit is contained in:
@@ -4,7 +4,9 @@ interface PWAHeaderProps {
|
||||
applicationTitle?: string;
|
||||
}
|
||||
|
||||
const PWAHeader: React.FC<PWAHeaderProps> = ({ applicationTitle }) => {
|
||||
const PWAHeader: React.FC<PWAHeaderProps> = ({
|
||||
applicationTitle = 'Overseerr',
|
||||
}) => {
|
||||
return (
|
||||
<>
|
||||
<link
|
||||
@@ -164,11 +166,7 @@ const PWAHeader: React.FC<PWAHeaderProps> = ({ applicationTitle }) => {
|
||||
href="/site.webmanifest"
|
||||
crossOrigin="use-credentials"
|
||||
/>
|
||||
<meta name="application-name" content={applicationTitle ?? 'Overseerr'} />
|
||||
<meta
|
||||
name="apple-mobile-web-app-title"
|
||||
content={applicationTitle ?? 'Overseerr'}
|
||||
/>
|
||||
<meta name="apple-mobile-web-app-title" content={applicationTitle} />
|
||||
<meta
|
||||
name="description"
|
||||
content="Request and Media Discovery Application"
|
||||
@@ -176,6 +174,7 @@ const PWAHeader: React.FC<PWAHeaderProps> = ({ applicationTitle }) => {
|
||||
<meta name="format-detection" content="telephone=no" />
|
||||
<meta name="mobile-web-app-capable" content="yes" />
|
||||
<meta name="theme-color" content="#1f2937" />
|
||||
<meta name="application-name" content={applicationTitle} />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user