-
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gladys Plus: Add account expired banner on dashboard (#1270)
- Loading branch information
1 parent
8e69313
commit dc74e3a
Showing
8 changed files
with
56 additions
and
3 deletions.
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,13 @@ | ||
import { MarkupText } from 'preact-i18n'; | ||
import style from './style.css'; | ||
|
||
const GatewayAccountExpired = ({ children, ...props }) => ( | ||
<div class={style.gatewayExpiredDivBox}> | ||
<img src="/assets/images/undraw_credit_card_payments.svg" class={style.gatewayExpiredImage} /> | ||
<p class={style.gatewayExpiredText}> | ||
<MarkupText id="gateway.accountExpired" /> | ||
</p> | ||
</div> | ||
); | ||
|
||
export default GatewayAccountExpired; |
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,20 @@ | ||
.gatewayExpiredDivBox { | ||
width: 60%; | ||
max-width: 400px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
margin-top: 120px; | ||
text-align: center; | ||
} | ||
|
||
.gatewayExpiredText { | ||
margin-top: 20px; | ||
} | ||
|
||
.gatewayExpiredImage { | ||
margin-left: auto; | ||
margin-right: auto; | ||
display: block; | ||
width: 100%; | ||
max-width: 300px; | ||
} |
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
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