mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 15:35:55 +01:00
15 lines
352 B
TypeScript
15 lines
352 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.title ?? "Homarr 🦞"}</title>
|
||
|
|
<link rel="shortcut icon" href={config.favicon ?? "/favicon.svg"} />
|
||
|
|
</Head>
|
||
|
|
);
|
||
|
|
}
|