TTime/frontend/src/Pages/UserPages/UserViewTimeReportsPage.tsx

29 lines
714 B
TypeScript
Raw Normal View History

2024-03-15 03:41:00 +01:00
import { Link } from "react-router-dom";
import BasicWindow from "../../Components/BasicWindow";
2024-03-14 10:46:45 +01:00
import Button from "../../Components/Button";
function UserViewTimeReportsPage(): JSX.Element {
2024-03-15 03:34:38 +01:00
const content = (
<>
<h1 className="font-bold text-[30px] mb-[20px]">Your Time Reports</h1>
{/* Här kan du inkludera logiken för att visa användarens tidrapporter */}
</>
);
2024-03-14 10:46:45 +01:00
const buttons = (
<>
2024-03-15 14:48:40 +01:00
<Link to="/project">
2024-03-15 03:41:00 +01:00
<Button
text="Back"
2024-03-15 14:48:40 +01:00
onClick={(): void => {
return;
2024-03-15 03:41:00 +01:00
}}
/>
</Link>
2024-03-14 10:46:45 +01:00
</>
);
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
}
export default UserViewTimeReportsPage;