Fix: Avatar
Deskripsi: - Avatar job - Avatar collaboration - Avatar event ## No Issuue
This commit is contained in:
3
src/app_modules/job/_view/index.ts
Normal file
3
src/app_modules/job/_view/index.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import { Job_ViewNotUserJobVacany } from "./view_not_user_view_job";
|
||||
|
||||
export { Job_ViewNotUserJobVacany };
|
||||
45
src/app_modules/job/_view/view_not_user_view_job.tsx
Normal file
45
src/app_modules/job/_view/view_not_user_view_job.tsx
Normal file
@@ -0,0 +1,45 @@
|
||||
import {
|
||||
ComponentGlobal_CardStyles,
|
||||
ComponentGlobal_NotUserLoadImage,
|
||||
} from "@/app_modules/_global/component";
|
||||
import { Center, Stack, Text, Title } from "@mantine/core";
|
||||
|
||||
export function Job_ViewNotUserJobVacany({ data }: { data: any }) {
|
||||
return (
|
||||
<>
|
||||
{data ? (
|
||||
<ComponentGlobal_CardStyles>
|
||||
<Stack spacing={"xl"}>
|
||||
{data.imageId && (
|
||||
<ComponentGlobal_NotUserLoadImage fileId={data?.imageId} />
|
||||
)}
|
||||
|
||||
<Stack>
|
||||
<Center>
|
||||
<Text fz={20} fw={"bold"}>
|
||||
{data.title}
|
||||
</Text>
|
||||
</Center>
|
||||
<Stack spacing={0}>
|
||||
<Text>
|
||||
<div dangerouslySetInnerHTML={{ __html: data.content }} />
|
||||
</Text>
|
||||
<Text>
|
||||
<div dangerouslySetInnerHTML={{ __html: data.deskripsi }} />
|
||||
</Text>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</ComponentGlobal_CardStyles>
|
||||
) : (
|
||||
<ComponentGlobal_CardStyles>
|
||||
<Stack spacing={"xl"}>
|
||||
<Title order={3} align="center">
|
||||
Data Not Found
|
||||
</Title>
|
||||
</Stack>
|
||||
</ComponentGlobal_CardStyles>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user