2024-11-29 12:41:23 +00:00
|
|
|
import SiteBreadcrumb from "@/components/site-breadcrumb";
|
2024-12-11 18:28:57 +00:00
|
|
|
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
|
|
|
|
import BlogTable from "./components/blog-table";
|
|
|
|
|
import { Plus } from "lucide-react";
|
2024-11-29 12:41:23 +00:00
|
|
|
import { Button } from "@/components/ui/button";
|
2024-12-16 14:05:10 +00:00
|
|
|
import { Link } from "@/components/navigation";
|
2024-11-29 12:41:23 +00:00
|
|
|
|
2024-11-27 04:14:10 +00:00
|
|
|
const BlogPage = async () => {
|
2024-11-29 12:41:23 +00:00
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
<SiteBreadcrumb />
|
|
|
|
|
<div className="space-y-4">
|
|
|
|
|
<Card>
|
2024-12-11 18:28:57 +00:00
|
|
|
<CardHeader className="border-b border-solid border-default-200 mb-6">
|
|
|
|
|
<CardTitle>
|
|
|
|
|
<div className="flex items-center">
|
|
|
|
|
<div className="flex-1 text-xl font-medium text-default-900">
|
|
|
|
|
Table Indeks
|
|
|
|
|
</div>
|
|
|
|
|
<div className="flex-none">
|
2024-12-16 14:05:10 +00:00
|
|
|
<Link href={"/contributor/blog/create"}>
|
2024-12-17 14:27:47 +00:00
|
|
|
<Button fullWidth color="primary">
|
2024-12-16 14:05:10 +00:00
|
|
|
<Plus className="w-6 h-6 me-1.5" />
|
|
|
|
|
Add Index
|
|
|
|
|
</Button>
|
|
|
|
|
</Link>
|
2024-12-11 18:28:57 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</CardTitle>
|
|
|
|
|
</CardHeader>
|
2024-11-29 12:41:23 +00:00
|
|
|
<CardContent className="p-0">
|
|
|
|
|
<BlogTable />
|
|
|
|
|
</CardContent>
|
|
|
|
|
</Card>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
2024-11-27 04:14:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default BlogPage;
|