Merge branch 'join' into Nico/27-feb-25

This commit is contained in:
2025-02-27 17:34:24 +08:00
committed by GitHub
36 changed files with 1152 additions and 857 deletions

View File

@@ -1,14 +1,9 @@
import { Admin_KonfirmasiInvestasi } from "@/app_modules/admin/investasi";
import { adminInvestasi_getOneById } from "@/app_modules/admin/investasi/fun";
export default async function Page() {
// const investasiId = params.id;
// const dataInvestasi = await adminInvestasi_getOneById({investasiId});
// console.log(dataUser)
return (
<>
<Admin_KonfirmasiInvestasi />
<Admin_KonfirmasiInvestasi />
</>
);
}

View File

@@ -1,11 +1,9 @@
import { Investasi_UiFileViewDokumen } from "@/app_modules/investasi/_ui";
export default async function Page({ params }: { params: { id: string } }) {
const dokumenId = params.id;
export default async function Page() {
return (
<>
<Investasi_UiFileViewDokumen dokumenId={dokumenId} />
<Investasi_UiFileViewDokumen />
</>
);
}

View File

@@ -1,12 +1,9 @@
import { investasi_funGetProspekById } from "@/app_modules/investasi/_fun";
import { Investasi_UiFileView } from "@/app_modules/investasi/_ui";
export default async function Page({ params }: { params: { id: string } }) {
const pospektusId = params.id;
export default async function Page() {
return (
<>
<Investasi_UiFileView pospektusId={pospektusId} />
<Investasi_UiFileView />
</>
);
}

View File

@@ -1,11 +1,8 @@
import { Investasi_ViewBerandaNew } from "@/app_modules/investasi/_ui";
export default async function Page() {
// const allData = await investasi_funGetAllPublish({ page: 1 });
return (
<>
{/* <Investasi_UiBeranda dataInvestasi={allData as any} /> */}
<Investasi_ViewBerandaNew />
</>
);

View File

@@ -1,12 +1,9 @@
import { Profile_getOneById } from "@/app_modules/katalog/profile/fun/get/get_one_profile"
import Profile_UpdateFotoBackground from "@/app_modules/katalog/profile/upload/foto_background"
export default async function Page({params}:{params: {id: string}}) {
let profileId = params.id
const dataProfile = await Profile_getOneById(profileId)
return <>
<Profile_UpdateFotoBackground dataProfile={dataProfile as any}/>
export default async function Page() {
return (
<>
<Profile_UpdateFotoBackground />
</>
}
);
}

View File

@@ -1,13 +1,9 @@
import { UploadFotoProfile } from "@/app_modules/katalog/profile";
import { Profile_getOneById } from "@/app_modules/katalog/profile/fun/get/get_one_profile";
export default async function Page({ params }: { params: { id: string } }) {
let profileId = params.id;
const dataProfile = await Profile_getOneById(profileId);
export default async function Page() {
return (
<>
<UploadFotoProfile dataProfile={dataProfile as any} />
<UploadFotoProfile />
</>
);
}