Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

outage banner - in progress #322

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading