small app store fixes (#2501)
* added new other illustration, fixed dialog styling * revert color change
This commit is contained in:
1 parent
5b90ace8cf
commit
25e4e28c2a
5 files changed
+74
-118
No files matched your search
@@ -82,18 +82,12 @@ export const ConfirmDialog = (props: IConfirmDialogWipe) => {
|
||||
return (
|
||||
<Dialog open={isOpenDialog} onOpenChange={setIsOpenDialog}>
|
||||
<DialogContent>
|
||||
<DialogClose asChild>
|
||||
<div className="fixed top-1 right-1 flex h-8 w-8 justify-center rounded-full hover:bg-gray-200">
|
||||
<XIcon className="w-4" />
|
||||
</div>
|
||||
</DialogClose>
|
||||
<div style={{ display: "flex", flexDirection: "row" }}>
|
||||
<div className="flex flex-row space-x-3">
|
||||
<div className="flex h-10 w-10 flex-shrink-0 justify-center rounded-full bg-[#FAFAFA]">
|
||||
<ClockIcon className="m-auto h-6 w-6"></ClockIcon>
|
||||
</div>
|
||||
<div className="px-4 pt-1">
|
||||
<div className="pt-1">
|
||||
<DialogHeader title={"Wipe My Calendar"} />
|
||||
|
||||
<p className="mt-2 text-sm text-gray-500">
|
||||
This will cancel all upcoming meetings from: <br />{" "}
|
||||
<strong className="text-black">
|
||||
@@ -101,28 +95,28 @@ export const ConfirmDialog = (props: IConfirmDialogWipe) => {
|
||||
</strong>
|
||||
</p>
|
||||
<p className="mt-6 mb-2 text-sm font-bold text-black">Are you sure? This can't be undone</p>
|
||||
|
||||
<DialogFooter>
|
||||
<DialogClose>
|
||||
<Button color="secondary">{t("cancel")}</Button>
|
||||
</DialogClose>
|
||||
<Button
|
||||
data-testid="send_request"
|
||||
disabled={isLoading}
|
||||
onClick={async () => {
|
||||
try {
|
||||
rescheduleApi.mutate();
|
||||
} catch (error) {
|
||||
if (error instanceof Error) {
|
||||
logger.error(error.message);
|
||||
}
|
||||
}
|
||||
}}>
|
||||
Confirm
|
||||
</Button>
|
||||
</DialogFooter>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<DialogFooter>
|
||||
<DialogClose>
|
||||
<Button color="secondary">{t("cancel")}</Button>
|
||||
</DialogClose>
|
||||
<Button
|
||||
data-testid="send_request"
|
||||
disabled={isLoading}
|
||||
onClick={async () => {
|
||||
try {
|
||||
rescheduleApi.mutate();
|
||||
} catch (error) {
|
||||
if (error instanceof Error) {
|
||||
logger.error(error.message);
|
||||
}
|
||||
}
|
||||
}}>
|
||||
{t("confirm")}
|
||||
</Button>
|
||||
</DialogFooter>
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
);
|
||||
|
||||
@@ -25,18 +25,18 @@ module.exports = {
|
||||
bookingdark: "var(--booking-dark-color)",
|
||||
bookingdarker: "var(--booking-darker-color)",
|
||||
bookinghighlight: "var(--booking-highlight-color)",
|
||||
black: "#000000",
|
||||
black: "#111111",
|
||||
gray: {
|
||||
50: "#F8F9FA",
|
||||
100: "#EEF0F2",
|
||||
200: "#DADDDF",
|
||||
300: "#C4C8CB",
|
||||
400: "#989EA4",
|
||||
500: "#6C757D",
|
||||
600: "#616971",
|
||||
700: "#51585E",
|
||||
800: "#41464B",
|
||||
900: "#35393D",
|
||||
50: "#F8F8F8",
|
||||
100: "#F5F5F5",
|
||||
200: "#E1E1E1",
|
||||
300: "#CFCFCF",
|
||||
400: "#ACACAC",
|
||||
500: "#888888",
|
||||
600: "#494949",
|
||||
700: "#3E3E3E",
|
||||
800: "#313131",
|
||||
900: "#292929",
|
||||
},
|
||||
neutral: {
|
||||
50: "#F8F8F8",
|
||||
|
||||
Reference in new issue
Block a user