website refactor
This commit is contained in:
@@ -74,7 +74,7 @@ export function LoginTemplate({ viewData, formActions, mutationState }: LoginTem
|
||||
/>
|
||||
<Group justify="end" fullWidth>
|
||||
<Link href={routes.auth.forgotPassword}>
|
||||
<Text size="xs" color="text-primary-accent">
|
||||
<Text size="xs" variant="primary">
|
||||
Forgot password?
|
||||
</Text>
|
||||
</Link>
|
||||
@@ -101,10 +101,10 @@ export function LoginTemplate({ viewData, formActions, mutationState }: LoginTem
|
||||
|
||||
{viewData.hasInsufficientPermissions && (
|
||||
<Group direction="row" align="start" gap={3} fullWidth>
|
||||
<Icon icon={AlertCircle} size={5} color="var(--color-warning)" />
|
||||
<Icon icon={AlertCircle} size={5} color="var(--ui-color-intent-warning)" />
|
||||
<Group direction="column" gap={1}>
|
||||
<Text weight="bold" color="text-warning-amber" block size="sm">Insufficient Permissions</Text>
|
||||
<Text size="xs" color="text-gray-400" block>
|
||||
<Text weight="bold" variant="warning" block size="sm">Insufficient Permissions</Text>
|
||||
<Text size="xs" variant="low" block>
|
||||
Please log in with an account that has the required role.
|
||||
</Text>
|
||||
</Group>
|
||||
@@ -133,17 +133,17 @@ export function LoginTemplate({ viewData, formActions, mutationState }: LoginTem
|
||||
</AuthForm>
|
||||
|
||||
<AuthFooterLinks>
|
||||
<Text size="sm" color="text-gray-400">
|
||||
<Text size="sm" variant="low">
|
||||
Don't have an account?{' '}
|
||||
<Link
|
||||
href={viewData.returnTo && viewData.returnTo !== '/dashboard' ? `/auth/signup?returnTo=${encodeURIComponent(viewData.returnTo)}` : '/auth/signup'}
|
||||
>
|
||||
<Text as="span" color="text-primary-accent" weight="bold">Create one</Text>
|
||||
<Text as="span" variant="primary" weight="bold">Create one</Text>
|
||||
</Link>
|
||||
</Text>
|
||||
|
||||
<Group direction="column" gap={1} align="center" fullWidth>
|
||||
<Text size="xs" color="text-gray-600">
|
||||
<Text size="xs" variant="low">
|
||||
By signing in, you agree to our{' '}
|
||||
<Link href="/terms">Terms</Link>
|
||||
{' '}and{' '}
|
||||
|
||||
Reference in New Issue
Block a user