Add All Skeleton Except Collaboration

This commit is contained in:
2024-12-30 17:37:44 +08:00
parent 82a55d7148
commit a74a32b422
55 changed files with 305 additions and 219 deletions

View File

@@ -4,7 +4,8 @@ export const MainColor = {
yellow: "#E1B525",
white: "#D4D0D0",
red: "#C74E4E",
orange: "#E58958"
orange: "#E58958",
green: "#468A56"
};
export const AccentColor = {

View File

@@ -1,4 +1,4 @@
import { AccentColor } from "@/app_modules/_global/color";
import { AccentColor, MainColor } from "@/app_modules/_global/color";
import { Card } from "@mantine/core";
import React from "react";
@@ -30,7 +30,7 @@ export function ComponentGlobal_CardStyles({
paddingInline: "16px",
paddingBlock: "16px",
borderRadius: "10px",
color: color ? color : "white",
color: color ? color : MainColor.white,
height: height ? height : "auto",
marginBottom: marginBottom ? marginBottom : "15px",
}}

View File

@@ -1,4 +1,5 @@
import { Group, Text } from "@mantine/core";
import { MainColor } from "../color";
export default function ComponentGlobal_TampilanAngkaRatusan({
nominal,
@@ -32,7 +33,7 @@ export default function ComponentGlobal_TampilanAngkaRatusan({
fw={fontWeight ? fontWeight : "bold"}
fz={fontSize ? fontSize : "md"}
style={{
color: color ? color : "white",
color: color ? color : MainColor.white,
}}
>
{new Intl.NumberFormat("id-ID", { maximumFractionDigits: 10 }).format(
@@ -43,6 +44,9 @@ export default function ComponentGlobal_TampilanAngkaRatusan({
<Text
fw={fontWeight ? fontWeight : "bold"}
fz={fontSize ? fontSize : "md"}
style={{
color: color ? color : MainColor.white,
}}
>
{textAfter}
</Text>

View File

@@ -1,4 +1,5 @@
import { Text } from "@mantine/core";
import { MainColor } from "../color";
export default function ComponentGlobal_TampilanRupiah({
nominal,
@@ -17,7 +18,7 @@ export default function ComponentGlobal_TampilanRupiah({
fw={fontWeight ? fontWeight : "bold"}
fz={fontSize ? fontSize : "md"}
style={{
color: color ? color : "white",
color: color ? color : MainColor.white,
}}
>
Rp.{" "}

View File

@@ -64,7 +64,7 @@ export default function UIGlobal_Drawer({
borderRight: `1px solid ${AccentColor.blue}`,
borderLeft: `1px solid ${AccentColor.blue}`,
borderRadius: "20px 20px 0px 0px",
color: "white",
color: MainColor.white,
paddingBottom: "5%",
},
}}
@@ -86,7 +86,7 @@ export default function UIGlobal_Drawer({
>
<ActionIcon
variant="transparent"
c="white"
c={MainColor.white}
>
{/* PAKE LOADING */}
{/* {isLoading && e?.id === pageId ? (