tambah division api index
This commit is contained in:
9
src/app/(application)/announcement/[id]/page.tsx
Normal file
9
src/app/(application)/announcement/[id]/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ViewDetailAnnouncement } from "@/module/announcement";
|
||||
|
||||
function Page({ params }: { params: { id: string } }) {
|
||||
return (
|
||||
<ViewDetailAnnouncement data={params.id} />
|
||||
)
|
||||
}
|
||||
|
||||
export default Page;
|
||||
9
src/app/(application)/announcement/create/page.tsx
Normal file
9
src/app/(application)/announcement/create/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ViewCreateAnnouncement } from "@/module/announcement";
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<ViewCreateAnnouncement />
|
||||
)
|
||||
}
|
||||
|
||||
export default Page;
|
||||
9
src/app/(application)/announcement/edit/[id]/page.tsx
Normal file
9
src/app/(application)/announcement/edit/[id]/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ViewEditAnnouncement } from "@/module/announcement";
|
||||
|
||||
function Page({ params }: { params: { id: any } }) {
|
||||
return (
|
||||
<ViewEditAnnouncement data={params.id} />
|
||||
)
|
||||
}
|
||||
|
||||
export default Page;
|
||||
9
src/app/(application)/announcement/page.tsx
Normal file
9
src/app/(application)/announcement/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ViewListAnnouncement } from "@/module/announcement";
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<ViewListAnnouncement/>
|
||||
)
|
||||
}
|
||||
|
||||
export default Page;
|
||||
10
src/app/(application)/group/page.tsx
Normal file
10
src/app/(application)/group/page.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { ViewGroup } from '@/module/group';
|
||||
import React from 'react';
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<ViewGroup />
|
||||
);
|
||||
}
|
||||
|
||||
export default Page;
|
||||
10
src/app/(application)/member/[id]/page.tsx
Normal file
10
src/app/(application)/member/[id]/page.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { ViewDetailMember } from "@/module/user/member";
|
||||
|
||||
function Page({ params }: { params: { id: string } }) {
|
||||
return (
|
||||
<ViewDetailMember data={params.id} />
|
||||
)
|
||||
}
|
||||
|
||||
export default Page;
|
||||
|
||||
9
src/app/(application)/member/create/page.tsx
Normal file
9
src/app/(application)/member/create/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ViewCreateMember } from "@/module/user/member";
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<ViewCreateMember />
|
||||
);
|
||||
}
|
||||
|
||||
export default Page;
|
||||
9
src/app/(application)/member/page.tsx
Normal file
9
src/app/(application)/member/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ViewListMember } from "@/module/user/member";
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<ViewListMember />
|
||||
)
|
||||
}
|
||||
|
||||
export default Page;
|
||||
10
src/app/(application)/notification/page.tsx
Normal file
10
src/app/(application)/notification/page.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { ViewNotification } from '@/module/notification';
|
||||
import React from 'react';
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<ViewNotification />
|
||||
);
|
||||
}
|
||||
|
||||
export default Page;
|
||||
11
src/app/(application)/position/page.tsx
Normal file
11
src/app/(application)/position/page.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<div>
|
||||
Page
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Page;
|
||||
9
src/app/(application)/profile/edit/page.tsx
Normal file
9
src/app/(application)/profile/edit/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ViewEditProfile } from "@/module/user"
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<ViewEditProfile />
|
||||
)
|
||||
}
|
||||
|
||||
export default Page
|
||||
10
src/app/(application)/project/page.tsx
Normal file
10
src/app/(application)/project/page.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { ViewProject } from '@/module/project';
|
||||
import React from 'react';
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<ViewProject />
|
||||
);
|
||||
}
|
||||
|
||||
export default Page;
|
||||
@@ -32,8 +32,10 @@ export default function RootLayout({
|
||||
</head>
|
||||
<body className={`${LatoFont.className}`} suppressHydrationWarning>
|
||||
<MantineProvider>
|
||||
<Box bg={'#252A2F'}>
|
||||
<Container h={"100vh"} p={0} size={rem(550)} bg={WARNA.bgWhite}>
|
||||
<Box bg={'#252A2F'} pos={"fixed"} w={"100%"} h={"100%"} style={{
|
||||
overflowY: "auto"
|
||||
}}>
|
||||
<Container mih={'100vh'} p={0} size={rem(550)} bg={WARNA.bgWhite}>
|
||||
{children}
|
||||
</Container>
|
||||
</Box>
|
||||
|
||||
5
src/app/loading.tsx
Normal file
5
src/app/loading.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { LoadingPage } from "@/module/_global";
|
||||
|
||||
export default function Loading() {
|
||||
return <LoadingPage />
|
||||
}
|
||||
Reference in New Issue
Block a user