mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 07:25:48 +01:00
15 lines
370 B
TypeScript
15 lines
370 B
TypeScript
import React from 'react';
|
|
import Head from 'next/head';
|
|
import { useConfig } from '../../tools/state';
|
|
|
|
export function HeaderConfig(props: any) {
|
|
const { config } = useConfig();
|
|
|
|
return (
|
|
<Head>
|
|
<title>{config.settings.title || 'Homarr 🦞'}</title>
|
|
<link rel="shortcut icon" href={config.settings.favicon || '/favicon.svg'} />
|
|
</Head>
|
|
);
|
|
}
|