mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 15:35:55 +01:00
✨ add apple touch and startup headers
This commit is contained in:
BIN
public/favicon-squared.png
Normal file
BIN
public/favicon-squared.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
@@ -1,3 +1,4 @@
|
|||||||
|
/* eslint-disable react/no-invalid-html-attribute */
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
import { useConfig } from '../../tools/state';
|
import { useConfig } from '../../tools/state';
|
||||||
@@ -9,6 +10,14 @@ export function HeaderConfig(props: any) {
|
|||||||
<Head>
|
<Head>
|
||||||
<title>{config.settings.title || 'Homarr 🦞'}</title>
|
<title>{config.settings.title || 'Homarr 🦞'}</title>
|
||||||
<link rel="shortcut icon" href={config.settings.favicon || '/favicon.svg'} />
|
<link rel="shortcut icon" href={config.settings.favicon || '/favicon.svg'} />
|
||||||
|
|
||||||
|
{/* configure apple splash screen & touch icon */}
|
||||||
|
<link rel="apple-touch-icon" href={config.settings.favicon || '/favicon-squared.png'} />
|
||||||
|
<link
|
||||||
|
rel="apple-touch-startup-image"
|
||||||
|
href={config.settings.favicon || '/favicon-squared.png'}
|
||||||
|
/>
|
||||||
|
<meta name="apple-mobile-web-app-title" content={config.settings.title || 'Homarr'} />
|
||||||
</Head>
|
</Head>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user