Use helmet on login, signup pages.

This commit is contained in:
Yang Luo
2021-04-29 21:28:24 +08:00
parent 3065bacad2
commit 785f306c4b
5 changed files with 46 additions and 13 deletions

View File

@ -25,6 +25,7 @@ import {GithubLoginButton, GoogleLoginButton} from "react-social-login-buttons";
import QqLoginButton from "./QqLoginButton";
import i18next from "i18next";
import {authConfig} from "./Auth";
import {Helmet} from "react-helmet";
class LoginPage extends React.Component {
constructor(props) {
@ -282,6 +283,9 @@ class LoginPage extends React.Component {
<Row>
<Col span={24} style={{display: "flex", justifyContent: "center"}}>
<div style={{marginTop: "80px", textAlign: "center"}}>
{
Setting.renderHelmet(application)
}
{
Setting.renderLogo(application)
}