Add links to navigate between pages projectPage & NewTimeReport
This commit is contained in:
parent
41e1c32ee0
commit
8690e381c8
2 changed files with 15 additions and 12 deletions
|
@ -1,6 +1,7 @@
|
||||||
import BasicWindow from "../../Components/BasicWindow";
|
import BasicWindow from "../../Components/BasicWindow";
|
||||||
import Button from "../../Components/Button";
|
import Button from "../../Components/Button";
|
||||||
import NewTimeReport from "../../Components/TimeReport";
|
import NewTimeReport from "../../Components/TimeReport";
|
||||||
|
import { Link } from "react-router-dom";
|
||||||
|
|
||||||
function UserNewTimeReportPage(): JSX.Element {
|
function UserNewTimeReportPage(): JSX.Element {
|
||||||
const content = (
|
const content = (
|
||||||
|
@ -18,12 +19,14 @@ function UserNewTimeReportPage(): JSX.Element {
|
||||||
return;
|
return;
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<Button
|
<Link to="/project">
|
||||||
text="Back"
|
<Button
|
||||||
onClick={(): void => {
|
text="Back"
|
||||||
return;
|
onClick={(): void => {
|
||||||
}}
|
return;
|
||||||
/>
|
}}
|
||||||
|
/>
|
||||||
|
</Link>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -5,16 +5,16 @@ import Button from "../../Components/Button";
|
||||||
function UserProjectPage(): JSX.Element {
|
function UserProjectPage(): JSX.Element {
|
||||||
const content = (
|
const content = (
|
||||||
<>
|
<>
|
||||||
<Link to="/settingsPage">
|
<h1 className="font-bold text-[30px] mb-[20px]">ProjectNameExample</h1>
|
||||||
<h1 className="font-bold text-[30px] mb-[20px]">ProjectNameExample</h1>
|
|
||||||
</Link>
|
|
||||||
<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]">
|
<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]">
|
||||||
<h1 className="font-bold underline text-[30px] cursor-pointer">
|
<h1 className="font-bold underline text-[30px] cursor-pointer">
|
||||||
Your Time Reports
|
Your Time Reports
|
||||||
</h1>
|
</h1>
|
||||||
<h1 className="font-bold underline text-[30px] cursor-pointer">
|
<Link to="/new-time-report">
|
||||||
New Time Report
|
<h1 className="font-bold underline text-[30px] cursor-pointer">
|
||||||
</h1>
|
New Time Report
|
||||||
|
</h1>
|
||||||
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue