File tree Expand file tree Collapse file tree
web/src/app/[locale]/registration Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11"use client" ;
22
33import Avatar from "@/components/Avatar" ;
4+ import LanguageSwitcher from "@/components/LanguageSelectar" ;
45import { IMAGE_PREVIEW_URL_SESSION_STORAGE_KEY , STEP_1_DATA_SESSION_STORAGE_KEY } from "@/consts" ;
56import { useUserFormContext } from "@/features/settings/UserFormController" ;
67import { useToast } from "@/features/toast/ToastProvider" ;
@@ -22,7 +23,11 @@ export default function Page() {
2223 return (
2324 < >
2425 < div className = "my-5 p-4 sm:my-20 md:mx-10 2xl:mx-60" >
25- < h1 className = "mx-5 mb-8 font-bold text-3xl sm:mx-0" > { t ( "registration.title" ) } </ h1 >
26+ < div className = "flex justify-between" >
27+ < h1 className = "mx-5 mb-8 font-bold text-3xl sm:mx-0" > { t ( "registration.title" ) } </ h1 >
28+ < LanguageSwitcher />
29+ </ div >
30+
2631 < form
2732 onSubmit = { async ( ev ) => {
2833 ev . preventDefault ( ) ;
Original file line number Diff line number Diff line change 11"use client" ;
22
33import { client } from "@/client" ;
4+ import LanguageSwitcher from "@/components/LanguageSelectar.tsx" ;
45import { IMAGE_PREVIEW_URL_SESSION_STORAGE_KEY , STEP_1_DATA_SESSION_STORAGE_KEY } from "@/consts" ;
56import { auth } from "@/features/auth/config" ;
67import { type Status , useUserFormContext } from "@/features/settings/UserFormController" ;
@@ -87,7 +88,10 @@ export default function Page() {
8788 return (
8889 < >
8990 < div className = "my-5 p-4 sm:my-20 md:mx-10 2xl:mx-60 " >
90- < h1 className = "mx-5 mb-8 font-bold text-3xl sm:mx-0" > { t ( "registration.title" ) } </ h1 >
91+ < div className = "flex justify-between" >
92+ < h1 className = "mx-5 mb-8 font-bold text-3xl sm:mx-0" > { t ( "registration.title" ) } </ h1 >
93+ < LanguageSwitcher />
94+ </ div >
9195 < form onSubmit = { handleSubmit } className = "flex flex-col gap-3" >
9296 < div >
9397 < div className = "px-15 sm:my-10" >
You can’t perform that action at this time.
0 commit comments