mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 18:09: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
|
@ -3,6 +3,7 @@ import { ServersTemplate } from '@roleypoly/design-system/templates/servers';
|
|||
import * as React from 'react';
|
||||
import { useAppShellProps } from '../contexts/app-shell/AppShellContext';
|
||||
import { useSessionContext } from '../contexts/session/SessionContext';
|
||||
import { Title } from '../utils/metaTitle';
|
||||
|
||||
const ServersPage = () => {
|
||||
const { isAuthenticated, session } = useSessionContext();
|
||||
|
@ -11,7 +12,12 @@ const ServersPage = () => {
|
|||
return <Redirect to="/" />;
|
||||
}
|
||||
|
||||
return <ServersTemplate {...appShellProps} />;
|
||||
return (
|
||||
<>
|
||||
<Title title={'Your Guilds - Roleypoly'} />
|
||||
<ServersTemplate {...appShellProps} />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default ServersPage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue