Portofolio

#feat
- Create porto
- Edit Porto
- Upload gambar background profile
- List user
- Search user
## No issuue
This commit is contained in:
2024-01-19 14:16:16 +08:00
parent 01da30bdb5
commit 5f4337333a
175 changed files with 3451 additions and 1017 deletions

View File

@@ -1,14 +1,16 @@
import { funGetUserProfile } from "@/app_modules/fun/get_user_profile";
import { getProfile } from "@/app_modules/katalog/profile";
import { funGetUserProfile } from "@/app_modules/fun_global/get_user_profile";
import EditProfile from "@/app_modules/katalog/profile/edit/view";
import { Profile_getOneProfileAndUserById } from "@/app_modules/katalog/profile/fun/get/get_one_user_profile";
export default async function Page({ params }: { params: { id: string } }) {
let profileId = params.id
const data = await funGetUserProfile(params.id);
const dataProfile = await Profile_getOneProfileAndUserById(profileId)
return (
<>
{/* {JSON.stringify(data)} */}
<EditProfile data={data as any} />
<EditProfile data={dataProfile as any} />
</>
);
}