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,5 +1,6 @@
"use client";
import { pathAssetImage, RouterImagePreview } from "@/app/lib";
import { RouterProfile } from "@/app/lib/router_hipmi/router_katalog";
import {
MODEL_VOTE_KONTRIBUTOR,
@@ -72,7 +73,8 @@ export default function ComponentAdminVote_DetailHasil({
span={2}
onClick={() =>
router.push(
RouterProfile.katalogOLD + e?.Author?.Profile?.id
RouterProfile.katalogOLD +
e?.Author?.Profile?.id
)
}
>
@@ -84,12 +86,7 @@ export default function ComponentAdminVote_DetailHasil({
}}
radius={"xl"}
bg={"gray.1"}
src={
e
? RouterProfile.api_foto_profile +
e?.Author?.Profile?.imagesId
: "/aset/global/avatar.png"
}
src={pathAssetImage.avatar}
/>
</Grid.Col>
<Grid.Col span={5}>