import SiteBreadcrumb from "@/components/site-breadcrumb";
import { Card, CardContent } from "@/components/ui/card";
import MediahubTable from "../planning/mediahub/table-mediahub/mediahub-table";
import { Button } from "@/components/ui/button";
import { UploadIcon } from "lucide-react";
import BlogTable from "./table/blog-table";

const BlogPage = async () => {
  return (
    <div>
      <SiteBreadcrumb />
      <div className="space-y-4">
        <Card className="py-4 px-3">
          <div className="flex flex-row justify-between items-center">
            <div className="flex-1 text-xl font-medium text-default-900">
              Table Indeks
            </div>
            <div>
              <Button color="primary" className="text-white">
                <UploadIcon />
                Tambah Indeks
              </Button>
            </div>
          </div>
        </Card>
        <Card>
          <CardContent className="p-0">
            <BlogTable />
          </CardContent>
        </Card>
      </div>
    </div>
  );
};

export default BlogPage;
