Fix: Db Profile

Deskripsi:
- Menghapus field imagesId dan imagesBackgroundId
- Menhapus table backgroundImage
- Menghapus component avatar dan header card yang lama
## No Issue
This commit is contained in:
2024-10-03 15:09:38 +08:00
parent ca99de7dd5
commit cf9355e91f
46 changed files with 81 additions and 1060 deletions

View File

@@ -1,4 +1,3 @@
import { funGetUserProfile } from "@/app_modules/fun_global/get_user_profile";
import { EditProfileLayout } from "@/app_modules/katalog/profile";
export default async function Layout({
@@ -8,8 +7,6 @@ export default async function Layout({
children: any;
params: { id: string };
}) {
let profileId = params.id;
return (
<>
<EditProfileLayout>{children}</EditProfileLayout>

View File

@@ -1,10 +1,9 @@
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 (