"use client";
import { Card, CardContent } from "@/components/ui/card";
import SiteBreadcrumb from "@/components/site-breadcrumb";
import TableImage from "./table-video";
import { Newspaper, NewspaperIcon, UploadIcon } from "lucide-react";
import { Button } from "@/components/ui/button";
import { Icon } from "@iconify/react/dist/iconify.js";
import TableVideo from "./table-video";

const ReactTableVideoPage = () => {
  return (
    <div>
      <SiteBreadcrumb />
      <div className="space-y-4">
        <Card className="py-4 px-3">
          <div className="flex flex-row justify-between items-center px-5">
            <div className="flex flex-row items-center text-xl font-medium text-default-900 gap-2">
              <div>
                <Icon icon="icon-park-outline:check-one" />
              </div>
              <div>
                <p>
                  0 <span className="text-red-500">Rata - rata :0</span>
                </p>
                <p className="text-sm">Hasil Unggah disetujui hari ini</p>
              </div>
            </div>
            <div className="flex flex-row items-center text-xl font-medium text-default-900 gap-2">
              <div>
                <Icon icon="material-symbols:settings-backup-restore-rounded" />
              </div>
              <div>
                <p>
                  0 <span className="text-red-500">Rata - rata :0</span>
                </p>
                <p className="text-sm">Hasil Unggah direvisi hari ini</p>
              </div>
            </div>
            <div className="flex flex-row items-center text-xl font-medium text-default-900 gap-2">
              <div>
                <Icon icon="healthicons:no-outline" />
              </div>
              <div>
                <p>
                  0 <span className="text-red-500">Rata - rata :0</span>
                </p>
                <p className="text-sm">Hasil Unggah ditolak hari ini</p>
              </div>
            </div>
          </div>
        </Card>
        <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">
              Konten Video
            </div>
            <div>
              <Button color="primary" className="text-white">
                <UploadIcon />
                Unggah Video
              </Button>
              <Button color="primary" className="text-white ml-3">
                <UploadIcon />
                Unggah Video Dengan AI
              </Button>
            </div>
          </div>
        </Card>
        <Card>
          <CardContent className="p-0">
            <TableVideo />
          </CardContent>
        </Card>
      </div>
    </div>
  );
};

export default ReactTableVideoPage;
