diff --git a/src/assets/images/bannerImg.png b/src/assets/images/bannerImg.png
new file mode 100644
index 0000000..9f5f92f
Binary files /dev/null and b/src/assets/images/bannerImg.png differ
diff --git a/src/components/AmountCard/AmountCard.jsx b/src/components/AmountCard/AmountCard.jsx
index 43c0702..f9050fb 100644
--- a/src/components/AmountCard/AmountCard.jsx
+++ b/src/components/AmountCard/AmountCard.jsx
@@ -9,13 +9,107 @@ import {
VStack,
} from "@chakra-ui/react";
import React from "react";
+import { FaFileAlt, FaShoppingCart } from "react-icons/fa";
+import { FaClipboard, FaGlobe, FaWallet } from "react-icons/fa6";
import { PiWalletFill } from "react-icons/pi";
const AmountCard = () => {
const { colorMode, toggleColorMode } = useColorMode();
+ const statsData = [
+ {
+ label: "RBT Price",
+ value: "$53,000",
+ icon: ,
+ },
+ {
+ label: "Transaction",
+ value: "2,300",
+ icon: ,
+ },
+ {
+ label: "DID count",
+ value: "+3,052",
+ icon: ,
+ },
+ ];
+
+ const statsDataFour = [
+ {
+ label: "Total Supply",
+ value: "$173,000",
+ icon: ,
+ },
+ {
+ label: "Circulating Supply",
+ value: "$173,000",
+ icon: ,
+ },
+ {
+ label: "Pledged RBT",
+ value: "$173,000",
+ icon: ,
+ },
+ {
+ label: "Pledged RBT",
+ value: "$173,000",
+ icon: ,
+ },
+ ];
+
return (
+
+
+ {statsData.map((item, index) => (
+
+
+
+ {item.label}
+
+
+ {item.value}
+
+
+
+ {item.icon}
+
+
+ ))}
+
+
{
justifyContent="center"
alignItems="center"
>
-
-
-
- RBT Price
-
-
- $53,000
-
-
- (
+
-
-
-
-
-
-
+
+ {item.label}
+
+
+ {item.value}
+
+
+
- RBT Price
-
-
- $53,000
-
-
-
-
-
-
-
-
-
- RBT Price
-
-
- $53,000
-
-
-
-
-
-
-
-
-
- RBT Price
-
-
- $53,000
-
-
-
-
-
-
-
-
-
- RBT Price
-
-
- $53,000
-
-
-
-
-
-
-
-
-
- RBT Price
-
-
- $53,000
-
-
-
-
-
-
-
-
-
- RBT Price
-
-
- $53,000
-
-
-
-
-
-
+ {item.icon}
+
+
+ ))}
diff --git a/src/components/LatestTransactions/LatestTransactions.jsx b/src/components/LatestTransactions/LatestTransactions.jsx
index 47e150b..e998b40 100644
--- a/src/components/LatestTransactions/LatestTransactions.jsx
+++ b/src/components/LatestTransactions/LatestTransactions.jsx
@@ -3,6 +3,7 @@ import React, { useContext } from "react";
import { MdOutlineErrorOutline } from "react-icons/md";
import Pagination from "../Pagination";
import GlobalStateContext from "../../Contexts/GlobalStateContext";
+import { Link } from "react-router-dom";
@@ -45,7 +46,9 @@ const LatestTransactions = () => {
Sender :
- {transaction.sender}
+
+ {transaction.sender}
+
Receiver :
diff --git a/src/components/NavBar/NavBar.jsx b/src/components/NavBar/NavBar.jsx
index a3123dc..f30a203 100644
--- a/src/components/NavBar/NavBar.jsx
+++ b/src/components/NavBar/NavBar.jsx
@@ -53,7 +53,7 @@ const NavBar = () => {
id="navbar"
// bg={colorMode === "light" ? "light" : "black.900"}
color={colorMode === "light" ? "light" : "black.900"}
- padding={"15px 0px"}
+ padding={"22px 0px"}
// borderBottom={"1px solid #ccc"}
borderBottom={colorMode === "light" ? "1px solid #ccc" : "none"}
>
diff --git a/src/components/Pagination.jsx b/src/components/Pagination.jsx
index 7a620d7..4615e0c 100644
--- a/src/components/Pagination.jsx
+++ b/src/components/Pagination.jsx
@@ -60,7 +60,7 @@ const Pagination = ({
className="link pointer"
isDisabled={currentPage === 1}
aria-label="Previous Page"
- bg={colorMode === "light" ? "light.100" : "#757575"}
+ bg={colorMode === "light" ? "light.100" : "#232127"}
border={colorMode === "light" ? "1px solid #a39797" : "#757575"}
>
Previous
@@ -87,7 +87,7 @@ const Pagination = ({
className="link pointer"
isDisabled={currentPage === totalPages}
aria-label="Previous Page"
- bg={colorMode === "light" ? "light.100" : "#757575"}
+ bg={colorMode === "light" ? "light.100" : "#232127"}
border={colorMode === "light" ? "1px solid #a39797" : "#757575"}
>
Next
diff --git a/src/components/SwitchBtn/SwitchBtn.jsx b/src/components/SwitchBtn/SwitchBtn.jsx
index 315c91b..b402354 100644
--- a/src/components/SwitchBtn/SwitchBtn.jsx
+++ b/src/components/SwitchBtn/SwitchBtn.jsx
@@ -19,8 +19,8 @@ const SwitchBtn = ({ isSwitchOn, setIsSwitchOn }) => {
display="flex"
justifyContent="normal"
alignItems="center"
- width="90px"
- height="45px"
+ width="80px"
+ height="35px"
borderRadius="50px"
// backgroundColor={"#27262B"}
onClick={switch_onChange_handle}
@@ -29,15 +29,15 @@ const SwitchBtn = ({ isSwitchOn, setIsSwitchOn }) => {
_before={{
content: '""',
position: "absolute",
- width: "32px",
- height: "32px",
+ width: "28px",
+ height: "28px",
borderRadius: "50%",
backgroundColor: colorMode === "light" ? "#fff" : "#D9D9D933",
boxShadow: "0 2px 4px rgba(0, 0, 0, 0.2)",
- transform: isSwitchOn ? "translateX(48px)" : "translateX(0)",
+ transform: isSwitchOn ? "translateX(42px)" : "translateX(0)",
transition: "transform 0.2s",
left: "5px",
- top:"6px"
+ top:"3px"
}}
>
{
position="absolute"
left={isSwitchOn ? "10px" : "auto"}
right={isSwitchOn ? "auto" : "10px"}
- fontSize={"25px"}
+ fontSize={"24px"}
/>
diff --git a/src/components/SwitchBtn/SwitchCharts.jsx b/src/components/SwitchBtn/SwitchCharts.jsx
index ac8a69a..5e5070e 100644
--- a/src/components/SwitchBtn/SwitchCharts.jsx
+++ b/src/components/SwitchBtn/SwitchCharts.jsx
@@ -24,8 +24,8 @@ const SwitchCharts = ({ isSwitchOn, setIsSwitchOn }) => {
display="flex"
justifyContent="normal"
alignItems="center"
- width="150px"
- height="45px"
+ width="130px"
+ height="40px"
borderRadius="10px"
// backgroundColor={"#27262B"}
onClick={switch_onChange_handle}
@@ -34,20 +34,20 @@ const SwitchCharts = ({ isSwitchOn, setIsSwitchOn }) => {
_before={{
content: '""',
position: "absolute",
- width: "60px",
- height: "32px",
+ width: "40px",
+ height: "25px",
borderRadius: "10px",
- backgroundColor: "#fff",
+ backgroundColor: colorMode === "light" ? "#DEDBEB" : "#fff", // Correct usage of backgroundColor
boxShadow: "0 2px 4px rgba(0, 0, 0, 0.2)",
transform: isSwitchOn ? "translateX(80px)" : "translateX(0)",
transition: "transform 0.2s",
- left: "5px",
- top: "6px",
+ left: "4px",
+ top: "7px",
}}
+
>
{
const [isSwitchOn, setIsSwitchOn] = useState(true);
@@ -26,9 +27,11 @@ const Home = () => {
return (
<>
-
@@ -37,21 +40,24 @@ const Home = () => {
width={"100%"}
size="sm"
bg={colorMode === "light" ? "light.100" : "#393939"}
- border={"none"}
+ // border={"none"}
rounded={5}
>
setSearchTerm(e.target.value)}
_placeholder={colorMode === "light" ? "red" : "red"}
+ _focusVisible={{
+ borderColor:
+ colorMode === "light" ? "none" : "1px solid #230A79",
+ }}
/>