Skip to content

Commit

Permalink
[CHORE]: Improve UX of custom logo screens (#806)
Browse files Browse the repository at this point in the history
improve UX of custom logo screens
  • Loading branch information
shatfield4 authored Feb 26, 2024
1 parent 6d18d79 commit 4d74f23
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,14 @@ export default function CustomLogo() {
</div>
</div>
</label>
<button
onClick={handleRemoveLogo}
className="text-white text-base font-medium hover:text-opacity-60"
>
Delete
</button>
{!isDefaultLogo && (
<button
onClick={handleRemoveLogo}
className="text-white text-base font-medium hover:text-opacity-60"
>
Delete
</button>
)}
</div>
</div>
</div>
Expand Down
22 changes: 15 additions & 7 deletions frontend/src/pages/OnboardingFlow/Steps/CustomLogo/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,21 @@ export default function CustomLogo({ setHeader, setForwardBtn, setBackBtn }) {
/>
</div>
)}

<button
onClick={handleRemoveLogo}
className="text-white text-base font-medium hover:text-opacity-60 mt-8"
>
Remove logo
</button>
{!isDefaultLogo ? (
<button
onClick={handleRemoveLogo}
className="text-white text-base font-medium hover:text-opacity-60 mt-8"
>
Remove logo
</button>
) : (
<button
onClick={handleForward}
className="text-white text-base font-medium hover:text-opacity-60 mt-8"
>
Skip
</button>
)}
</div>
</div>
);
Expand Down

0 comments on commit 4d74f23

Please sign in to comment.