set explicit page title on homepage
This commit is contained in:
parent
9b4a677395
commit
785d119324
1 changed files with 33 additions and 27 deletions
|
@ -10,6 +10,7 @@ import {
|
||||||
useTheme,
|
useTheme,
|
||||||
useToast,
|
useToast,
|
||||||
} from "@chakra-ui/core";
|
} from "@chakra-ui/core";
|
||||||
|
import { Helmet } from "react-helmet";
|
||||||
import { useHistory } from "react-router-dom";
|
import { useHistory } from "react-router-dom";
|
||||||
import { useLazyQuery } from "@apollo/react-hooks";
|
import { useLazyQuery } from "@apollo/react-hooks";
|
||||||
|
|
||||||
|
@ -20,6 +21,10 @@ import SpeciesColorPicker from "./SpeciesColorPicker";
|
||||||
|
|
||||||
function HomePage() {
|
function HomePage() {
|
||||||
return (
|
return (
|
||||||
|
<>
|
||||||
|
<Helmet>
|
||||||
|
<title>Dress to Impress</title>
|
||||||
|
</Helmet>
|
||||||
<Flex
|
<Flex
|
||||||
color="green.800"
|
color="green.800"
|
||||||
direction="column"
|
direction="column"
|
||||||
|
@ -47,6 +52,7 @@ function HomePage() {
|
||||||
<Box height="4" />
|
<Box height="4" />
|
||||||
<SubmitPetForm />
|
<SubmitPetForm />
|
||||||
</Flex>
|
</Flex>
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue