feat(web): add page titles (#170)

* feat(web): add page titles

* add html title
This commit is contained in:
41666 2021-03-13 21:17:00 -05:00 committed by GitHub
parent 2d9d70734b
commit 637be8bfa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 52 additions and 19 deletions

View file

@ -2,6 +2,7 @@ import { AuthLogin } from '@roleypoly/design-system/templates/auth-login';
import { GuildSlug } from '@roleypoly/types';
import React from 'react';
import { useApiContext } from '../../contexts/api/ApiContext';
import { Title } from '../../utils/metaTitle';
const Login = () => {
const { apiUrl, fetch } = useApiContext();
@ -39,11 +40,14 @@ const Login = () => {
}
return (
<AuthLogin
guildSlug={guildSlug}
onSendSecretCode={() => {}}
discordOAuthLink={oauthLink}
/>
<>
<Title title={'Login to Roleypoly'} />
<AuthLogin
guildSlug={guildSlug}
onSendSecretCode={() => {}}
discordOAuthLink={oauthLink}
/>
</>
);
};