1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

(nextjs) added page titles everywhere

This commit is contained in:
Fedor Katurov 2022-01-19 16:16:39 +07:00
parent 3da5aba726
commit 2ebafbad52
8 changed files with 55 additions and 4 deletions

View file

@ -1,12 +1,15 @@
import React, { VFC } from 'react';
import { PageTitle } from '~/components/common/PageTitle';
import { LabLayout } from '~/layouts/LabLayout';
import { LabProvider } from '~/utils/providers/LabProvider';
import { getPageTitle } from '~/utils/ssr/getPageTitle';
interface LabPageProps {}
const LabPage: VFC<LabPageProps> = () => (
<LabProvider>
<PageTitle title={getPageTitle('Лаборатория')} />
<LabLayout />
</LabProvider>
);