{/* Header */}
diff --git a/src/Pages/internify/intern/HomeInternPage.tsx b/src/Pages/internify/intern/HomeInternPage.tsx
index 8212928..c523941 100644
--- a/src/Pages/internify/intern/HomeInternPage.tsx
+++ b/src/Pages/internify/intern/HomeInternPage.tsx
@@ -1,6 +1,6 @@
import HomeHeader from "./components/HomeHeader";
import HomeProjectList from "./components/HomeProjectList";
-import HomeCalendar from "./components/HomeCalendar";
+import HomeCalendar from "../HomeCalendar";
import TaskTimeline from "./components/TaskTimeline";
export default function HomeInternPage() {
diff --git a/src/Pages/internify/intern/components/CertificateAvailabe.tsx b/src/Pages/internify/intern/components/CertificateAvailabe.tsx
index 2df227f..89d4f7c 100644
--- a/src/Pages/internify/intern/components/CertificateAvailabe.tsx
+++ b/src/Pages/internify/intern/components/CertificateAvailabe.tsx
@@ -4,6 +4,7 @@ import { Download, Link, Printer } from "lucide-react";
import type { ProjectDetail } from "../../../../types/project.types";
import type { Certificate } from "../../../../types/certificate.types";
import { downloadCertificateAsImage, downloadCertificateAsPdf } from "../../../utils/DownloadImagetoDevice";
+import { resolveImageUrl } from "../../../utils/SertificateGenerator";
interface CertificateAvailableProps {
project: ProjectDetail | null;
@@ -62,7 +63,7 @@ export default function CertificateAvailable({ project, certificate }: Certifica
{/* Certificate Card */}
@@ -83,7 +84,7 @@ export default function CertificateAvailable({ project, certificate }: Certifica
label: "Status",
value: (
- {certificate.certificate_status.toUpperCase()}
+ {certificate.certificate_status}
),
},
diff --git a/src/Pages/internify/intern/components/CertificateHistory.tsx b/src/Pages/internify/intern/components/CertificateHistory.tsx
index 62c5676..34d20d4 100644
--- a/src/Pages/internify/intern/components/CertificateHistory.tsx
+++ b/src/Pages/internify/intern/components/CertificateHistory.tsx
@@ -1,7 +1,6 @@
import { useNavigate } from "react-router-dom";
import { History, Loader2, AlertCircle } from "lucide-react";
import type { Certificate } from "../../../../types/certificate.types";
-import certificateImg from "../../../../assets/certificate.png"; //Placeholder
import { useMyCertificates } from "../../../../hooks/useCertificates";
export default function SertificateHistory() {
@@ -43,7 +42,7 @@ export default function SertificateHistory() {
>
diff --git a/src/Pages/internify/intern/components/CertificateNotAvailable.tsx b/src/Pages/internify/intern/components/CertificateNotAvailable.tsx
index 6a0190e..dfb346b 100644
--- a/src/Pages/internify/intern/components/CertificateNotAvailable.tsx
+++ b/src/Pages/internify/intern/components/CertificateNotAvailable.tsx
@@ -40,8 +40,8 @@ export default function CertificateNotAvailable({
<>
Selamat!
- Semua tugas proyek telah selesai. Klik tombol di bawah untuk{" "}
- mengklaim sertifikat kelulusan Anda.
+ Semua tugas proyek telah selesai. Silahkan tunggu Mentor untuk{" "}
+ Mempublish Sertifikat kelulusan Anda.
{/* Progress Bar — 100% */}
@@ -53,7 +53,6 @@ export default function CertificateNotAvailable({
-
Semua tugas telah diselesaikan! Silahkan tunggu untuk mendapatkan sertifikat