Skip to content

Commit

Permalink
#319 - add planned outage - in progress banner
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo committed Aug 18, 2023
1 parent 67797e3 commit 5fdf1da
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 20 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xlabs/portal-bridge-ui",
"version": "0.1.66",
"version": "0.1.67",
"private": true,
"dependencies": {
"@certusone/wormhole-sdk": "^0.9.22",
Expand Down
4 changes: 2 additions & 2 deletions src/components/ConnectWalletButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const ConnectWalletButton = ({ chainId }: { chainId: ChainId }) => {
? openDialog()
: connect(availableWallets[0]);
}, [openDialog, availableWallets, connect, chainId]);

const disabled = true; // TODO remove once outage is done
return (
<>
{isDetectingWallets && (
Expand All @@ -112,7 +112,7 @@ const ConnectWalletButton = ({ chainId }: { chainId: ChainId }) => {
disconnect={disconnect}
connected={!!pk}
pk={pk || ""}
disabled={isDetectingWallets || walletsNotAvailable}
disabled={disabled || isDetectingWallets || walletsNotAvailable}
/>
<ConnectWalletDialog
isOpen={isDialogOpen}
Expand Down
28 changes: 13 additions & 15 deletions src/components/HeaderText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ const useStyles = makeStyles((theme) => ({
textAlign: "left",
display: "flex",
width: "792px",
height: "282px",
height: "258px",
padding: theme.spacing(4), // 32px
justifyContent: "center",
alignItems: "flex-start",
gap: "16px",
borderRadius: "28px",
background: "rgba(193, 149, 49, 0.10)",
background: "rgba(255, 42, 87, 0.10)",
border: "none",
lineHeight: "24px",
"& .MuiAlertTitle-root": {
color: "#FBECD0",
color: "#FFE3E9",
fontWeight: 700,
marginBottom: theme.spacing(3),
},
Expand All @@ -51,7 +51,7 @@ const useStyles = makeStyles((theme) => ({
marginRight: "55px",
flexShrink: 0,
"& .MuiTypography-paragraph": {
color: "#FBECD0",
color: "#FFE3E9",
fontFamily: "Poppins",
fontSize: "14px",
fontStyle: "normal",
Expand All @@ -61,11 +61,11 @@ const useStyles = makeStyles((theme) => ({
},
},
"& span": {
color: "#EEB32A",
color: "#FFE3E9",
fontWeight: 700,
},
"& .MuiLink-root": {
color: "#FBECD0",
color: "#FFE3E9",
fontFamily: "Poppins",
fontSize: "14px",
fontStyle: "normal",
Expand All @@ -80,21 +80,19 @@ const useStyles = makeStyles((theme) => ({
function Notice() {
const style = useStyles();
return (
<Alert severity="warning" className={style.alert}>
<Alert severity="error" className={style.alert}>
<AlertTitle>
Wormhole Upgrade Approaching - Expect Temporary Downtime
Wormhole Upgrade In Progress - Temporary Downtime In Effect
</AlertTitle>
<Box>
<Typography paragraph>
A required upgrade is being coordinated and executed by the network of
Wormhole Guardian (validator) nodes to add Gateway to the Wormhole
stack.
A required upgrade is being executed by the network of Wormhole
Guardian (validator) nodes to add Gateway to the Wormhole stack.
</Typography>
<Typography paragraph>
Please take note that token bridging will pause for several hours on{" "}
<br />
<Typography component="span">Monday, August 21, 2023</Typography>{" "}
during the upgrade.
<Typography component="span">
Token bridging is currently paused.{" "}
</Typography>{" "}
</Typography>
<Typography paragraph>
Follow:{" "}
Expand Down

0 comments on commit 5fdf1da

Please sign in to comment.