Add: - screens/Admin/Donation/funDonationUpdateStatus.ts - utils/countDownAndCondition.ts Fix: - app/(application)/(user)/donation/[id]/index.tsx - app/(application)/admin/donation/[id]/[status]/index.tsx - app/(application)/admin/donation/[id]/list-of-donatur.tsx - app/(application)/admin/donation/[id]/reject-input.tsx - app/(application)/admin/donation/index.tsx - app/(application)/admin/event/[id]/[status]/index.tsx - app/(application)/admin/voting/[id]/[status]/index.tsx - screens/Admin/Donation/BoxOfDonationStory.tsx - screens/Donation/BoxPublish.tsx - screens/Donation/ComponentBoxDetailData.tsx - service/api-admin/api-admin-donation.ts - service/api-client/api-master.ts - utils/colorBadge.ts git add . && git commit -m
29 lines
592 B
TypeScript
29 lines
592 B
TypeScript
import {
|
|
BaseBox,
|
|
TextCustom,
|
|
Spacing,
|
|
StackCustom,
|
|
DummyLandscapeImage,
|
|
} from "@/components";
|
|
|
|
export default function AdminDonation_BoxOfDonationStory({
|
|
data,
|
|
}: {
|
|
data: any;
|
|
}) {
|
|
return (
|
|
<>
|
|
<BaseBox>
|
|
<TextCustom bold>Cerita Penggalang Dana</TextCustom>
|
|
<Spacing />
|
|
|
|
<StackCustom>
|
|
<TextCustom>{(data && data?.pembukaan) || "-"}</TextCustom>
|
|
<DummyLandscapeImage imageId={data?.imageId || "-"} />
|
|
<TextCustom>{(data && data?.cerita) || "-"}</TextCustom>
|
|
</StackCustom>
|
|
</BaseBox>
|
|
</>
|
|
);
|
|
}
|