-
{formik.isSubmitting ? inProgressLabel : label}
-
+
);
diff --git a/src/theme.tsx b/src/theme.tsx
index 111a866f..1936af79 100644
--- a/src/theme.tsx
+++ b/src/theme.tsx
@@ -14,10 +14,10 @@ export const theme = createTheme({
},
palette: {
primary: {
- main: "#F8532BCC",
+ main: "#423eee",
},
secondary: {
- main: "#4C54D2",
+ main: "#fe5907",
},
background: {
default: "#F1F3F5",
@@ -28,4 +28,21 @@ export const theme = createTheme({
secondary: "#A0A1B2",
},
},
+ components: {
+ MuiButton: {
+ styleOverrides: {
+ root: {
+ borderRadius: "1000px",
+ },
+ },
+ },
+ MuiCard: {
+ styleOverrides: {
+ root: {
+ borderRadius: "12px",
+ boxShadow: "rgba(99, 105, 110, 0.18) 0px 1px 12px 0px",
+ },
+ },
+ },
+ },
});
diff --git a/src/validation/RegistrationSchema.tsx b/src/validation/RegistrationSchema.tsx
index 7fb88fa1..14c8176b 100644
--- a/src/validation/RegistrationSchema.tsx
+++ b/src/validation/RegistrationSchema.tsx
@@ -12,12 +12,11 @@ export const RegistrationSchema = object().shape({
.label("Email address")
.required()
.matches(EmailRegex, "Please enter a valid email address"),
- firstName: string().label("First name").required(),
- lastName: string().label("Last name").required(),
+ fullName: string().label("Full name").required(),
advertiser: object().shape({
- name: string().label("Organization name").required(),
+ name: string().label("Business name").required(),
url: string()
- .label("Organization URL")
+ .label("Business URL")
.required()
.matches(NoSpacesRegex, `URL must not contain any whitespace`)
.matches(HttpsRegex, `URL must start with https://`)
@@ -26,11 +25,11 @@ export const RegistrationSchema = object().shape({
`Please enter a valid URL, for example https://brave.com`,
),
phone: string()
- .label("Organization phone number")
+ .label("Business phone number")
.required()
.matches(
PhoneRegex,
- "Please enter a valid phone number, including country code.",
+ "Please enter a valid phone number, that has no spaces, and includes country code.",
),
}),
address: object().shape({