-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import {h} from 'preact' | ||
import {connect} from '../../../helpers/connect' | ||
import actions from '../../../actions' | ||
|
||
interface Props { | ||
closePremiumBanner: () => void | ||
} | ||
|
||
const PremiumBanner = ({closePremiumBanner}: Props) => { | ||
const premiumMessage = | ||
'VIP STAKING SERVICES - Do you own more than 3 million ADA? Contact us on adalite@vacuumlabs.com to join our VIP staking services. We will assign you a dedicated account manager and provide you with priority support.' | ||
return ( | ||
<div className="banner premium"> | ||
<div className="banner-text">{premiumMessage}</div> | ||
<button | ||
className="button close banner-close" | ||
{ | ||
...{ariaLabel: 'Close banner'} /* silence ts*/ | ||
} | ||
onClick={(e) => { | ||
closePremiumBanner() | ||
}} | ||
/> | ||
</div> | ||
) | ||
} | ||
|
||
export default connect( | ||
() => null, | ||
actions | ||
)(PremiumBanner) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters