diff --git a/package-lock.json b/package-lock.json index 326e4f8..d506ffa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2831,14 +2831,14 @@ "version": "15.7.13", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.13.tgz", "integrity": "sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/@types/react": { "version": "18.3.8", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.8.tgz", "integrity": "sha512-syBUrW3/XpnW4WJ41Pft+I+aPoDVbrBVQGEnbD7NijDGlVC+8gV/XKRY+7vMDlfPpbwYt0l1vd/Sj8bJGMbs9Q==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/prop-types": "*", diff --git a/src/components/AmountCard/AmountCard.jsx b/src/components/AmountCard/AmountCard.jsx index 11230db..1c62bd5 100644 --- a/src/components/AmountCard/AmountCard.jsx +++ b/src/components/AmountCard/AmountCard.jsx @@ -63,8 +63,9 @@ const AmountCard = () => { { { return ( + bg={colorMode === "light" ? "#fff" : "none"} + backgroundImage={colorMode !== "light" ? `url(${bannerImage})` : "none"} + backgroundSize="contain" + backgroundRepeat="no-repeat"> @@ -45,7 +45,6 @@ const Home = () => { bg={colorMode === "light" ? "light.100" : "#393939"} // border={"none"} rounded={'lg'} - > { colorMode === "light" ? "#230A79" : "#7f8c8d", }} /> - {/* */} - - navigate(`/transaction/${searchTerm}`)} - border={`1px solid ${ - colorMode === "light" ? "#230A79" : "#565252" - }`} - > + position={"inherit"} + right={"0"} + h={"42px"} + w={{base :'64px',md :'6%'}} + roundedRight={7} + display={"flex"} + justifyContent={"center"} + alignItems={"center"} + bg={colorMode === "light" ? "#DEDBEB" : "#393939"} + color={colorMode === "light" ? "#230A79" : "#fff"} + cursor={'pointer'} + onClick={()=>navigate(`/transaction/${searchTerm}`)} + border={`1px solid ${ + colorMode === "light" ? "#230A79" : "#565252" + }`} + > {/* */} - - {/* - - */}