apps/web: export PageHead from pages/ldap

This commit is contained in:
vchikalkin 2024-06-06 22:18:53 +03:00
parent 5a7a412976
commit 745151df39
2 changed files with 2 additions and 14 deletions

View File

@ -1,18 +1,6 @@
import { PageHead } from './ldap';
import { Login } from '@/components';
import { publicRuntimeConfig } from '@/config/runtime';
import { FormStateProvider } from '@/context/form-state';
import Head from 'next/head';
const { APP_DESCRIPTION } = publicRuntimeConfig;
function PageHead() {
return (
<Head>
<title>{`Вход - ${APP_DESCRIPTION}`}</title>
<meta name="description" content={APP_DESCRIPTION} />
</Head>
);
}
export default function Page(props) {
return (

View File

@ -8,7 +8,7 @@ import { pick } from 'radash';
const { URL_API_CHECK_AUTH } = serverRuntimeConfig;
const { APP_DESCRIPTION } = publicRuntimeConfig;
function PageHead() {
export function PageHead() {
return (
<Head>
<title>{`Вход - ${APP_DESCRIPTION}`}</title>