feat: Add more pages

This commit is contained in:
2025-06-06 16:08:15 +03:00
parent f2aab1ab33
commit d74789a0d8
67 changed files with 3491 additions and 787 deletions

View File

@@ -0,0 +1,25 @@
import { Button } from "@mui/material";
import { Plus } from "lucide-react";
import { useNavigate } from "react-router-dom";
interface CreateButtonProps {
label: string;
path: string;
}
export const CreateButton = ({ label, path }: CreateButtonProps) => {
const navigate = useNavigate();
return (
<Button
variant="contained"
color="primary"
onClick={() => {
navigate(path);
}}
startIcon={<Plus size={20} />}
>
{label}
</Button>
);
};