Update Versi 1.5.27 #32
@@ -40,11 +40,15 @@ export default function ComponentGlobal_CreateButton({
|
||||
router.push(path);
|
||||
}}
|
||||
>
|
||||
{isLoading ? (
|
||||
{/* PAKE LOADING */}
|
||||
{/* {isLoading ? (
|
||||
<Loader color={AccentColor.blue} size={25} />
|
||||
) : (
|
||||
<IconPencilPlus color="white" />
|
||||
)}
|
||||
)} */}
|
||||
|
||||
{/* GA PAKE LOADING */}
|
||||
<IconPencilPlus color="white" />
|
||||
</ActionIcon>
|
||||
</>
|
||||
);
|
||||
|
||||
@@ -74,11 +74,15 @@ export default function MainCrowd() {
|
||||
</Grid.Col>
|
||||
<Grid.Col span={2}>
|
||||
<Stack h={"100%"} justify="center" align="center">
|
||||
{loadingInv ? (
|
||||
{/* PAKE LOADING */}
|
||||
{/* {loadingInv ? (
|
||||
<ComponentGlobal_Loader />
|
||||
) : (
|
||||
<IconChevronRight />
|
||||
)}
|
||||
)} */}
|
||||
|
||||
{/* GA PAKE LOADING */}
|
||||
<IconChevronRight />
|
||||
</Stack>
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
@@ -114,11 +118,15 @@ export default function MainCrowd() {
|
||||
</Grid.Col>
|
||||
<Grid.Col span={2}>
|
||||
<Stack h={"100%"} justify="center" align="center">
|
||||
{loadingDon ? (
|
||||
{/* PAKE LOADING */}
|
||||
{/* {loadingDon ? (
|
||||
<ComponentGlobal_Loader />
|
||||
) : (
|
||||
<IconChevronRight />
|
||||
)}
|
||||
)} */}
|
||||
|
||||
{/* GA PAKE LOADINGF */}
|
||||
<IconChevronRight />
|
||||
</Stack>
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
|
||||
@@ -1,23 +1,21 @@
|
||||
"use client";
|
||||
import { ComponentGlobal_CardLoadingOverlay, ComponentGlobal_CardStyles, ComponentGlobal_LoadImageCustom, } from "@/app_modules/_global/component";
|
||||
import { RouterDonasi } from "@/app/lib/router_hipmi/router_donasi";
|
||||
import { ComponentGlobal_CardStyles, ComponentGlobal_LoadImageCustom } from "@/app_modules/_global/component";
|
||||
import { Grid, Progress, Stack, Text } from "@mantine/core";
|
||||
import { useRouter } from "next/navigation";
|
||||
import { useState } from "react";
|
||||
import ComponentDonasi_TampilanHitungMundur from "../tampilan_hitung_mundur";
|
||||
import TampilanRupiahDonasi from "../tampilan_rupiah";
|
||||
|
||||
export default function ComponentDonasi_CardPublishNew({ data, path, }: { data: any; path: string; }) {
|
||||
export default function ComponentDonasi_CardPublishNew({ data }: { data: any; }) {
|
||||
const router = useRouter();
|
||||
const [visible, setVisible] = useState(false);
|
||||
const [donasiId, setDonasiId] = useState("");
|
||||
|
||||
return (
|
||||
<>
|
||||
<ComponentGlobal_CardStyles
|
||||
onClickHandler={() => {
|
||||
setVisible(true);
|
||||
setDonasiId(data.id);
|
||||
router.push(path + `${data.id}`);
|
||||
// DELSOON
|
||||
console.log(RouterDonasi.detail_main + `${data.id}`)
|
||||
router.push(RouterDonasi.detail_main + `${data.id}`)
|
||||
}}
|
||||
>
|
||||
<Stack>
|
||||
|
||||
@@ -121,10 +121,7 @@ export default function MainDonasiNew() {
|
||||
}}
|
||||
>
|
||||
{(item) => (
|
||||
<ComponentDonasi_CardPublishNew
|
||||
data={item as any}
|
||||
path={RouterDonasi.detail_main}
|
||||
/>
|
||||
<ComponentDonasi_CardPublishNew data={item as any} />
|
||||
)}
|
||||
</ScrollOnly>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user