diff --git a/site/src/components/SignInForm/SignInForm.tsx b/site/src/components/SignInForm/SignInForm.tsx index 6dff3c4251551..693c8e58c4bb9 100644 --- a/site/src/components/SignInForm/SignInForm.tsx +++ b/site/src/components/SignInForm/SignInForm.tsx @@ -3,6 +3,7 @@ import FormHelperText from "@material-ui/core/FormHelperText" import Link from "@material-ui/core/Link" import { makeStyles } from "@material-ui/core/styles" import TextField from "@material-ui/core/TextField" +import GitHubIcon from "@material-ui/icons/GitHub" import { FormikContextType, useFormik } from "formik" import { FC } from "react" import * as Yup from "yup" @@ -49,6 +50,29 @@ const useStyles = makeStyles((theme) => ({ submitBtn: { marginTop: theme.spacing(2), }, + buttonIcon: { + width: 14, + height: 14, + }, + divider: { + paddingTop: theme.spacing(3), + paddingBottom: theme.spacing(3), + display: "flex", + alignItems: "center", + gap: theme.spacing(2), + }, + dividerLine: { + width: "100%", + height: 1, + backgroundColor: theme.palette.divider, + }, + dividerLabel: { + flexShrink: 0, + color: theme.palette.text.secondary, + textTransform: "uppercase", + fontSize: 12, + letterSpacing: 1, + }, })) export interface SignInFormProps { @@ -119,13 +143,30 @@ export const SignInForm: FC = ({ {authMethods?.github && ( -
- - - -
+ <> +
+
+
Or
+
+
+ +
+ + + +
+ )} ) diff --git a/site/src/components/Welcome/Welcome.tsx b/site/src/components/Welcome/Welcome.tsx index 6414af1ba0661..382bdbf221c6d 100644 --- a/site/src/components/Welcome/Welcome.tsx +++ b/site/src/components/Welcome/Welcome.tsx @@ -12,11 +12,7 @@ export const Welcome: FC = () => {
- <> - Welcome to -
- Coder - + Welcome to Coder
)