2024-03-07 10:05:45 +01:00
|
|
|
import { Link } from "react-router-dom";
|
|
|
|
import BasicWindow from "../../Components/BasicWindow";
|
2024-03-15 15:28:35 +01:00
|
|
|
import BackButton from "../../Components/BackButton";
|
2024-03-07 10:05:45 +01:00
|
|
|
|
2024-03-07 11:48:34 +01:00
|
|
|
function UserProjectPage(): JSX.Element {
|
|
|
|
const content = (
|
|
|
|
<>
|
2024-03-14 15:49:13 +01:00
|
|
|
<h1 className="font-bold text-[30px] mb-[20px]">ProjectNameExample</h1>
|
2024-03-07 11:48:34 +01:00
|
|
|
<div className="border-4 border-black bg-white flex flex-col items-center justify-center min-h-[65vh] h-fit w-[50vw] rounded-3xl content-center overflow-scroll space-y-[10vh] p-[30px]">
|
2024-03-15 03:34:38 +01:00
|
|
|
<Link to="/project-page">
|
|
|
|
<h1 className="font-bold underline text-[30px] cursor-pointer">
|
|
|
|
Your Time Reports
|
|
|
|
</h1>
|
|
|
|
</Link>
|
2024-03-14 15:49:13 +01:00
|
|
|
<Link to="/new-time-report">
|
|
|
|
<h1 className="font-bold underline text-[30px] cursor-pointer">
|
|
|
|
New Time Report
|
|
|
|
</h1>
|
|
|
|
</Link>
|
2024-03-07 11:48:34 +01:00
|
|
|
</div>
|
|
|
|
</>
|
|
|
|
);
|
2024-03-07 10:05:45 +01:00
|
|
|
|
2024-03-07 11:48:34 +01:00
|
|
|
const buttons = (
|
|
|
|
<>
|
2024-03-15 15:28:35 +01:00
|
|
|
<BackButton />
|
2024-03-07 11:48:34 +01:00
|
|
|
</>
|
2024-03-07 10:05:45 +01:00
|
|
|
);
|
2024-03-07 11:48:34 +01:00
|
|
|
|
|
|
|
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
2024-03-07 10:05:45 +01:00
|
|
|
}
|
2024-03-07 11:48:34 +01:00
|
|
|
export default UserProjectPage;
|