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

feat: add new minimal connect button, connect wallet #224

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vacekj
Copy link
Member

@vacekj vacekj commented Dec 18, 2024

fixes #212

@vacekj vacekj linked an issue Dec 18, 2024 that may be closed by this pull request
@vacekj vacekj requested a review from a team December 18, 2024 23:03
)}
</Density>
{variant === 'default' ? (
<Density sparse>
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion (non-blocking):

Suggested change
<Density sparse>
<Density variant={variant === 'default' ? 'sparse' : 'compact'}>

Since penumbra-zone/web#1942, it is possible to provide dynamic variant prop to Density, to not duplicate the code

{error && (
<div className='w-full h-full flex items-center justify-center'>
<div className='w-[450px] h-full flex items-center justify-center'>
<BlockchainError onDetailsClick={() => console.log('Details clicked')} />
Copy link
Contributor

Choose a reason for hiding this comment

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

question: in the near future, this should open the dialog, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, that's the next step for this PR, I wanted a preliminary review regardless.

@TalDerei TalDerei self-requested a review December 19, 2024 11:38
Copy link
Contributor

@TalDerei TalDerei left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

Implement "Connect Wallet" design to Positions tab
3 participants