Added German language
This commit is contained in:
@@ -1,15 +1,18 @@
|
||||
import type { NextPage } from 'next'
|
||||
import Head from 'next/head'
|
||||
import { Home } from '../components/home/Home'
|
||||
import { GroupProvider } from '../components/contexts/GroupProvider'
|
||||
import { getServerSidePropsGroupProvider, PropsGroupProvider } from '../src/getServerSideProps'
|
||||
import Head from 'next/head'
|
||||
import { useIntl } from 'react-intl'
|
||||
import { i18n } from '../components/shared/I18n/I18n'
|
||||
|
||||
const Page: NextPage<PropsGroupProvider> = ({ id, ...initial }) => {
|
||||
const intl = useIntl()
|
||||
return (
|
||||
<GroupProvider id={id} initial={initial}>
|
||||
<Head>
|
||||
<title>Factorio Microservices</title>
|
||||
<meta name='description' content='Create Factorio microservices' />
|
||||
<title>{i18n(intl, 'page.home.head.title')}</title>
|
||||
<meta name='description' content={i18n(intl, 'page.home.head.meta.description')} />
|
||||
</Head>
|
||||
<Home />
|
||||
</GroupProvider>
|
||||
|
||||
Reference in New Issue
Block a user