-
Notifications
You must be signed in to change notification settings - Fork 890
refactor: Redesign auth cli page and add workspaces link #3737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
textAlign: "center", | ||
flex: "0", | ||
paddingTop: theme.spacing(2), | ||
paddingBottom: theme.spacing(2), | ||
marginTop: theme.spacing(3), | ||
marginTop: theme.spacing(8), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The footer was to close to the form.
@@ -55,12 +56,12 @@ export const Footer: React.FC<React.PropsWithChildren<FooterProps>> = ({ buildIn | |||
|
|||
const useFooterStyles = makeStyles((theme) => ({ | |||
root: { | |||
opacity: 0.6, | |||
color: colors.gray[7], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried the palette.text.secondary
but for this background and how "soft" we want the color I decided to use the color directly since it is very specific to this component.
import * as TypesGen from "../../api/typesGenerated" | ||
|
||
export const Language = { | ||
buildInfoText: (buildInfo: TypesGen.BuildInfoResponse): string => { | ||
return `Coder ${buildInfo.version}` | ||
}, | ||
copyrightText: `Copyright \u00a9 ${new Date().getFullYear()} Coder Technologies, Inc. All rights reserved.`, | ||
copyrightText: `Copyright \u00a9 ${new Date().getFullYear()} Coder Technologies, Inc.`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the "All rights reserved." so the footer width doesn't look bigger than the main container - it looks weird IMO - and also, it is "redundant" since Copyright is about "rights reserved" I guess.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Before:

After:

Closes #3678