Removed google auth buttons

This commit is contained in:
Daniel Cojocea committed 2024-07-18 17:40:38 -04:00
1 parent b4b2e3ec56
commit 49524cc094
3 files changed
+16 -42

No files matched your search

+7 -12
View File
@@ -6,7 +6,6 @@ import background from "../../assets/Images/background_pattern_decorative.png";
import Logomark from "../../assets/Images/bwl-logo-2.svg?react";
import Check from "../../Components/Check/Check";
import Button from "../../Components/Button";
import Google from "../../assets/Images/Google.png";
import { credentials } from "../../Validation/validation";
import axiosInstance from "../../Utils/axiosConfig";
import { useDispatch } from "react-redux";
@@ -14,7 +13,7 @@ import { register } from "../../Features/Auth/authSlice";
import { createToast } from "../../Utils/toastUtils";
import Field from "../../Components/Inputs/Field";
import { useTheme } from "@emotion/react";
import { Divider, Stack, Typography } from "@mui/material";
import { Stack, Typography } from "@mui/material";
const Register = () => {
const dispatch = useDispatch();
@@ -130,17 +129,13 @@ const Register = () => {
alt="background pattern"
/>
<form className="register-form" onSubmit={handleSubmit} noValidate>
<Stack gap={theme.gap.large} direction="column">
<Stack gap={theme.gap.small} alignItems="center">
<Logomark alt="BlueWave Uptime Icon" />
<Button
level="secondary"
label="Sign up with Google"
sx={{ fontWeight: 600, mt: theme.gap.xxl }}
img={<img className="google-enter" src={Google} alt="Google" />}
/>
<Divider>
<Typography>or</Typography>
</Divider>
<Typography component="h1" sx={{ mt: theme.gap.xl }}>
Create admin account
</Typography>
</Stack>
<Stack gap={theme.gap.large} sx={{ mt: `calc(${theme.gap.ml}*2)` }}>
<Field
id="register-firstname-input"
label="Name"