mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 17:49:09 +00:00
feat(web): add page titles (#170)
* feat(web): add page titles * add html title
This commit is contained in:
parent
2d9d70734b
commit
637be8bfa1
7 changed files with 52 additions and 19 deletions
7
packages/web/src/utils/metaTitle.tsx
Normal file
7
packages/web/src/utils/metaTitle.tsx
Normal file
|
@ -0,0 +1,7 @@
|
|||
import Head from 'react-helmet';
|
||||
|
||||
export const Title = (props: { title: string }) => (
|
||||
<Head>
|
||||
<title>{props.title}</title>
|
||||
</Head>
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue