diff --git a/.env.development b/.env.development
index abee85e..bbfde99 100644
--- a/.env.development
+++ b/.env.development
@@ -1 +1,2 @@
-NEXT_PUBLIC_API_URL="http://localhost:8080"
\ No newline at end of file
+# NEXT_PUBLIC_API_URL="http://localhost:8080"
+NEXT_PUBLIC_API_URL="https://erp.julongindonesia.com:8443/api"
\ No newline at end of file
diff --git a/public/images/background.jpg b/public/images/background.jpg
deleted file mode 100644
index 9067154..0000000
Binary files a/public/images/background.jpg and /dev/null differ
diff --git a/public/images/background.png b/public/images/background.png
new file mode 100644
index 0000000..1b32fd2
Binary files /dev/null and b/public/images/background.png differ
diff --git a/src/app/(dashboard)/karyawan/page.tsx b/src/app/(dashboard)/karyawan/page.tsx
index 77a73cc..10bbcd4 100644
--- a/src/app/(dashboard)/karyawan/page.tsx
+++ b/src/app/(dashboard)/karyawan/page.tsx
@@ -24,7 +24,6 @@ export default function KaryawanPage() {
acc.push({type: "sp1", count: curr.sp1});
acc.push({type: "sp2", count: curr.sp2});
acc.push({type: "sp3", count: curr.sp3});
- acc.push({type: "phk", count: curr.phk});
return acc;
}, [] as {type: string; count: number}[]);
//add total
@@ -97,12 +96,11 @@ export default function KaryawanPage() {
Ranking (Top 10) Total Penjatuhan Sanksi Setiap Perusahaan
- b.st + b.sp1 + b.sp2 + b.sp3 + b.phk - a.st - a.sp1 - a.sp2 - a.sp3 - a.phk).slice(0, 10) : []]} series={[
+ b.st + b.sp1 + b.sp2 + b.sp3 - a.st - a.sp1 - a.sp2 - a.sp3).slice(0, 10) : []]} series={[
{dataKey: "st", label: "ST", color: "#F5C322"},
{dataKey: "sp1", label: "SP1", color: "#F3832D"},
{dataKey: "sp2", label: "SP2", color: "#F6CBAB"},
- {dataKey: "sp3", label: "SP3", color: "#E65551"},
- {dataKey: "phk", label: "PHK", color: "#D32F2F"}
+ {dataKey: "sp3", label: "SP3", color: "#E65551"}
]} xAxis={[
{dataKey: "organization_code", label: "Nama Perusahaan", scaleType: "band", valueFormatter: (v, context) => context.location === "tooltip" ? sanctionSummary?.find(e => e.organization_code === v)?.organization_name : v}
]} />
diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx
index 9d90a0c..417eb11 100644
--- a/src/app/login/page.tsx
+++ b/src/app/login/page.tsx
@@ -1,6 +1,6 @@
"use client"
import Image from "next/image";
-import background from "../../../public/images/background.jpg";
+import background from "../../../public/images/background.png";
import loginImg from "../../../public/images/logo-login.png";
import midsuit from "../../../public/images/midsuit-login.png";
import { useEffect, useState } from "react";