mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 11:59:11 +00:00
* feat: add Api and Session contexts * feat(web): add machinery/new-session * feat(web): add servers page * chore(web): AppRouter spacing/ordering * feat(web): add picker, missing update-roles call for now * feat(web): add picker saves * chore: add roleTransactions tests * feat(web): add auth/login
34 lines
1 KiB
TypeScript
34 lines
1 KiB
TypeScript
import { DynamicLogotype } from '@roleypoly/design-system/atoms/branding';
|
|
import { Button } from '@roleypoly/design-system/atoms/button';
|
|
import * as React from 'react';
|
|
import { FaSignInAlt } from 'react-icons/fa';
|
|
import {
|
|
MastheadA,
|
|
MastheadAlignment,
|
|
MastheadBase,
|
|
MastheadLeft,
|
|
MastheadRight,
|
|
} from './Masthead.styled';
|
|
|
|
export const Guest = () => (
|
|
<MastheadBase>
|
|
<MastheadAlignment>
|
|
<MastheadLeft>
|
|
<MastheadA to="/">
|
|
<DynamicLogotype height={30} />
|
|
</MastheadA>
|
|
</MastheadLeft>
|
|
<MastheadRight>
|
|
<MastheadA to="/auth/login">
|
|
<Button size="small">
|
|
Login{' '}
|
|
<FaSignInAlt
|
|
size="1em"
|
|
style={{ transform: 'translateY(1px)' }}
|
|
/>
|
|
</Button>
|
|
</MastheadA>
|
|
</MastheadRight>
|
|
</MastheadAlignment>
|
|
</MastheadBase>
|
|
);
|