From 505ee379175fcc029f8c6b5be0e4e866f891c502 Mon Sep 17 00:00:00 2001 From: Michal Masrna <38047051+michalmasrna1@users.noreply.github.com> Date: Sat, 11 Nov 2023 20:06:18 +0100 Subject: [PATCH] 129 form fields styles (#178) * RegisterForm content width from 2 to 1 * Profile export name renaming * ProfileDetail contentWidth from 2 to 1 * all registration components delegate to the strom/registracia page * Profile contentWidth from 2 to 1 * Profile contentWidth back to 2 --- src/pages/malynar/profil/index.tsx | 4 ++-- src/pages/malynar/registracia.tsx | 11 ++++------- src/pages/matik/profil/index.tsx | 4 ++-- src/pages/matik/registracia.tsx | 11 ++++------- src/pages/strom/profil/index.tsx | 4 ++-- src/pages/strom/profil/uprava.tsx | 2 +- src/pages/strom/registracia.tsx | 2 +- 7 files changed, 16 insertions(+), 22 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/malynar/registracia.tsx b/src/pages/malynar/registracia.tsx index e0e4ac22..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/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/matik/registracia.tsx b/src/pages/matik/registracia.tsx index e0e4ac22..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 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 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 = () => ( - + ) 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 = () => ( - + )