Skip to content

Commit

Permalink
Merge pull request #98 from leo42/Warnings
Browse files Browse the repository at this point in the history
Implement Info msg on delegation center
  • Loading branch information
leo42 authored Dec 30, 2024
2 parents b5b458d + 927084d commit a54e2f9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Fe/src/components/WalletDelegation.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@
height: fit-content;
}

.BetaInfo{
margin-top: 20px;
margin-bottom: 20px;
font-size: 15px;
color: var(--clrorange);
width: 100%;
text-align: center;
line-height: 1.5em;

}

.DelegationCenter .DelegationInfo{
display: flex;
flex-direction: column;
Expand Down
8 changes: 8 additions & 0 deletions Fe/src/components/WalletDelegation.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ function WalletDelegation(props) {
) )

return (
<div className='DelegationContainer'>
<div className='BetaInfo'>
Beta delegation is available for dRep, Delegation transactions now perform dRep and Stakepool delegation simontaniusly <br />
You have to enter the poolId in the bench format (e.g. pool13846y7q7tng3endxhet9qdcz5w0fjs09ytcye4dm5g54wmyqeqr) <br />
You have to enter the dRep CIP129 id (e.g. drep13846y7q7tng3endxhet9qdcz5w0fjs09ytcye4dm5g54wmyqeqr) <br />

</div>
<div className="DelegationCenter">
<div className='DelegationInfo'>
{delegationInfo()}
Expand Down Expand Up @@ -172,6 +179,7 @@ function WalletDelegation(props) {
</form>
</div>
</div>
</div>
);

}
Expand Down

0 comments on commit a54e2f9

Please sign in to comment.