-
setActiveTab(Tabs.Deposit)}>Deposit
-
Withdraw
-
{setActiveTab(Tabs.Activity)}}>
+
setActiveTab(Tabs.Deposit)}>Deposit
+
Withdraw
+
{setActiveTab(Tabs.Activity)}}>
@@ -27,6 +30,8 @@ const Deposit: React.FC
= ({ amountEther, setAmountEther }) => {
{ activeTab === Tabs.Activity && }
+
+ >
);
}
diff --git a/app/components/deposit/styles.css b/app/components/deposit/styles.css
index 2e3b46d..5ac4c10 100644
--- a/app/components/deposit/styles.css
+++ b/app/components/deposit/styles.css
@@ -50,6 +50,12 @@
.header-tabs div.active {
color: #a3ffa5; /* Light green color for active tab text */
background-color: rgba(161, 254, 160, 0.05);
+ transition: background-color 300ms var(--ease-out-quad), color 300ms var(--ease-out-quad);
+ path {
+ stroke-opacity: 1;
+ stroke: #a3ffa5;
+ transition: stroke-opacity 300ms var(--ease-out-quad);
+ }
}
.header-tabs div.inactive {
diff --git a/app/components/deposit/transaction-details.css b/app/components/deposit/transaction-details.css
new file mode 100644
index 0000000..96bc219
--- /dev/null
+++ b/app/components/deposit/transaction-details.css
@@ -0,0 +1,103 @@
+.transaction-details-modal {
+ z-index: 500;
+
+ top: 40px;
+
+ width: 494px;
+ height: 631px;
+ padding: 20px;
+
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ background: rgba(6, 6, 6, 1);
+ border-radius: 30px;
+}
+
+.modal-cross {
+ width: 14px;
+ height: 14px;
+ cursor: pointer;
+}
+
+.transaction-details-header {
+ width: 100%;
+ font-size: 20px;
+ line-height: 26px;
+ font-weight: 500;
+}
+
+.logo-header {
+ background: rgba(255, 255, 255, 0.04);
+ border-radius: 70px;
+ width: 192px;
+ height: 75px;
+ margin-top: 30px;
+ padding: 10px;
+ gap: 25px;
+}
+
+.status-panel {
+ width: 100%;
+ height: 192px;
+ background: rgba(255, 255, 255, 0.03);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ border-radius: 10px;
+ margin-top: 30px;
+ .white-text {
+ font-weight: 500;
+ font-size: 18px;
+ line-height: 23.4px;
+ }
+ .gray-text {
+ font-weight: 500;
+ font-size: 16px;
+ line-height: 20.8px;
+ }
+}
+
+.panel-elem {
+ padding: 14px;
+ width: 100%;
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
+}
+
+.panel-elem:nth-of-type(3) {
+ border-bottom: none;
+}
+
+.left-side {
+ gap: 8px;
+}
+
+.done-item{
+ color: #A1FEA0;
+ background: rgba(161, 254, 160, 0.05);
+ font-size: 16px;
+ font-weight: 500;
+ border-radius: 30px;
+ padding: 6px 12px 6px 6px;
+}
+
+.tx-done-icon {
+ width: 24px;
+ height: 24px;
+}
+
+.info-name {
+ font-weight: 500;
+ font-size: 16px;
+}
+
+.green-text {
+ color: rgba(161, 254, 160, 1);
+ font-size: 16px;
+}
+
+.done-button {
+ margin-top: 20px;
+ background: rgba(255, 255, 255, 0.05);
+ border-radius: 10px;
+ font-size: 20px;
+ width: 100%;
+ font-weight: 500;
+ height: 58px;
+}
diff --git a/app/components/deposit/transactionDetails.tsx b/app/components/deposit/transactionDetails.tsx
new file mode 100644
index 0000000..bc8ef10
--- /dev/null
+++ b/app/components/deposit/transactionDetails.tsx
@@ -0,0 +1,111 @@
+import "./transaction-details.css"
+import { Cross, Arrow } from "../icons"
+import { TransactionIcon } from "../icons";
+
+export const TransactionDetails = () => {
+ return (
+
+
+
+
+
+
+
+
+
+
+
+
1. Confirming transaction
+
View Txn
+
+
+
+ Done
+
+
+
+
+
+
+
+
+
+
3. Receive on Eclipse
+
View Txn
+
+
+
+ Done
+
+
+
+
+
+
+
Deposit Amount
+
+ $3,705
+ 1.235 ETH
+
+
+
+
+
Transaction Fee
+
+ $1.348
+ 0.0004 ETH
+
+
+
+
+
Asset
+
+
+
Ethereum
+
+
+
+
+
+
+
+
+
+ )
+};
+
diff --git a/app/components/icons/transaction-icon.tsx b/app/components/icons/transaction-icon.tsx
index 77dde78..24c7b61 100644
--- a/app/components/icons/transaction-icon.tsx
+++ b/app/components/icons/transaction-icon.tsx
@@ -1,7 +1,7 @@
import React from 'react';
import { Loading } from "./index"
-const TransactionIcon = ({ iconType }: { iconType: string}) => {
+const TransactionIcon = ({ iconType, className }: { iconType: string, className?: string}) => {
if (iconType === "failed") {
return (