fix event

deskripsi:
- mengubah tampilan text biasa ke html view
- menambahkan text editor pada create & edit
This commit is contained in:
2025-04-28 16:14:15 +08:00
parent 48150f789c
commit 22dc70fb27
20 changed files with 277 additions and 275 deletions

View File

@@ -1,5 +1,5 @@
import { MainColor } from "@/app_modules/_global/color";
import { Grid, Text } from "@mantine/core";
import { Grid, Paper, Text } from "@mantine/core";
export function Admin_V3_ComponentDetail({
item,
@@ -8,17 +8,22 @@ export function Admin_V3_ComponentDetail({
}) {
return (
<>
<Grid m={0} bg={MainColor.soft_darkblue}>
<Grid.Col lg={3} md={3} sm={3} xs={3} span={4}>
<Text fw={"bold"}>{item.title || item.label}</Text>
</Grid.Col>
<Paper
bg={MainColor.soft_darkblue}
style={{
color: MainColor.white,
}}
>
<Grid m={0}>
<Grid.Col lg={3} md={3} sm={3} xs={3} span={4}>
<Text fw={"bold"}>{item.title || item.label}</Text>
</Grid.Col>
<Grid.Col span={"auto"}>
<Text>
{item.value}
</Text>
</Grid.Col>
</Grid>
<Grid.Col span={"auto"}>
<Text>{item.value}</Text>
</Grid.Col>
</Grid>
</Paper>
</>
);
}