style : add app
This commit is contained in:
14
src/app/(application)/home/page.tsx
Normal file
14
src/app/(application)/home/page.tsx
Normal 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;
|
||||||
6
src/app/(auth)/verification/page.tsx
Normal file
6
src/app/(auth)/verification/page.tsx
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
import { ViewVerification } from "@/module/auth";
|
||||||
|
import React from "react";
|
||||||
|
|
||||||
|
export default function Verification() {
|
||||||
|
return <ViewVerification />;
|
||||||
|
}
|
||||||
8
src/app/(auth)/welcome/page.tsx
Normal file
8
src/app/(auth)/welcome/page.tsx
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
import { ViewWelcome } from "@/module/auth";
|
||||||
|
import React from "react";
|
||||||
|
|
||||||
|
function Page() {
|
||||||
|
return <ViewWelcome />;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Page;
|
||||||
@@ -1,12 +1,24 @@
|
|||||||
import '@mantine/core/styles.css';
|
import "@mantine/core/styles.css";
|
||||||
|
import {
|
||||||
import { ColorSchemeScript, MantineProvider } from '@mantine/core';
|
Box,
|
||||||
|
ColorSchemeScript,
|
||||||
|
Container,
|
||||||
|
MantineProvider,
|
||||||
|
rem,
|
||||||
|
} from "@mantine/core";
|
||||||
|
import { WARNA } from "@/module/_global";
|
||||||
|
import { Lato } from "next/font/google";
|
||||||
|
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
title: 'My Mantine app',
|
title: "SISTEM DESA MANDIRI",
|
||||||
description: 'I have followed setup instructions carefully',
|
description: "I have followed setup instructions carefully",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const LatoFont = Lato({
|
||||||
|
subsets: ["latin"],
|
||||||
|
weight: ["300", "400", "700", "900"],
|
||||||
|
});
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: {
|
}: {
|
||||||
@@ -17,9 +29,15 @@ export default function RootLayout({
|
|||||||
<head>
|
<head>
|
||||||
<ColorSchemeScript />
|
<ColorSchemeScript />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body className={`${LatoFont.className}`}>
|
||||||
<MantineProvider>{children}</MantineProvider>
|
<MantineProvider>
|
||||||
|
<Box bg={'#252A2F'}>
|
||||||
|
<Container h={"100vh"} p={0} size={rem(550)} bg={WARNA.bgWhite}>
|
||||||
|
{children}
|
||||||
|
</Container>
|
||||||
|
</Box>
|
||||||
|
</MantineProvider>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,12 +1,10 @@
|
|||||||
import { Box, Text } from "@mantine/core";
|
import { ViewLogin } from "@/module/auth";
|
||||||
import Image from "next/image";
|
import { Box, Image, rem, Stack, Text } from "@mantine/core";
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Box>
|
<ViewLogin/>
|
||||||
<Text>AWAL BRANCH</Text>
|
|
||||||
</Box>
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user