Skip to content

Commit

Permalink
feat: maintain mode
Browse files Browse the repository at this point in the history
  • Loading branch information
quangdz1704 committed Aug 26, 2024
1 parent 30b17f0 commit 72eb749
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
10 changes: 10 additions & 0 deletions components/page/bridge/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
padding: 8px;
border-radius: 8px;

align-items: center;
justify-content: center;

.text {
flex: 1;
display: flex;
flex-direction: column;
gap: 8px;
}

font-size: 14px;
font-weight: 500;
line-height: 150%;
Expand Down
7 changes: 5 additions & 2 deletions components/page/bridge/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ const Bridge = () => {
toDisplay(amountsTon[token?.denom] || "0", token?.decimal);

// const isMaintained = fromNetwork.id === NetworkList.oraichain.id;
const isMaintained = false;
const isMaintained = true;

return (
<div className={styles.container}>
Expand All @@ -543,7 +543,10 @@ const Bridge = () => {
<div>
<WarningIcon />
</div>
Oraichain to Ton is under maintenance!
<div className={styles.text}>
<p>[NOTICE] The bridge is undergoing a 2-hour update</p>
<p>Please refrain from transactions during this time.</p>
</div>
</div>
)}

Expand Down

0 comments on commit 72eb749

Please sign in to comment.