#Job admin
- Tampilan user done - Tampilan admin done git commit -m
This commit is contained in:
@@ -3,7 +3,7 @@ import { notifications } from "@mantine/notifications";
|
||||
import { IconAlertTriangle } from "@tabler/icons-react";
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @param text | masukan text untuk peringatan
|
||||
* @type string
|
||||
* @returns notifikasi peringatan
|
||||
@@ -18,13 +18,23 @@ export async function ComponentGlobal_NotifikasiPeringatan(
|
||||
<Text fw={"bold"}>{text}</Text>
|
||||
</Center>
|
||||
),
|
||||
color: "yellow.3",
|
||||
color: "yellow.1",
|
||||
radius: "md",
|
||||
autoClose: durasi ? durasi : 1000,
|
||||
style: {
|
||||
borderWidth: "0.5px",
|
||||
borderStyle: "solid",
|
||||
borderColor: "red"
|
||||
|
||||
|
||||
},
|
||||
|
||||
icon: (
|
||||
<ActionIcon radius={"xl"} bg={"white"} p={3}>
|
||||
<IconAlertTriangle color="red" />
|
||||
<ActionIcon variant="transparent" radius={"xl"} p={3}>
|
||||
<IconAlertTriangle
|
||||
color="red"
|
||||
style={{ backgroundColor: "transparent" }}
|
||||
/>
|
||||
</ActionIcon>
|
||||
),
|
||||
withCloseButton: false,
|
||||
@@ -32,7 +42,7 @@ export async function ComponentGlobal_NotifikasiPeringatan(
|
||||
styles: (theme) => ({
|
||||
description: { color: theme.white },
|
||||
root: {
|
||||
backgroundColor: theme.colors.yellow[7],
|
||||
backgroundColor: theme.colors.orange[5],
|
||||
},
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user