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 { 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>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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/>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user