Skip to content

Commit

Permalink
bugfix: rebuild assets
Browse files Browse the repository at this point in the history
  • Loading branch information
cgarcia-lightit committed Dec 22, 2023
2 parents 94f15ac + c4858fb commit e1761ef
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 23 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions apps/eo_web/dist/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
"src": "../../packages/ui/src/assets/avatar.svg"
},
"src/main.css": {
"file": "assets/main-f8165bac.css",
"file": "assets/main-47be9e44.css",
"src": "src/main.css"
},
"src/main.tsx": {
"assets": [
"assets/UploadFile-694e44b5.svg"
],
"css": [
"assets/main-f8165bac.css"
"assets/main-47be9e44.css"
],
"file": "assets/main-75d6e3ec.js",
"file": "assets/main-cacebf20.js",
"isEntry": true,
"src": "src/main.tsx"
}
Expand Down
19 changes: 13 additions & 6 deletions apps/eo_web/src/screens/AccountCreation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,16 @@ export const signUpSchema = z.object({
.min(1, { message: "Email is required" })
.email({ message: "Enter a valid email." }),
phoneNumber: z
.string()
.length(10, { message: "Contact number must be 10 digits" })
.regex(/^[0-9]+$/, { message: "Enter a valid phone number." }),
.string().superRefine((phoneNumber, ctx) => {
const phoneWithOnlyNumbers = phoneNumber.replace(/\D/g, "");
const numberOfDigits = phoneWithOnlyNumbers.length;
if (numberOfDigits !== 10) {
ctx.addIssue({
code: "custom",
message: "Contact number must be 10 digits"
});
}
}),
password: z
.string()
.regex(
Expand Down Expand Up @@ -91,7 +98,7 @@ export const AccountCreation = () => {
setValidatingForm(false);
return;
} else {
setAccountData(data);
setAccountData({ ...data, phoneNumber: data.phoneNumber.replace(/\D/g, "") });

switch (channel) {
case "cancer":
Expand Down Expand Up @@ -204,7 +211,7 @@ export const AccountCreation = () => {
className={tw(
"font-nunito text-[11px] font-light ",
errors.agreeReceiveNotifications?.message &&
"text-red-500",
"text-red-500",
)}
>
I agree to receive emails and text messages.
Expand All @@ -225,7 +232,7 @@ export const AccountCreation = () => {
className={tw(
"font-nunito text-[11px] font-light !leading-4",
errors.agreeTermsAndConditions?.message &&
"text-red-500",
"text-red-500",
)}
>
I have read and agree to the{" "}
Expand Down
5 changes: 4 additions & 1 deletion apps/eo_web/src/screens/ProfilingThankYou.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ export const ProfilingThankYou = () => {
</Typography>
</section>
<section className="bg-white px-6 py-12 md:px-[50px] md:py-[100px] ">
<Typography font="bold" variant="large" className="mb-20 text-center">
How eo care plans work
</Typography>
<EoCarousel>
{CarrouselItems.map(({ title, content, step, icon: Icon }) => (
<article
Expand Down Expand Up @@ -146,7 +149,7 @@ export const ProfilingThankYou = () => {
</div>
</div>
</section>
<section className="w-full bg-white px-6 py-12 md:px-[50px] md:py-[100px]">
<section className="hidden w-full bg-white px-6 py-12 md:px-[50px] md:py-[100px]">
<div className="flex flex-col items-center">
<Typography
font="bold"
Expand Down

0 comments on commit e1761ef

Please sign in to comment.