fix di katalog, tambahan di event dan investasi
This commit is contained in:
@@ -3,7 +3,8 @@ export const MainColor = {
|
||||
darkblue: "#001D3D",
|
||||
yellow: "#E1B525",
|
||||
white: "#D4D0D0",
|
||||
red: "#C74E4E"
|
||||
red: "#C74E4E",
|
||||
orange: "#E58958"
|
||||
};
|
||||
|
||||
export const AccentColor = {
|
||||
|
||||
@@ -48,7 +48,7 @@ export default function ComponentGlobal_CreateButton({
|
||||
)} */}
|
||||
|
||||
{/* GA PAKE LOADING */}
|
||||
<IconPencilPlus color="white" />
|
||||
<IconPencilPlus color={MainColor.white} />
|
||||
</ActionIcon>
|
||||
</>
|
||||
);
|
||||
|
||||
@@ -9,6 +9,7 @@ import ComponentGlobal_Loader from "./loader";
|
||||
import { funGlobal_CheckProfile } from "../fun/get";
|
||||
import { RouterProfile } from "@/app/lib/router_hipmi/router_katalog";
|
||||
import { ComponentGlobal_NotifikasiPeringatan } from "../notif_global";
|
||||
import { MainColor } from "../color";
|
||||
|
||||
type IFontSize = "xs" | "sm" | "md" | "lg" | "xl";
|
||||
export function ComponentGlobal_AvatarAndUsername({
|
||||
@@ -60,6 +61,7 @@ export function ComponentGlobal_AvatarAndUsername({
|
||||
<Grid.Col span={"auto"} style={{ minHeight: 50 }}>
|
||||
<Stack justify="center" h={30}>
|
||||
<Text
|
||||
c={MainColor.white}
|
||||
fw={"bold"}
|
||||
fz={fontSize ? fontSize : "sm"}
|
||||
lineClamp={1}
|
||||
|
||||
@@ -33,7 +33,7 @@ export default function UIGlobal_Modal({
|
||||
}}
|
||||
>
|
||||
<Stack>
|
||||
<Title order={6} color="white" align="center">
|
||||
<Title order={6} color={MainColor.white} align="center">
|
||||
{title}
|
||||
</Title>
|
||||
<Group position="center">
|
||||
|
||||
@@ -2,16 +2,17 @@
|
||||
|
||||
import { Loader, Stack, ThemeIcon } from "@mantine/core";
|
||||
import UIGlobal_LayoutDefault from "./ui_layout_default";
|
||||
import { MainColor } from "../color";
|
||||
|
||||
export default function UIGlobal_SplashScreen({ icon }: { icon: any }) {
|
||||
return (
|
||||
<>
|
||||
<UIGlobal_LayoutDefault>
|
||||
<Stack h={"90vh"} align="center" justify="center" spacing={"xl"}>
|
||||
<ThemeIcon variant="transparent" size={300} c="white">
|
||||
<ThemeIcon variant="transparent" size={300} c={MainColor.white}>
|
||||
{icon}
|
||||
</ThemeIcon>
|
||||
<Loader variant="dots" color="white" />
|
||||
<Loader variant="dots" color={MainColor.white} />
|
||||
</Stack>
|
||||
</UIGlobal_LayoutDefault>
|
||||
</>
|
||||
|
||||
@@ -51,7 +51,7 @@ export default function MainCrowd() {
|
||||
border: `2px solid ${AccentColor.blue}`,
|
||||
borderRadius: "10px",
|
||||
backgroundColor: MainColor.darkblue,
|
||||
color: "white",
|
||||
color: MainColor.white,
|
||||
// color: "gray",
|
||||
}}
|
||||
onClick={() => {
|
||||
@@ -96,7 +96,7 @@ export default function MainCrowd() {
|
||||
border: `2px solid ${AccentColor.blue}`,
|
||||
borderRadius: "10px",
|
||||
backgroundColor: MainColor.darkblue,
|
||||
color: "white",
|
||||
color: MainColor.white,
|
||||
}}
|
||||
onClick={() => {
|
||||
setLoadingDon(true);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { AccentColor } from "@/app_modules/_global/color/color_pallet";
|
||||
import { AccentColor, MainColor } from "@/app_modules/_global/color/color_pallet";
|
||||
import {
|
||||
ComponentGlobal_CardLoadingOverlay,
|
||||
ComponentGlobal_CardStyles,
|
||||
@@ -33,17 +33,17 @@ export default function ComponentEvent_BoxListStatus({
|
||||
>
|
||||
<Stack>
|
||||
<Group w={"100%"} position="apart" grow>
|
||||
<Title order={5} lineClamp={1}>
|
||||
<Title color={MainColor.white} order={5} lineClamp={1}>
|
||||
{data.title}
|
||||
</Title>
|
||||
<Text align="right" fz={"sm"} lineClamp={1}>
|
||||
<Text c={MainColor.white} align="right" fz={"sm"} lineClamp={1}>
|
||||
{new Intl.DateTimeFormat("id-ID", {
|
||||
dateStyle: "medium",
|
||||
}).format(data.tanggal)}
|
||||
</Text>
|
||||
</Group>
|
||||
|
||||
<Text fz={"sm"} lineClamp={2}>
|
||||
<Text c={MainColor.white} fz={"sm"} lineClamp={2}>
|
||||
{data.deskripsi}
|
||||
</Text>
|
||||
</Stack>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { RouterEvent } from "@/app/lib/router_hipmi/router_event";
|
||||
import { MainColor } from "@/app_modules/_global/color";
|
||||
import {
|
||||
ComponentGlobal_AvatarAndUsername,
|
||||
ComponentGlobal_CardLoadingOverlay,
|
||||
@@ -31,7 +32,7 @@ export function ComponentEvent_CardBeranda({ data }: { data: any }) {
|
||||
}}
|
||||
>
|
||||
<Group w={"100%"} position="apart" grow>
|
||||
<Title order={5} lineClamp={1}>
|
||||
<Title c={MainColor.white} order={5} lineClamp={1}>
|
||||
{data.title}
|
||||
</Title>
|
||||
{/* <Text align="right" fz={"sm"} lineClamp={1}>
|
||||
@@ -41,7 +42,7 @@ export function ComponentEvent_CardBeranda({ data }: { data: any }) {
|
||||
</Text> */}
|
||||
</Group>
|
||||
|
||||
<Text fz={"sm"} lineClamp={2}>
|
||||
<Text c={MainColor.white} fz={"sm"} lineClamp={2}>
|
||||
{data.deskripsi}
|
||||
</Text>
|
||||
</Stack>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
import { ComponentGlobal_CardStyles } from "@/app_modules/_global/component";
|
||||
import { Grid, Stack, Text, Title } from "@mantine/core";
|
||||
import { MODEL_EVENT } from "../../model/interface";
|
||||
import { MainColor } from "@/app_modules/_global/color";
|
||||
|
||||
export default function ComponentEvent_DetailData({
|
||||
data,
|
||||
@@ -13,42 +14,42 @@ export default function ComponentEvent_DetailData({
|
||||
<>
|
||||
<ComponentGlobal_CardStyles marginBottom={"16px"}>
|
||||
<Stack px={"sm"} spacing={"xl"}>
|
||||
<Title lineClamp={2} align="center" w={"100%"} order={4}>
|
||||
<Title color={MainColor.white} lineClamp={2} align="center" w={"100%"} order={4}>
|
||||
{data ? data?.title : null}
|
||||
</Title>
|
||||
<Grid>
|
||||
<Grid.Col span={4}>
|
||||
<Text fw={"bold"}>Lokasi</Text>
|
||||
<Text c={MainColor.white} fw={"bold"}>Lokasi</Text>
|
||||
</Grid.Col>
|
||||
<Grid.Col span={1}>:</Grid.Col>
|
||||
<Grid.Col span={"auto"}>
|
||||
<Text>{data ? data?.lokasi : null}</Text>
|
||||
<Text c={MainColor.white}>{data ? data?.lokasi : null}</Text>
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
<Grid>
|
||||
<Grid.Col span={4}>
|
||||
<Text fw={"bold"}>Tipe Acara</Text>
|
||||
<Text c={MainColor.white} fw={"bold"}>Tipe Acara</Text>
|
||||
</Grid.Col>
|
||||
<Grid.Col span={1}>:</Grid.Col>
|
||||
<Grid.Col span={"auto"}>
|
||||
<Text>{data ? data.EventMaster_TipeAcara?.name : null}</Text>
|
||||
<Text c={MainColor.white}>{data ? data.EventMaster_TipeAcara?.name : null}</Text>
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
<Stack spacing={"xs"}>
|
||||
<Text fw={"bold"}>Tanggal & Waktu</Text>
|
||||
<Text c={MainColor.white} fw={"bold"}>Tanggal & Waktu</Text>
|
||||
<Grid>
|
||||
<Grid.Col span={4}>
|
||||
<Text fw={"bold"}>Mulai</Text>
|
||||
<Text c={MainColor.white} fw={"bold"}>Mulai</Text>
|
||||
</Grid.Col>
|
||||
<Grid.Col span={1}>:</Grid.Col>
|
||||
<Grid.Col span={"auto"}>
|
||||
<Text>
|
||||
<Text c={MainColor.white}>
|
||||
{" "}
|
||||
{new Intl.DateTimeFormat("id-ID", {
|
||||
dateStyle: "full",
|
||||
}).format(data?.tanggal)}
|
||||
,{" "}
|
||||
<Text span inherit>
|
||||
<Text span inherit c={MainColor.white}>
|
||||
{new Intl.DateTimeFormat("id-ID", {
|
||||
timeStyle: "short",
|
||||
}).format(data?.tanggal)}
|
||||
@@ -58,17 +59,17 @@ export default function ComponentEvent_DetailData({
|
||||
</Grid>
|
||||
<Grid>
|
||||
<Grid.Col span={4}>
|
||||
<Text fw={"bold"}>Selesai</Text>
|
||||
<Text c={MainColor.white} fw={"bold"}>Selesai</Text>
|
||||
</Grid.Col>
|
||||
<Grid.Col span={1}>:</Grid.Col>
|
||||
<Grid.Col span={"auto"}>
|
||||
<Text>
|
||||
<Text c={MainColor.white}>
|
||||
{" "}
|
||||
{new Intl.DateTimeFormat("id-ID", {
|
||||
dateStyle: "full",
|
||||
}).format(data?.tanggalSelesai)}
|
||||
,{" "}
|
||||
<Text span inherit>
|
||||
<Text span inherit c={MainColor.white}>
|
||||
{new Intl.DateTimeFormat("id-ID", {
|
||||
timeStyle: "short",
|
||||
}).format(data?.tanggalSelesai)}
|
||||
@@ -79,8 +80,8 @@ export default function ComponentEvent_DetailData({
|
||||
</Stack>
|
||||
|
||||
<Stack spacing={2}>
|
||||
<Text fw={"bold"}>Deskripsi</Text>
|
||||
<Text>{data ? data?.deskripsi : null}</Text>
|
||||
<Text c={MainColor.white} fw={"bold"}>Deskripsi</Text>
|
||||
<Text c={MainColor.white}>{data ? data?.deskripsi : null}</Text>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</ComponentGlobal_CardStyles>
|
||||
|
||||
@@ -12,6 +12,7 @@ import { API_RouteEvent } from "@/app/lib/api_user_router/route_api_event";
|
||||
import { Event_ComponentSkeletonDetail } from "../skeleton/comp_skeleton_detail";
|
||||
import moment from "moment";
|
||||
import "moment/locale/id";
|
||||
import { MainColor } from "@/app_modules/_global/color";
|
||||
|
||||
export default function ComponentEvent_DetailMainData({
|
||||
eventId,
|
||||
@@ -44,37 +45,37 @@ export default function ComponentEvent_DetailMainData({
|
||||
/>
|
||||
|
||||
<Stack spacing={"xl"}>
|
||||
<Title align="center" order={4}>
|
||||
<Title color={MainColor.white} align="center" order={4}>
|
||||
{data ? data.title : null}
|
||||
</Title>
|
||||
<Grid>
|
||||
<Grid.Col span={4}>
|
||||
<Text fw={"bold"}>Lokasi</Text>
|
||||
<Text c={MainColor.white} fw={"bold"}>Lokasi</Text>
|
||||
</Grid.Col>
|
||||
<Grid.Col span={1}>:</Grid.Col>
|
||||
<Grid.Col span={"auto"}>
|
||||
<Text>{data ? data.lokasi : null}</Text>
|
||||
<Text c={MainColor.white}>{data ? data.lokasi : null}</Text>
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
<Grid>
|
||||
<Grid.Col span={4}>
|
||||
<Text fw={"bold"}>Tipe Acara</Text>
|
||||
<Text c={MainColor.white} fw={"bold"}>Tipe Acara</Text>
|
||||
</Grid.Col>
|
||||
<Grid.Col span={1}>:</Grid.Col>
|
||||
<Grid.Col span={"auto"}>
|
||||
<Text>{data ? data.EventMaster_TipeAcara.name : null}</Text>
|
||||
<Text c={MainColor.white}>{data ? data.EventMaster_TipeAcara.name : null}</Text>
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
|
||||
<Stack spacing={"xs"}>
|
||||
<Text fw={"bold"}>Tanggal & Waktu</Text>
|
||||
<Text c={MainColor.white} fw={"bold"}>Tanggal & Waktu</Text>
|
||||
<Grid>
|
||||
<Grid.Col span={4}>
|
||||
<Text fw={"bold"}>Mulai</Text>
|
||||
<Text c={MainColor.white} fw={"bold"}>Mulai</Text>
|
||||
</Grid.Col>
|
||||
<Grid.Col span={1}>:</Grid.Col>
|
||||
<Grid.Col span={"auto"}>
|
||||
<Text>
|
||||
<Text c={MainColor.white}>
|
||||
{moment(
|
||||
data.tanggal?.toLocaleString("id-ID", {
|
||||
dateStyle: "full",
|
||||
@@ -85,11 +86,11 @@ export default function ComponentEvent_DetailMainData({
|
||||
</Grid>
|
||||
<Grid>
|
||||
<Grid.Col span={4}>
|
||||
<Text fw={"bold"}>Selesai</Text>
|
||||
<Text c={MainColor.white} fw={"bold"}>Selesai</Text>
|
||||
</Grid.Col>
|
||||
<Grid.Col span={1}>:</Grid.Col>
|
||||
<Grid.Col span={"auto"}>
|
||||
<Text>
|
||||
<Text c={MainColor.white}>
|
||||
{moment(
|
||||
data.tanggalSelesai?.toLocaleString("id-ID", {
|
||||
dateStyle: "full",
|
||||
@@ -101,8 +102,8 @@ export default function ComponentEvent_DetailMainData({
|
||||
</Stack>
|
||||
|
||||
<Stack spacing={2}>
|
||||
<Text fw={"bold"}>Deskripsi</Text>
|
||||
<Text>{data ? data?.deskripsi : null}</Text>
|
||||
<Text c={MainColor.white} fw={"bold"}>Deskripsi</Text>
|
||||
<Text c={MainColor.white}>{data ? data?.deskripsi : null}</Text>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Stack>
|
||||
|
||||
@@ -34,6 +34,7 @@ import { API_RouteEvent } from "@/app/lib/api_user_router/route_api_event";
|
||||
import Event_ComponentSkeletonListPeserta from "../skeleton/comp_skeleton_list_peserta";
|
||||
import { ScrollOnly } from "next-scroll-loader";
|
||||
import { event_newGetListPesertaById } from "../../fun";
|
||||
import { MainColor } from "@/app_modules/_global/color";
|
||||
|
||||
export default function ComponentEvent_ListPeserta({
|
||||
total,
|
||||
@@ -74,12 +75,12 @@ export default function ComponentEvent_ListPeserta({
|
||||
<ComponentGlobal_CardStyles>
|
||||
<Stack spacing={"md"} px={"sm"}>
|
||||
<Center>
|
||||
<Title order={5}>Daftar Peserta ({total})</Title>
|
||||
<Title color={MainColor.white} order={5}>Daftar Peserta ({total})</Title>
|
||||
</Center>
|
||||
|
||||
{_.isEmpty(data) ? (
|
||||
<Center>
|
||||
<Text fz={"xs"} fw={"bold"}>
|
||||
<Text c={MainColor.white} fz={"xs"} fw={"bold"}>
|
||||
- Tidak ada peserta -
|
||||
</Text>
|
||||
</Center>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { ComponentGlobal_CardStyles } from "@/app_modules/_global/component";
|
||||
import { Stack, Center, Skeleton, Grid } from "@mantine/core";
|
||||
import CustomSkeleton from "@/app_modules/components/CustomSkeleton";
|
||||
import { Center, Grid, Stack } from "@mantine/core";
|
||||
|
||||
export default function Event_ComponentSkeletonListPeserta() {
|
||||
return (
|
||||
@@ -7,20 +8,20 @@ export default function Event_ComponentSkeletonListPeserta() {
|
||||
<ComponentGlobal_CardStyles>
|
||||
<Stack spacing={"lg"}>
|
||||
<Center>
|
||||
<Skeleton height={20} width={"50%"} />
|
||||
<CustomSkeleton height={20} width={"50%"} />
|
||||
</Center>
|
||||
|
||||
<Stack>
|
||||
{Array.from(new Array(3)).map((e, i) => (
|
||||
<Grid key={i} align="center">
|
||||
<Grid.Col span={"content"}>
|
||||
<Skeleton radius={"100%"} h={30} w={30} />
|
||||
<CustomSkeleton radius={"100%"} h={30} w={30} />
|
||||
</Grid.Col>
|
||||
<Grid.Col span={"auto"}>
|
||||
<Skeleton h={20} w={"50%"} />
|
||||
<CustomSkeleton h={20} w={"50%"} />
|
||||
</Grid.Col>
|
||||
<Grid.Col span={2}>
|
||||
<Skeleton h={20} w={"50%"} />
|
||||
<CustomSkeleton h={20} w={"50%"} />
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
))}
|
||||
|
||||
@@ -15,6 +15,7 @@ import moment from "moment";
|
||||
import { useState } from "react";
|
||||
import { Event_ComponentCreateButton } from "../component";
|
||||
import ComponentEvent_ErrorMaximalInput from "../component/error_maksimal_input";
|
||||
import { MainColor } from "@/app_modules/_global/color";
|
||||
|
||||
export default function Event_Create({
|
||||
listTipeAcara,
|
||||
@@ -47,8 +48,14 @@ export default function Event_Create({
|
||||
<TextInput
|
||||
styles={{
|
||||
label: {
|
||||
color: "white",
|
||||
color: MainColor.white,
|
||||
},
|
||||
required: {
|
||||
color: MainColor.red,
|
||||
},
|
||||
input: {
|
||||
backgroundColor: MainColor.white,
|
||||
}
|
||||
}}
|
||||
label="Judul"
|
||||
placeholder="Masukan judul"
|
||||
@@ -64,8 +71,14 @@ export default function Event_Create({
|
||||
<Select
|
||||
styles={{
|
||||
label: {
|
||||
color: "white",
|
||||
color: MainColor.white,
|
||||
},
|
||||
required: {
|
||||
color: MainColor.red,
|
||||
},
|
||||
input: {
|
||||
backgroundColor: MainColor.white,
|
||||
}
|
||||
}}
|
||||
withAsterisk
|
||||
label="Tipe Acara"
|
||||
@@ -85,8 +98,14 @@ export default function Event_Create({
|
||||
<TextInput
|
||||
styles={{
|
||||
label: {
|
||||
color: "white",
|
||||
color: MainColor.white,
|
||||
},
|
||||
required: {
|
||||
color: MainColor.red,
|
||||
},
|
||||
input: {
|
||||
backgroundColor: MainColor.white,
|
||||
}
|
||||
}}
|
||||
label="Lokasi"
|
||||
placeholder="Masukan lokasi acara"
|
||||
@@ -104,8 +123,14 @@ export default function Event_Create({
|
||||
<DateTimePicker
|
||||
styles={{
|
||||
label: {
|
||||
color: "white",
|
||||
color: MainColor.white,
|
||||
},
|
||||
required: {
|
||||
color: MainColor.red,
|
||||
},
|
||||
input: {
|
||||
backgroundColor: MainColor.white,
|
||||
}
|
||||
}}
|
||||
excludeDate={(date) => {
|
||||
return moment(date).diff(Date.now(), "days") < 0;
|
||||
@@ -144,8 +169,14 @@ export default function Event_Create({
|
||||
<DateTimePicker
|
||||
styles={{
|
||||
label: {
|
||||
color: "white",
|
||||
color: MainColor.white,
|
||||
},
|
||||
required: {
|
||||
color: MainColor.red,
|
||||
},
|
||||
input: {
|
||||
backgroundColor: MainColor.white,
|
||||
}
|
||||
}}
|
||||
excludeDate={(date) => {
|
||||
return moment(date).diff(Date.now(), "days") < 0;
|
||||
@@ -187,8 +218,14 @@ export default function Event_Create({
|
||||
<Textarea
|
||||
styles={{
|
||||
label: {
|
||||
color: "white",
|
||||
color: MainColor.white,
|
||||
},
|
||||
required: {
|
||||
color: MainColor.red,
|
||||
},
|
||||
input: {
|
||||
backgroundColor: MainColor.white,
|
||||
}
|
||||
}}
|
||||
label="Deskripsi"
|
||||
placeholder="Deskripsikan acara yang akan di selenggarakan"
|
||||
|
||||
@@ -70,7 +70,7 @@ export default function LayoutEvent_Main({
|
||||
<ActionIcon
|
||||
// disabled={e.path === "" ? true : false}
|
||||
variant="transparent"
|
||||
c={hotMenu === i ? MainColor.yellow : "white"}
|
||||
c={hotMenu === i ? MainColor.yellow : MainColor.white}
|
||||
onClick={() =>
|
||||
e.path === ""
|
||||
? ComponentGlobal_NotifikasiPeringatan("Cooming Soon")
|
||||
@@ -80,7 +80,7 @@ export default function LayoutEvent_Main({
|
||||
{e.icon}
|
||||
</ActionIcon>
|
||||
<Text
|
||||
c={hotMenu === i ? MainColor.yellow : "white"}
|
||||
c={hotMenu === i ? MainColor.yellow : MainColor.white}
|
||||
fz={"xs"}
|
||||
lineClamp={1}
|
||||
>
|
||||
|
||||
@@ -71,11 +71,11 @@ export default function Event_Riwayat({
|
||||
style={{
|
||||
transition: "0.5s",
|
||||
backgroundColor:
|
||||
changeStatus === e.id ? MainColor.yellow : "white",
|
||||
changeStatus === e.id ? MainColor.yellow : MainColor.white,
|
||||
border:
|
||||
changeStatus === e.id
|
||||
? `1px solid ${AccentColor.yellow}`
|
||||
: `1px solid white`,
|
||||
: `1px solid ${MainColor.white}`,
|
||||
}}
|
||||
>
|
||||
{e.label}
|
||||
|
||||
@@ -61,7 +61,7 @@ export default function Event_StatusPage({
|
||||
style={{
|
||||
transition: "0.5s",
|
||||
backgroundColor:
|
||||
changeStatus === e.id ? MainColor.yellow : "white",
|
||||
changeStatus === e.id ? MainColor.yellow : MainColor.white,
|
||||
border:
|
||||
changeStatus === e.id
|
||||
? `1px solid ${AccentColor.yellow}`
|
||||
|
||||
@@ -30,7 +30,7 @@ export function Investasi_ComponentCardBerandaNew({ data }: { data: IDataInvesta
|
||||
</Grid.Col>
|
||||
<Grid.Col span={6}>
|
||||
<Stack>
|
||||
<Text fw={"bold"} align="center" lineClamp={2}>
|
||||
<Text c={MainColor.white} fw={"bold"} align="center" lineClamp={2}>
|
||||
{data?.title}
|
||||
</Text>
|
||||
|
||||
@@ -40,6 +40,7 @@ export function Investasi_ComponentCardBerandaNew({ data }: { data: IDataInvesta
|
||||
color={MainColor.yellow}
|
||||
size="xl"
|
||||
radius="xl"
|
||||
style={{ backgroundColor: MainColor.white }}
|
||||
styles={{
|
||||
label: { color: MainColor.black },
|
||||
}}
|
||||
@@ -84,15 +85,15 @@ export function Investasi_ComponentCardBerandaNew({ data }: { data: IDataInvesta
|
||||
</Group>
|
||||
) : (
|
||||
<Group position="right" spacing={"xs"}>
|
||||
<Text truncate>Sisa waktu:</Text>
|
||||
<Text truncate>
|
||||
<Text c={MainColor.white} truncate>Sisa waktu:</Text>
|
||||
<Text c={MainColor.white} truncate>
|
||||
{Number(data?.pencarianInvestor) -
|
||||
moment(new Date()).diff(
|
||||
new Date(data?.countDown),
|
||||
"days"
|
||||
)}
|
||||
</Text>
|
||||
<Text truncate>Hari</Text>
|
||||
<Text c={MainColor.white} truncate>Hari</Text>
|
||||
</Group>
|
||||
)}
|
||||
</Box>
|
||||
|
||||
@@ -53,7 +53,7 @@ export function Investasi_ComponentFooterMain() {
|
||||
<ActionIcon
|
||||
// disabled={e.path === "" ? true : false}
|
||||
variant="transparent"
|
||||
c={hotMenu === i ? MainColor.yellow : "white"}
|
||||
c={hotMenu === i ? MainColor.yellow : MainColor.white}
|
||||
onClick={() => {
|
||||
router.push(e.route, { scroll: false });
|
||||
setHotMenu(i);
|
||||
@@ -62,7 +62,7 @@ export function Investasi_ComponentFooterMain() {
|
||||
{e.icon}
|
||||
</ActionIcon>
|
||||
<Text
|
||||
c={hotMenu === i ? MainColor.yellow : "white"}
|
||||
c={hotMenu === i ? MainColor.yellow : MainColor.white}
|
||||
fz={"xs"}
|
||||
lineClamp={1}
|
||||
>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { ComponentGlobal_CardStyles } from "@/app_modules/_global/component";
|
||||
import { Box, Grid, Skeleton } from "@mantine/core";
|
||||
import CustomSkeleton from "@/app_modules/components/CustomSkeleton";
|
||||
import { Box, Grid } from "@mantine/core";
|
||||
|
||||
export default function SkeletonInvestasiBursa() {
|
||||
return (
|
||||
@@ -8,7 +9,7 @@ export default function SkeletonInvestasiBursa() {
|
||||
<ComponentGlobal_CardStyles key={index}>
|
||||
<Grid>
|
||||
<Grid.Col span={6}>
|
||||
<Skeleton w={"100%"} height={100} radius="md" />
|
||||
<CustomSkeleton w={"100%"} height={100} radius="md" />
|
||||
</Grid.Col>
|
||||
<Grid.Col span={6}>
|
||||
<Box>
|
||||
@@ -16,7 +17,7 @@ export default function SkeletonInvestasiBursa() {
|
||||
<Box key={i} py={5}>
|
||||
<Grid align="center">
|
||||
<Grid.Col span={12}>
|
||||
<Skeleton w={"100%"} h={23} />
|
||||
<CustomSkeleton w={"100%"} h={23} />
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
</Box>
|
||||
|
||||
@@ -34,7 +34,7 @@ export function ComponentPortofolio_DaftarBoxView({
|
||||
>
|
||||
<Group position="apart">
|
||||
<Stack spacing={0} w={"80%"}>
|
||||
<Text fw={"bold"} lineClamp={1} w={"80%"}>
|
||||
<Text c={MainColor.white} fw={"bold"} lineClamp={1} w={"80%"}>
|
||||
{data?.namaBisnis}
|
||||
</Text>
|
||||
<Text fz={10} c={MainColor.yellow}>
|
||||
@@ -52,7 +52,7 @@ export function ComponentPortofolio_DaftarBoxView({
|
||||
|
||||
|
||||
{/* GA PAKE LOADING */}
|
||||
<IconCaretRight color="white" size={25} />
|
||||
<IconCaretRight color={MainColor.white} size={25} />
|
||||
</Stack>
|
||||
</Group>
|
||||
</Paper>
|
||||
|
||||
Reference in New Issue
Block a user