From 108a9ec40049a9fd00a0f9d35123a1d94db10ccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Domonkos?= Date: Tue, 19 Nov 2024 11:02:07 +0100 Subject: [PATCH] single period, dynamic reporting periods --- .../app/(with-layout)/singleperiod/page.tsx | 9 ++ apps/frontend/src/components/AfterLogin.tsx | 6 +- apps/frontend/src/components/Navbar.tsx | 10 +- apps/frontend/src/components/NewProject.tsx | 2 +- .../src/components/ReportingPeriod.tsx | 81 +++++++++----- apps/frontend/src/components/SinglePeriod.tsx | 101 ++++++++++++++++++ apps/frontend/src/components/footer.tsx | 2 +- 7 files changed, 176 insertions(+), 35 deletions(-) create mode 100644 apps/frontend/src/app/(with-layout)/singleperiod/page.tsx create mode 100644 apps/frontend/src/components/SinglePeriod.tsx diff --git a/apps/frontend/src/app/(with-layout)/singleperiod/page.tsx b/apps/frontend/src/app/(with-layout)/singleperiod/page.tsx new file mode 100644 index 0000000..f9ae5b3 --- /dev/null +++ b/apps/frontend/src/app/(with-layout)/singleperiod/page.tsx @@ -0,0 +1,9 @@ +import SinglePeriod from '../../../components/SinglePeriod'; + +export default function Home() { + return ( +
+ +
+ ); +} diff --git a/apps/frontend/src/components/AfterLogin.tsx b/apps/frontend/src/components/AfterLogin.tsx index 509e7cc..7ba76c4 100644 --- a/apps/frontend/src/components/AfterLogin.tsx +++ b/apps/frontend/src/components/AfterLogin.tsx @@ -18,7 +18,7 @@ export default function GreetingsPage() {
Beszámolási időszakok @@ -30,7 +30,7 @@ export default function GreetingsPage() {
Munkák

Láthatod a jelenleg zajló

@@ -46,7 +46,7 @@ export default function GreetingsPage() {
Új Projekt

Itt tudsz új projeket nyitni.

diff --git a/apps/frontend/src/components/Navbar.tsx b/apps/frontend/src/components/Navbar.tsx index 67470b7..756ac02 100644 --- a/apps/frontend/src/components/Navbar.tsx +++ b/apps/frontend/src/components/Navbar.tsx @@ -1,28 +1,28 @@ export default function Navbar() { return ( -
+