Hold persiapan persentase pak fahmi
- Sudah bisa create - Sudah bisa join proyek - Tambahan untuk mengisi form jika ingin join ### No issue
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
import { Colab_Beranda } from "@/app_modules/colab";
|
||||
import colab_getListAllProyek from "@/app_modules/colab/fun/get/get_list_all_proyek";
|
||||
import { User_getUserId } from "@/app_modules/fun_global/get_user_token";
|
||||
|
||||
export default async function Page() {
|
||||
const listData = await colab_getListAllProyek()
|
||||
const listData = await colab_getListAllProyek();
|
||||
const userLoginId = await User_getUserId();
|
||||
|
||||
return (
|
||||
<>
|
||||
<Colab_Beranda listData={listData as any} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
return (
|
||||
<>
|
||||
<Colab_Beranda listData={listData as any} userLoginId={userLoginId} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
9
src/app/dev/colab/main/notifikasi/page.tsx
Normal file
9
src/app/dev/colab/main/notifikasi/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { Colab_NotifikasiView } from "@/app_modules/colab";
|
||||
|
||||
export default async function Page() {
|
||||
return (
|
||||
<>
|
||||
<Colab_NotifikasiView />
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -1,10 +1,17 @@
|
||||
import { Colab_Proyek } from "@/app_modules/colab";
|
||||
|
||||
import colab_getListPartisipasiByAuthorId from "@/app_modules/colab/fun/get/get_list_partisipasi_by_author_id";
|
||||
import colab_getListAllProyekByAuthorId from "@/app_modules/colab/fun/get/get_list_proyek_by_author_id";
|
||||
|
||||
export default async function Page() {
|
||||
const listPartisipasiUser = (await colab_getListPartisipasiByAuthorId()).data;
|
||||
const listProyekSaya = (await colab_getListAllProyekByAuthorId()).data;
|
||||
|
||||
return (
|
||||
<>
|
||||
<Colab_Proyek />
|
||||
<Colab_Proyek
|
||||
listPartisipasiUser={listPartisipasiUser as any}
|
||||
listProyekSaya={listProyekSaya as any}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,9 +1,19 @@
|
||||
import { Colab_Status } from "@/app_modules/colab";
|
||||
import colab_getListByStatusId from "@/app_modules/colab/fun/get/get_list_by_status_id";
|
||||
|
||||
export default async function Page() {
|
||||
const listPublish = (await colab_getListByStatusId(1)).data;
|
||||
const listReview = (await colab_getListByStatusId(2)).data;
|
||||
const listReject = (await colab_getListByStatusId(3)).data;
|
||||
|
||||
|
||||
return (
|
||||
<>
|
||||
<Colab_Status />
|
||||
<Colab_Status
|
||||
listPublish={listPublish as any}
|
||||
listReview={listReview as any}
|
||||
listReject={listReject as any}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user