From 5edc897971942baacbf26e636437f2c33ec9b46d Mon Sep 17 00:00:00 2001 From: Michal Masrna Date: Sat, 11 Nov 2023 17:13:04 +0100 Subject: [PATCH 1/6] RegisterForm content width from 2 to 1 --- src/pages/malynar/registracia.tsx | 2 +- src/pages/matik/registracia.tsx | 2 +- src/pages/strom/registracia.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/malynar/registracia.tsx b/src/pages/malynar/registracia.tsx index e0e4ac22..3c4b0201 100644 --- a/src/pages/malynar/registracia.tsx +++ b/src/pages/malynar/registracia.tsx @@ -4,7 +4,7 @@ import {PageLayout} from '@/components/PageLayout/PageLayout' import {RegisterForm} from '@/components/RegisterForm/RegisterForm' const Register: NextPage = () => ( - + ) diff --git a/src/pages/matik/registracia.tsx b/src/pages/matik/registracia.tsx index e0e4ac22..3c4b0201 100644 --- a/src/pages/matik/registracia.tsx +++ b/src/pages/matik/registracia.tsx @@ -4,7 +4,7 @@ import {PageLayout} from '@/components/PageLayout/PageLayout' import {RegisterForm} from '@/components/RegisterForm/RegisterForm' const Register: NextPage = () => ( - + ) diff --git a/src/pages/strom/registracia.tsx b/src/pages/strom/registracia.tsx index e0e4ac22..3c4b0201 100644 --- a/src/pages/strom/registracia.tsx +++ b/src/pages/strom/registracia.tsx @@ -4,7 +4,7 @@ import {PageLayout} from '@/components/PageLayout/PageLayout' import {RegisterForm} from '@/components/RegisterForm/RegisterForm' const Register: NextPage = () => ( - + ) From 9b3739b172f7f3198d1a418d1d2f10d2253ee35c Mon Sep 17 00:00:00 2001 From: Michal Masrna Date: Sat, 11 Nov 2023 17:13:35 +0100 Subject: [PATCH 2/6] Profile export name renaming --- src/pages/malynar/profil/index.tsx | 4 ++-- src/pages/matik/profil/index.tsx | 4 ++-- src/pages/strom/profil/index.tsx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/malynar/profil/index.tsx b/src/pages/malynar/profil/index.tsx index 7caea213..9f0b40e0 100644 --- a/src/pages/malynar/profil/index.tsx +++ b/src/pages/malynar/profil/index.tsx @@ -2,8 +2,8 @@ import {NextPage} from 'next' import Page from '../../strom/profil/index' -const Vysledky: NextPage = () => { +const Profile: NextPage = () => { return } -export default Vysledky +export default Profile diff --git a/src/pages/matik/profil/index.tsx b/src/pages/matik/profil/index.tsx index 7caea213..9f0b40e0 100644 --- a/src/pages/matik/profil/index.tsx +++ b/src/pages/matik/profil/index.tsx @@ -2,8 +2,8 @@ import {NextPage} from 'next' import Page from '../../strom/profil/index' -const Vysledky: NextPage = () => { +const Profile: NextPage = () => { return } -export default Vysledky +export default Profile diff --git a/src/pages/strom/profil/index.tsx b/src/pages/strom/profil/index.tsx index 96b9940f..467b6ace 100644 --- a/src/pages/strom/profil/index.tsx +++ b/src/pages/strom/profil/index.tsx @@ -3,10 +3,10 @@ import {NextPage} from 'next' import {PageLayout} from '@/components/PageLayout/PageLayout' import {ProfileDetail} from '@/components/Profile/ProfileDetail' -const Profil: NextPage = () => ( +const Profile: NextPage = () => ( ) -export default Profil +export default Profile From bfcb3b7f25d5a6d34693744391b265950f2e993b Mon Sep 17 00:00:00 2001 From: Michal Masrna Date: Sat, 11 Nov 2023 17:14:08 +0100 Subject: [PATCH 3/6] ProfileDetail contentWidth from 2 to 1 --- src/pages/strom/profil/uprava.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/strom/profil/uprava.tsx b/src/pages/strom/profil/uprava.tsx index fd1f514e..a4b95216 100644 --- a/src/pages/strom/profil/uprava.tsx +++ b/src/pages/strom/profil/uprava.tsx @@ -4,7 +4,7 @@ import {PageLayout} from '@/components/PageLayout/PageLayout' import {ProfileForm} from '@/components/Profile/ProfileForm' const Profil: NextPage = () => ( - + ) From e0f576c4293ec2b84de534aece2056460a5af7bc Mon Sep 17 00:00:00 2001 From: Michal Masrna Date: Sat, 11 Nov 2023 17:16:47 +0100 Subject: [PATCH 4/6] all registration components delegate to the strom/registracia page --- src/pages/malynar/registracia.tsx | 11 ++++------- src/pages/matik/registracia.tsx | 11 ++++------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/src/pages/malynar/registracia.tsx b/src/pages/malynar/registracia.tsx index 3c4b0201..ded2a74a 100644 --- a/src/pages/malynar/registracia.tsx +++ b/src/pages/malynar/registracia.tsx @@ -1,12 +1,9 @@ import {NextPage} from 'next' -import {PageLayout} from '@/components/PageLayout/PageLayout' -import {RegisterForm} from '@/components/RegisterForm/RegisterForm' +import Page from '../strom/registracia' -const Register: NextPage = () => ( - - - -) +const Register: NextPage = () => { + return +} export default Register diff --git a/src/pages/matik/registracia.tsx b/src/pages/matik/registracia.tsx index 3c4b0201..ded2a74a 100644 --- a/src/pages/matik/registracia.tsx +++ b/src/pages/matik/registracia.tsx @@ -1,12 +1,9 @@ import {NextPage} from 'next' -import {PageLayout} from '@/components/PageLayout/PageLayout' -import {RegisterForm} from '@/components/RegisterForm/RegisterForm' +import Page from '../strom/registracia' -const Register: NextPage = () => ( - - - -) +const Register: NextPage = () => { + return +} export default Register From 44d0d5c65314ad394246396bcc87ea6ae9362eae Mon Sep 17 00:00:00 2001 From: Michal Masrna Date: Sat, 11 Nov 2023 17:18:56 +0100 Subject: [PATCH 5/6] Profile contentWidth from 2 to 1 --- src/pages/strom/profil/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/strom/profil/index.tsx b/src/pages/strom/profil/index.tsx index 467b6ace..0b142fcf 100644 --- a/src/pages/strom/profil/index.tsx +++ b/src/pages/strom/profil/index.tsx @@ -4,7 +4,7 @@ import {PageLayout} from '@/components/PageLayout/PageLayout' import {ProfileDetail} from '@/components/Profile/ProfileDetail' const Profile: NextPage = () => ( - + ) From 9640b80a6025c470e31b67738006b2a64cd43273 Mon Sep 17 00:00:00 2001 From: Michal Masrna Date: Sat, 11 Nov 2023 19:59:04 +0100 Subject: [PATCH 6/6] Profile contentWidth back to 2 --- src/pages/strom/profil/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/strom/profil/index.tsx b/src/pages/strom/profil/index.tsx index 0b142fcf..467b6ace 100644 --- a/src/pages/strom/profil/index.tsx +++ b/src/pages/strom/profil/index.tsx @@ -4,7 +4,7 @@ import {PageLayout} from '@/components/PageLayout/PageLayout' import {ProfileDetail} from '@/components/Profile/ProfileDetail' const Profile: NextPage = () => ( - + )