Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECO-219: Fix mobile / desktop success UI #736

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/web/src/components/Basenames/RegistrationFlow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export function RegistrationFlow() {
show={isSuccess}
className={classNames(
'top-full z-40 pt-20 transition-opacity',
'mx-auto w-full max-w-[50rem]',
'mx-auto w-full',
registrationTransitionDuration,
)}
enter={classNames('transition-opacity', registrationTransitionDuration)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@ export default function RegistrationSuccessMessage() {
}, [logEventWithContext, redirectToProfile]);

return (
<div className="items-left mx-auto flex w-full max-w-[50rem] flex-col justify-between gap-6 rounded-3xl border border-[#266EFF] bg-blue-600 p-10 shadow-xl transition-all duration-500 md:flex-row md:items-center">
<h1 className="text-3xl font-bold tracking-wider text-white">
Congrats! This name is yours!
<div className="items-left mx-auto flex w-full max-w-[65rem] flex-col justify-between gap-6 rounded-3xl border border-[#266EFF] bg-blue-600 p-10 shadow-xl transition-all duration-500 md:flex-row md:items-center">
<h1 className="text-center text-3xl font-bold tracking-wider text-white md:text-left">
Congrats!
<br className="md:hidden" /> This name is yours!
</h1>
<div className="flex flex-col gap-4 md:flex-row">
<Button rounded fullWidth variant={ButtonVariants.Secondary} onClick={goToProfileOnClick}>
Go to Profile
</Button>

<Button rounded fullWidth onClick={customizeProfileOnClick}>
Customize Profile
</Button>
<Button rounded fullWidth variant={ButtonVariants.Secondary} onClick={goToProfileOnClick}>
Go to Profile
</Button>
</div>
</div>
);
Expand Down
Loading