@ -189,30 +189,32 @@ export default function FindingMatchClient() {
onGetAdvisor = { openAdvisors }
onGetAdvisor = { openAdvisors }
/ >
/ >
< / div >
< / div >
< FixToTheEnd >
{ profile ? . can_edit_profile === false ? (
< div
className = "inline-flex h-[52px] w-full items-center justify-center gap-2 rounded-[9px] border-none bg-[#D1D1D6] dark:bg-[#3D3E42] px-4 text-center text-[#747474] dark:text-[#A1A1A1] shadow-none"
aria - live = "polite"
>
< Ic name = "lock" aria - hidden = "true" className = "size-[18px] shrink-0" / >
< span className = "group-16 leading-none font-semibold" >
{ t [ "Profile is locked" ] }
< / span >
< / div >
) : (
< Button
variant = "dark"
href = { localizePath ( "/questions-list" , locale ) }
>
< Ic name = "pencil" aria - hidden = "true" className = "size-[18px] shrink-0" / >
< span > { copy . editProfile } < / span >
< / Button >
) }
< / FixToTheEnd >
< / main >
< / main >
{ / * O u t s i d e < m a i n > : p a g e - s l i d e - e n t e r s e t s w i l l - c h a n g e : t r a n s f o r m w h i c h m a k e s
main the containing block for position :fixed and narrows the button . * / }
< FixToTheEnd >
{ profile ? . can_edit_profile === false ? (
< div
className = "inline-flex h-[52px] w-full items-center justify-center gap-2 rounded-[9px] border-none bg-[#D1D1D6] dark:bg-[#3D3E42] px-4 text-center text-[#747474] dark:text-[#A1A1A1] shadow-none"
aria - live = "polite"
>
< Ic name = "lock" aria - hidden = "true" className = "size-[18px] shrink-0" / >
< span className = "group-16 leading-none font-semibold" >
{ t [ "Profile is locked" ] }
< / span >
< / div >
) : (
< Button
variant = "dark"
href = { localizePath ( "/questions-list" , locale ) }
>
< Ic name = "pencil" aria - hidden = "true" className = "size-[18px] shrink-0" / >
< span > { copy . editProfile } < / span >
< / Button >
) }
< / FixToTheEnd >
< MarriageAdvisorsOverlay
< MarriageAdvisorsOverlay
open = { isAdvisorOpen }
open = { isAdvisorOpen }
onClose = { closeAdvisors }
onClose = { closeAdvisors }