- Tampilan buat berita
- Tampilan dialog page buat proyek investasi
- Tampilan list edit beritq
- # No issue
fix:
- Perubahan minor
This commit is contained in:
2023-10-31 16:18:44 +08:00
parent a75f92c478
commit 54eae1bce3
38 changed files with 730 additions and 192 deletions

View File

@@ -15,7 +15,7 @@ export default function LayoutMainCrowd({
return (
<>
<AppShell
header={<HeaderTamplate route="/dev/home" title="Crowd Funding" />}
header={<HeaderTamplate route="/dev/home" title="HIPMI Crowd Funding" />}
>
{children}
</AppShell>

View File

@@ -2,27 +2,41 @@
import { Warna } from "@/app/lib/warna";
import { gs_investasiFooter } from "@/app_modules/investasi/g_state";
import { Button, Center, Stack, Text, Title } from "@mantine/core";
import {
AspectRatio,
Button,
Center,
Image,
Paper,
Stack,
Text,
Title,
} from "@mantine/core";
import { useAtom } from "jotai";
import { useRouter } from "next/navigation";
import toast from "react-simple-toasts";
export default function MainCrowd() {
const router = useRouter();
const [changeColor, setChangeColor] = useAtom(gs_investasiFooter)
const [changeColor, setChangeColor] = useAtom(gs_investasiFooter);
return (
<>
<Center>
<Stack>
<Text>Selamat datang di</Text>
<Text>HIPMI Crowd Funding</Text>
<Stack>
<Paper bg={"gray"}>
<AspectRatio ratio={16 / 9}>
<Image alt="" src={"/aset/logo.png"} />
</AspectRatio>
</Paper>
<Stack align="center">
<Button
w={300}
radius={50}
bg={Warna.hijau_tua}
color="green"
onClick={() => {
router.push("/dev/investasi/main")
setChangeColor(false)
router.push("/dev/investasi/main");
setChangeColor(false);
}}
>
Investasi
@@ -36,7 +50,8 @@ export default function MainCrowd() {
Donasi
</Button>
</Stack>
</Center>
</Stack>
</>
);
}

View File

@@ -13,10 +13,11 @@ export default function SplashCrowd() {
return (
<>
<Center h={"100vh"}>
<Stack>
<Text>Welcome to,</Text>
<Title>CrowdFunding</Title>
</Stack>
<Stack align="center" justify="center">
<Text>Welcome to,</Text>
<Title>HIPMI</Title>
<Title order={3}>CrowdFunding</Title>
</Stack>
</Center>
</>
);