2024-12-03 02:14:51 +00:00
|
|
|
import SiteBreadcrumb from "@/components/site-breadcrumb";
|
2024-12-12 13:04:27 +00:00
|
|
|
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
|
|
|
|
import ContestTable from "./components/contest-table";
|
2024-12-30 13:43:39 +00:00
|
|
|
import { Link } from "@/components/navigation";
|
|
|
|
|
import { Button } from "@/components/ui/button";
|
|
|
|
|
import { UploadIcon } from "lucide-react";
|
2024-12-03 02:14:51 +00:00
|
|
|
|
2024-12-13 06:55:30 +00:00
|
|
|
const ContestPage = () => {
|
2024-12-03 02:14:51 +00:00
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
<SiteBreadcrumb />
|
|
|
|
|
<div className="space-y-4">
|
|
|
|
|
<Card>
|
2024-12-12 13:04:27 +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">
|
2025-02-12 13:00:06 +00:00
|
|
|
Tabel Lomba
|
2024-12-12 13:04:27 +00:00
|
|
|
</div>
|
|
|
|
|
<div className="flex-none">
|
2024-12-30 13:43:39 +00:00
|
|
|
<Link href={"/shared/contest/create"}>
|
2024-12-12 13:04:27 +00:00
|
|
|
<Button color="primary" className="text-white">
|
|
|
|
|
<UploadIcon />
|
2024-12-30 13:43:39 +00:00
|
|
|
Buat Lomba
|
2024-12-12 13:04:27 +00:00
|
|
|
</Button>
|
2024-12-30 13:43:39 +00:00
|
|
|
</Link>
|
2024-12-12 13:04:27 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</CardTitle>
|
|
|
|
|
</CardHeader>
|
2024-12-03 02:14:51 +00:00
|
|
|
<CardContent className="p-0">
|
|
|
|
|
<ContestTable />
|
|
|
|
|
</CardContent>
|
|
|
|
|
</Card>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
2024-11-27 04:14:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default ContestPage;
|