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

[ShadCN]: Migrate CreateAccount Screen #14808

Open
wants to merge 18 commits into
base: dev
Choose a base branch
from

Conversation

TylerAPfledderer
Copy link
Contributor

@TylerAPfledderer TylerAPfledderer commented Feb 2, 2025

Description

Create stories and migrate components for the CreateAccount simulator screen to Tailwind/ShadCN

Copy link

netlify bot commented Feb 2, 2025

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 3bd1bac
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/67a050a3125b7d0008dd601e
😎 Deploy Preview https://deploy-preview-14808--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 43 (🔴 down 5 from production)
Accessibility: 95 (🟢 up 3 from production)
Best Practices: 89 (🔴 down 9 from production)
SEO: 98 (no change from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@TylerAPfledderer TylerAPfledderer force-pushed the feat/shadcn-migrate-simulator-create-account-screen branch from 54fd7a7 to 34b2322 Compare February 3, 2025 04:59
@TylerAPfledderer TylerAPfledderer changed the title [WIP][ShadCN]: Migrate CreateAccount Screen [ShadCN]: Migrate CreateAccount Screen Feb 3, 2025
@TylerAPfledderer TylerAPfledderer marked this pull request as ready for review February 3, 2025 05:19
Copy link
Member

@pettinarip pettinarip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TylerAPfledderer 🚀

One minor overflow issue with the Next button:
image
similar issue in mobile:
image

>
<Spinner w={SPINNER_SIZE} h={SPINNER_SIZE} />
<Spinner className={SPINNER_SIZE} />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a blocker but we could set this size directly in the Spinner component as it default value/size

Comment on lines +17 to +18
"shadow-[0_0_7px_0_var(--eth-colors-blackAlpha-800)]",
"shadow-[0_0_7px_0_var(--eth-colors-whiteAlpha-800)]"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets simplify this by using shadow-md

`}
transitionDelay={numToMsString(getDelayFromIndex(index))}
position="relative"
className={`[--display-delay:${numToMsString(getDelayFromIndex(index))}] delay-(--display-delay)`}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

overflow="hidden"
w="full"
>
<div className="h-90 grid w-full grid-cols-4 gap-2 overflow-hidden whitespace-nowrap md:h-[152px]">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<div className="h-90 grid w-full grid-cols-4 gap-2 overflow-hidden whitespace-nowrap md:h-[152px]">
<div className="h-[90px] grid w-full grid-cols-4 gap-2 overflow-hidden whitespace-nowrap md:h-[152px]">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants