style : add app

This commit is contained in:
lukman
2024-07-03 14:28:47 +08:00
parent c4c53547e9
commit b26f184b53
6 changed files with 57 additions and 13 deletions

View File

@@ -0,0 +1,14 @@
import LayoutNavbarHome from '@/module/_global/layout/layout_navbar_home';
import { ViewHome } from '@/module/home';
import { Flex, Group, Text } from '@mantine/core';
import React from 'react';
function Page() {
return (
<>
<ViewHome />
</>
);
}
export default Page;

View File

@@ -0,0 +1,6 @@
import { ViewVerification } from "@/module/auth";
import React from "react";
export default function Verification() {
return <ViewVerification />;
}

View File

@@ -0,0 +1,8 @@
import { ViewWelcome } from "@/module/auth";
import React from "react";
function Page() {
return <ViewWelcome />;
}
export default Page;

View File

@@ -1,12 +1,24 @@
import '@mantine/core/styles.css';
import { ColorSchemeScript, MantineProvider } from '@mantine/core';
import "@mantine/core/styles.css";
import {
Box,
ColorSchemeScript,
Container,
MantineProvider,
rem,
} from "@mantine/core";
import { WARNA } from "@/module/_global";
import { Lato } from "next/font/google";
export const metadata = {
title: 'My Mantine app',
description: 'I have followed setup instructions carefully',
title: "SISTEM DESA MANDIRI",
description: "I have followed setup instructions carefully",
};
const LatoFont = Lato({
subsets: ["latin"],
weight: ["300", "400", "700", "900"],
});
export default function RootLayout({
children,
}: {
@@ -17,9 +29,15 @@ export default function RootLayout({
<head>
<ColorSchemeScript />
</head>
<body>
<MantineProvider>{children}</MantineProvider>
<body className={`${LatoFont.className}`}>
<MantineProvider>
<Box bg={'#252A2F'}>
<Container h={"100vh"} p={0} size={rem(550)} bg={WARNA.bgWhite}>
{children}
</Container>
</Box>
</MantineProvider>
</body>
</html>
);
}
}

View File

@@ -1,12 +1,10 @@
import { Box, Text } from "@mantine/core";
import Image from "next/image";
import { ViewLogin } from "@/module/auth";
import { Box, Image, rem, Stack, Text } from "@mantine/core";
export default function Home() {
return (
<>
<Box>
<Text>AWAL BRANCH</Text>
</Box>
<ViewLogin/>
</>
);
}