Desc:
- Fitur config untuk error pada server di bagian .env PWD
- Fitur home dan tampilan menu
This commit is contained in:
2023-10-03 11:56:33 +08:00
parent fa46a3f055
commit 9a914bb513
9 changed files with 186 additions and 42 deletions

View File

@@ -0,0 +1,35 @@
"use client";
import { ActionIcon, AppShell, Flex, Group, Header, Text } from "@mantine/core";
import { HomeView } from ".";
import { IconUserSearch, IconAward, IconQrcode } from "@tabler/icons-react";
export default function HomeLayout({ children }: { children: any }) {
return (
<>
<AppShell
header={
<Header height={50} bg={"dark"}>
<Group position="apart" align="center" h={50} p={"sm"}>
<ActionIcon>
<IconUserSearch />
</ActionIcon>
<Text color="white" fw={"bold"}>
HIPMI
</Text>
<Flex justify={"flex-end"}>
<ActionIcon>
<IconAward />
</ActionIcon>
<ActionIcon>
<IconQrcode />
</ActionIcon>
</Flex>
</Group>
</Header>
}
>
{children}
</AppShell>
</>
);
}