diff --git a/app/[locale]/(protected)/admin/analysis/content-management/page.tsx b/app/[locale]/(protected)/admin/analysis/content-management/page.tsx new file mode 100644 index 00000000..bd14ea00 --- /dev/null +++ b/app/[locale]/(protected)/admin/analysis/content-management/page.tsx @@ -0,0 +1,196 @@ +"use client"; +import SiteBreadcrumb from "@/components/site-breadcrumb"; +import { + Accordion, + AccordionContent, + AccordionItem, + AccordionTrigger, +} from "@/components/ui/accordion"; +import { useState } from "react"; +import { addDays, format } from "date-fns"; +import { Calendar as CalendarIcon } from "lucide-react"; +import { DateRange } from "react-day-picker"; + +import { cn } from "@/lib/utils"; +import { Button } from "@/components/ui/button"; +import { Calendar } from "@/components/ui/calendar"; +import { + Popover, + PopoverContent, + PopoverTrigger, +} from "@/components/ui/popover"; + +const users = [ + { id: 1, name: "POLRI" }, + { id: 2, name: "JURNALIS" }, +]; + +export default function ContentManagement() { + const [startDate, setStartDate] = useState(new Date()); + const [endDate, setEndDate] = useState(new Date()); + + return ( +
+ +
+ {users.map((user) => ( + + + + KONTEN YANG DISIMPAN OLEH PENGGUNA {user.name} INDONESIA + + +
+
+

Tanggal Mulai

+ + + + + + + + +
+
+

Tanggal Mulai

+ + + + + + + + +
+
+
+
+
+ ))} + {users.map((user) => ( + + + + PENAMBAHAN JUMLAH PENGGUNA {user.name} INDONESIA + + +
+
+

Tanggal Mulai

+ + + + + + + + +
+
+

Tanggal Mulai

+ + + + + + + + +
+
+
+
+
+ ))} +
+
+ ); +} diff --git a/app/[locale]/(protected)/admin/analysis/emergency-issue/page.tsx b/app/[locale]/(protected)/admin/analysis/emergency-issue/page.tsx new file mode 100644 index 00000000..620fca5e --- /dev/null +++ b/app/[locale]/(protected)/admin/analysis/emergency-issue/page.tsx @@ -0,0 +1,113 @@ +"use client"; +import SiteBreadcrumb from "@/components/site-breadcrumb"; +import { + Accordion, + AccordionContent, + AccordionItem, + AccordionTrigger, +} from "@/components/ui/accordion"; +import { useState } from "react"; +import { addDays, format } from "date-fns"; +import { Calendar as CalendarIcon } from "lucide-react"; +import { DateRange } from "react-day-picker"; + +import { cn } from "@/lib/utils"; +import { Button } from "@/components/ui/button"; +import { Calendar } from "@/components/ui/calendar"; +import { + Popover, + PopoverContent, + PopoverTrigger, +} from "@/components/ui/popover"; + +const users = [ + { id: 1, name: "POLRI" }, + { id: 2, name: "JURNALIS" }, +]; + +export default function EmergencyIssue() { + const [startDate, setStartDate] = useState(new Date()); + const [endDate, setEndDate] = useState(new Date()); + + return ( +
+ +
+ + + + ANALISA BERKAITAN DENGAN AKUN PELAPOR{" "} + + +
+
+

Tanggal Mulai

+ + + + + + + + +
+
+

Tanggal Mulai

+ + + + + + + + +
+
+
+
+
+
+
+ ); +} diff --git a/app/[locale]/(protected)/admin/analysis/feedback-center/page.tsx b/app/[locale]/(protected)/admin/analysis/feedback-center/page.tsx new file mode 100644 index 00000000..bf3cb51c --- /dev/null +++ b/app/[locale]/(protected)/admin/analysis/feedback-center/page.tsx @@ -0,0 +1,113 @@ +"use client"; +import SiteBreadcrumb from "@/components/site-breadcrumb"; +import { + Accordion, + AccordionContent, + AccordionItem, + AccordionTrigger, +} from "@/components/ui/accordion"; +import { useState } from "react"; +import { addDays, format } from "date-fns"; +import { Calendar as CalendarIcon } from "lucide-react"; +import { DateRange } from "react-day-picker"; + +import { cn } from "@/lib/utils"; +import { Button } from "@/components/ui/button"; +import { Calendar } from "@/components/ui/calendar"; +import { + Popover, + PopoverContent, + PopoverTrigger, +} from "@/components/ui/popover"; + +const users = [ + { id: 1, name: "POLRI" }, + { id: 2, name: "JURNALIS" }, +]; + +export default function FeedbackCenter() { + const [startDate, setStartDate] = useState(new Date()); + const [endDate, setEndDate] = useState(new Date()); + + return ( +
+ +
+ + + + TICKET PADA FEEDBACK CENTER{" "} + + +
+
+

Tanggal Mulai

+ + + + + + + + +
+
+

Tanggal Mulai

+ + + + + + + + +
+
+
+
+
+
+
+ ); +} diff --git a/app/[locale]/(protected)/admin/analysis/schedule/page.tsx b/app/[locale]/(protected)/admin/analysis/schedule/page.tsx new file mode 100644 index 00000000..06a74a1b --- /dev/null +++ b/app/[locale]/(protected)/admin/analysis/schedule/page.tsx @@ -0,0 +1,330 @@ +"use client"; +import SiteBreadcrumb from "@/components/site-breadcrumb"; +import { + Accordion, + AccordionContent, + AccordionItem, + AccordionTrigger, +} from "@/components/ui/accordion"; +import { useState } from "react"; +import { addDays, format } from "date-fns"; +import { Calendar as CalendarIcon } from "lucide-react"; +import { DateRange } from "react-day-picker"; + +import { cn } from "@/lib/utils"; +import { Button } from "@/components/ui/button"; +import { Calendar } from "@/components/ui/calendar"; +import { + Popover, + PopoverContent, + PopoverTrigger, +} from "@/components/ui/popover"; + +export default function ContentManagement() { + const [startDate, setStartDate] = useState(new Date()); + const [endDate, setEndDate] = useState(new Date()); + + return ( +
+ +
+ + + + PUBLISH JADWAL PRESS CONFERENCE TERBANYAK + + +
+
+

Tanggal Mulai

+ + + + + + + + +
+
+

Tanggal Mulai

+ + + + + + + + +
+
+
+
+
+ + + + JUMLAH PRODUKSI KONTEN UNTUK KATEGORI PRESS CONFERENCE + + +
+
+

Tanggal Mulai

+ + + + + + + + +
+
+

Tanggal Mulai

+ + + + + + + + +
+
+
+
+
+ + + + TINGKAT INTERAKSI KONTEN UNTUK KATEGORI PRESS CONFERENCE + + +
+
+

Tanggal Mulai

+ + + + + + + + +
+
+

Tanggal Mulai

+ + + + + + + + +
+
+
+
+
+ + + + AKTIFITAS MEDIA BERKAITAN DENGAN PERS RILIS + + +
+
+

Tanggal Mulai

+ + + + + + + + +
+
+

Tanggal Mulai

+ + + + + + + + +
+
+
+
+
+
+
+ ); +} diff --git a/app/[locale]/(protected)/admin/management-user/page.tsx b/app/[locale]/(protected)/admin/management-user/page.tsx new file mode 100644 index 00000000..76beb900 --- /dev/null +++ b/app/[locale]/(protected)/admin/management-user/page.tsx @@ -0,0 +1,10 @@ +import SiteBreadcrumb from "@/components/site-breadcrumb"; + +export default function ManagementUser() { + return ( +
+ +

STATISTIK JUMLAH PENGGUNA

+
+ ); +} diff --git a/app/[locale]/(protected)/admin/performance-polda/page.tsx b/app/[locale]/(protected)/admin/performance-polda/page.tsx new file mode 100644 index 00000000..f3d145fe --- /dev/null +++ b/app/[locale]/(protected)/admin/performance-polda/page.tsx @@ -0,0 +1,10 @@ +import SiteBreadcrumb from "@/components/site-breadcrumb"; + +export default function PerformancePolda() { + return ( +
+ +

PERFORMANCE KUMULATIF PER POLDA

+
+ ); +} diff --git a/app/[locale]/(protected)/dashboard/executive/page.tsx b/app/[locale]/(protected)/dashboard/executive/page.tsx new file mode 100644 index 00000000..3152a7f8 --- /dev/null +++ b/app/[locale]/(protected)/dashboard/executive/page.tsx @@ -0,0 +1,9 @@ +import SiteBreadcrumb from "@/components/site-breadcrumb"; + +export default function ExecutiveDashboard() { + return ( +
+ +
+ ); +} diff --git a/lib/menus.ts b/lib/menus.ts index 06f13a35..7d5e8937 100644 --- a/lib/menus.ts +++ b/lib/menus.ts @@ -1692,15 +1692,15 @@ export function getMenuList(pathname: string, t: any): Group[] { submenus: [ { href: "/dashboard", - label: "Executive", + label: "Breakdown", active: pathname === "/dashboard", icon: "heroicons:arrow-trending-up", children: [], }, { - href: "/dashboard/breakdown", - label: "Breakdown", - active: pathname === "/dashboard/breakdown", + href: "/dashboard/executive", + label: "Executive", + active: pathname === "/dashboard/executive", icon: "heroicons:arrow-trending-up", children: [], }, @@ -1728,7 +1728,7 @@ export function getMenuList(pathname: string, t: any): Group[] { menus: [ { id: "management-user-menu", - href: "/adminn/management-user", + href: "/admin/management-user", label: "Management User", active: pathname.includes("/management-user"), icon: "clarity:users-solid", @@ -1790,9 +1790,9 @@ export function getMenuList(pathname: string, t: any): Group[] { icon: "mdi:chart-line", submenus: [ { - href: "/admin/analysis/magement-content", + href: "/admin/analysis/content-management", label: t("management-content"), - active: pathname === "/admin/analysis/magement-content", + active: pathname === "/admin/analysis/content-management", icon: "", children: [], }, @@ -1887,7 +1887,7 @@ export function getMenuList(pathname: string, t: any): Group[] { id: "feedback", href: "/curator/feedback", label: t("feedback"), - active: pathname.includes("/feedback"), + active: pathname.includes("/curator/feedback"), icon: "mdi:feedback-outline", submenus: [], }, diff --git a/messages/en.json b/messages/en.json index b88b12f9..de5b72e7 100644 --- a/messages/en.json +++ b/messages/en.json @@ -297,7 +297,7 @@ "colors": "Colors", "performance-polda": "Performance Polda", "analysis": "Analysis", - "management-content": "Management Content", + "management-content": "Content Management ", "add-experts": "Add Experts" }, "Changelog": { diff --git a/messages/in.json b/messages/in.json index f057ae12..4fa6981b 100644 --- a/messages/in.json +++ b/messages/in.json @@ -297,7 +297,7 @@ "colors": "Colors", "performance-polda": "Performa Polda", "analysis": "Analisa", - "management-content": "Manajemen Konten", + "content-management": "Manajemen Konten", "add-experts": "Tambah Tenaga Ahli" }, "Changelog": {