web-humas-fe/app/(admin)/admin/static-page/page.tsx

29 lines
934 B
TypeScript
Raw Normal View History

2024-11-18 05:31:26 +00:00
import { AddIcon } from "@/components/icons";
import StaticPageTable from "@/components/table/static-page-table";
import { Button, Card } from "@nextui-org/react";
import Link from "next/link";
2024-11-16 05:29:07 +00:00
2024-11-18 05:31:26 +00:00
export default function StaticPageGeneratorList() {
2024-11-16 05:29:07 +00:00
return (
2025-01-19 16:13:06 +00:00
<div className="overflow-x-hidden overflow-y-scroll rounded-lg">
2024-12-23 07:22:20 +00:00
<div className="px-2 md:px-4 w-full">
2025-01-19 16:13:06 +00:00
<div className="rounded-md mt-4 px-5 py-2 bg-white dark:bg-[#18181b] flex flex-row gap-3 shadow-lg">
2024-12-23 07:22:20 +00:00
<Link href="/admin/static-page/create">
<Button
size="md"
color="primary"
className="bg-[#F07C00] text-white"
>
<AddIcon />
Create Page
</Button>
</Link>
</div>
2025-01-19 16:13:06 +00:00
<div className="bg-white shadow-lg dark:bg-[#18181b] rounded-xl p-2 mt-4">
2024-12-23 07:22:20 +00:00
<StaticPageTable />
2024-11-18 05:31:26 +00:00
</div>
</div>
2024-12-23 07:22:20 +00:00
</div>
2024-11-16 05:29:07 +00:00
);
}