fix di katalog, tambahan di event dan investasi

This commit is contained in:
2024-12-27 17:11:44 +08:00
parent b467aedece
commit 3ae83c01ea
20 changed files with 116 additions and 68 deletions

View File

@@ -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>

View File

@@ -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}
>

View File

@@ -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>