From 7db6c4b0415f04e02c60a19be575a47c187e3988 Mon Sep 17 00:00:00 2001 From: Ojas Arora <127867874+Ojas-Arora@users.noreply.github.com> Date: Sat, 3 Aug 2024 18:49:05 +0530 Subject: [PATCH] UI Improvement --- src/Components/RateUs.css | 7 ++- src/Components/RateUs.js | 6 +++ src/Components/wallet/Wallet.css | 10 ++++ src/Components/wallet/Wallet.js | 92 +++++++++++++++++++++----------- 4 files changed, 83 insertions(+), 32 deletions(-) diff --git a/src/Components/RateUs.css b/src/Components/RateUs.css index d0dc72fb..decfdd4b 100644 --- a/src/Components/RateUs.css +++ b/src/Components/RateUs.css @@ -16,7 +16,8 @@ border-radius: 10px; /* Slightly increased border radius for a softer look */ background-color: #322a5e; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); + border: 2px solid #6052ff; + box-shadow: 7px 7px 32px 0 #6052ff; /* Added box shadow for depth */ display: flex; flex-direction: column; @@ -24,12 +25,14 @@ transition: box-shadow 0.3s, transform 0.3s; position: relative; overflow: hidden; + } .rate-us-container:hover { box-shadow: 0 0 30px rgba(139, 92, 246, 0.5); - /* Adjusted shadow for hover */ transform: scale(1.05); + background-color: #ff21bc; /* Changed background color on hover */ + border: 2px solid #ff21bc; /* Adjusted border color to match hover background */ } .rate-us-heading { diff --git a/src/Components/RateUs.js b/src/Components/RateUs.js index 931ac362..cd85eccc 100644 --- a/src/Components/RateUs.js +++ b/src/Components/RateUs.js @@ -2,6 +2,8 @@ import React, { useState } from "react"; import "./RateUs.css"; import TopContainer from "./TopContainer"; import Menu from "./Menu"; +import { Link } from 'react-router-dom'; +import homeIcon from '../img/homeicon.png'; function RateUsComponent({ previousContent }) { const [emoji, setEmoji] = useState(""); @@ -31,6 +33,10 @@ function RateUsComponent({ previousContent }) { return (