Reach parity with last web iteration. (#162)

* 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
This commit is contained in:
41666 2021-03-13 04:42:07 -05:00 committed by GitHub
parent f65779f925
commit cd448b56c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 567 additions and 7 deletions

View file

@ -32,7 +32,7 @@ export const Authed = (props: Props) => {
<MastheadBase>
<MastheadAlignment>
<MastheadLeft>
<MastheadA href="/servers">
<MastheadA to="/servers">
<DynamicLogomark height={35} />
</MastheadA>
<InteractionBase

View file

@ -14,12 +14,12 @@ export const Guest = () => (
<MastheadBase>
<MastheadAlignment>
<MastheadLeft>
<MastheadA href="/">
<MastheadA to="/">
<DynamicLogotype height={30} />
</MastheadA>
</MastheadLeft>
<MastheadRight>
<MastheadA href="/auth/login">
<MastheadA to="/auth/login">
<Button size="small">
Login{' '}
<FaSignInAlt

View file

@ -1,3 +1,4 @@
import { Link } from '@reach/router';
import { onSmallScreen } from '@roleypoly/design-system/atoms/breakpoints';
import { palette } from '@roleypoly/design-system/atoms/colors';
import { transitions } from '@roleypoly/design-system/atoms/timings';
@ -66,7 +67,7 @@ export const InteractionBase = styled.div<InteractionBaseProps>`
}
`;
export const MastheadA = styled.a`
export const MastheadA = styled(Link)`
display: flex;
align-items: center;
justify-content: center;