From 5325adef8d00708b24436debcd09e1e15af47124 Mon Sep 17 00:00:00 2001 From: Giuliano Conti Date: Mon, 23 Sep 2024 13:06:09 -0300 Subject: [PATCH] Portal logo changed - Info icon added in tx page (#828) --- src/components/atoms/ProtocolIcon/index.tsx | 46 +++++--------- src/pages/Tx/Information/Overview/index.tsx | 62 +++++++++++++------ src/pages/Tx/Information/Overview/styles.scss | 6 ++ 3 files changed, 67 insertions(+), 47 deletions(-) diff --git a/src/components/atoms/ProtocolIcon/index.tsx b/src/components/atoms/ProtocolIcon/index.tsx index cf89ac21..b1694fe7 100644 --- a/src/components/atoms/ProtocolIcon/index.tsx +++ b/src/components/atoms/ProtocolIcon/index.tsx @@ -55,41 +55,29 @@ const PortalIcon = ({ width }: { width: number }) => ( - - - - - - - - - - - - - + + + + + + ); diff --git a/src/pages/Tx/Information/Overview/index.tsx b/src/pages/Tx/Information/Overview/index.tsx index a572df0f..118fb3f5 100644 --- a/src/pages/Tx/Information/Overview/index.tsx +++ b/src/pages/Tx/Information/Overview/index.tsx @@ -163,7 +163,9 @@ const Overview = ({ } className="tx-overview-section-info-tooltip" > - Status + + Status + @@ -180,11 +182,9 @@ const Overview = ({ > {STATUS === "IN_PROGRESS" ? "1" - : STATUS === "IN_GOVERNORS" + : STATUS === "IN_GOVERNORS" || STATUS === "VAA_EMITTED" ? "2" - : STATUS === "VAA_EMITTED" - ? "2" - : STATUS === "PENDING_REDEEM" + : STATUS === "PENDING_REDEEM" || STATUS === "EXTERNAL_TX" ? "3" : STATUS === "COMPLETED" ? isJustGenericRelayer @@ -346,7 +346,9 @@ const Overview = ({ } className="tx-overview-section-info-tooltip" > - Source Tx Hash + + Source Tx Hash + @@ -394,7 +396,9 @@ const Overview = ({ } > - Gateway Tx Hash + + Gateway Tx Hash + @@ -432,7 +436,9 @@ const Overview = ({ } className="tx-overview-section-info-tooltip" > - Protocols + + Protocols +
@@ -462,7 +468,9 @@ const Overview = ({ } className="tx-overview-section-info-tooltip" > - Source App Contract + + Source App Contract +
@@ -510,7 +518,9 @@ const Overview = ({ } className="tx-overview-section-info-tooltip" > - Contract Address + + Contract Address +
@@ -577,7 +587,9 @@ const Overview = ({
} > - Transaction Action + + Transaction Action + @@ -717,7 +729,9 @@ const Overview = ({ } className="tx-overview-section-info-tooltip" > - Chains + + Chains + @@ -1215,7 +1229,9 @@ const Overview = ({
} > - Transaction Fee + + Transaction Fee +
@@ -1364,7 +1380,9 @@ const Overview = ({
} > - Initial Time + + Initial Time +
@@ -1383,7 +1401,9 @@ const Overview = ({
} > - Signatures + + Signatures +
@@ -1422,7 +1442,9 @@ const Overview = ({
} > - VAA ID + + VAA ID +
@@ -1463,7 +1485,9 @@ const Overview = ({
} > - Redeem Tx + + Redeem Tx +
@@ -1506,7 +1530,9 @@ const Overview = ({
} > - Complete Time + + Complete Time +
diff --git a/src/pages/Tx/Information/Overview/styles.scss b/src/pages/Tx/Information/Overview/styles.scss index 11c3caa4..e62adc43 100644 --- a/src/pages/Tx/Information/Overview/styles.scss +++ b/src/pages/Tx/Information/Overview/styles.scss @@ -319,7 +319,13 @@ white-space: nowrap; & > span { + @include centered-row; + gap: 4px; cursor: pointer; + + & > svg { + color: var(--color-gray-400); + } } }