feat:
- Tampilan buat berita - Tampilan dialog page buat proyek investasi - Tampilan list edit beritq - # No issue fix: - Perubahan minor
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user