36 lines
1.0 KiB
TypeScript
36 lines
1.0 KiB
TypeScript
"use client";
|
|
|
|
import { useState } from "react";
|
|
import ArticleTable from "@/components/table/article-table";
|
|
import { Button } from "@/components/ui/button";
|
|
import { Plus } from "lucide-react";
|
|
import { BannerDialog } from "@/components/form/banner-dialog";
|
|
import Link from "next/link";
|
|
import ProductTable from "@/components/table/product-table";
|
|
import ServicesTable from "@/components/table/services-table";
|
|
|
|
export default function ServicesPage() {
|
|
const [openDialog, setOpenDialog] = useState(false);
|
|
|
|
const handleSubmitBanner = (data: any) => {
|
|
console.log("Banner Data:", data);
|
|
// TODO: kirim data ke API di sini
|
|
};
|
|
|
|
return (
|
|
<div>
|
|
<div className="overflow-x-hidden overflow-y-scroll w-full">
|
|
<div className="px-2 md:px-4 md:py-4 w-full">
|
|
<div className="pl-3">
|
|
<h1 className="text-[#1F6779] text-2xl font-semibold">Services</h1>
|
|
</div>
|
|
|
|
<div className="dark:bg-[#18181b] rounded-xl p-3">
|
|
<ServicesTable />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|