fix(func): fix issues in results page

This commit is contained in:
shafin-r
2025-07-16 22:28:26 +06:00
parent 32c9065f6f
commit 5245ab878d
5 changed files with 198 additions and 88 deletions

View File

@ -69,7 +69,9 @@ const ProfilePage = () => {
<ProfileManager userData={userData} edit={editStatus} />
<button
onClick={() => setEditStatus(!editStatus)}
className="p-3 bg-[#113768] w-full flex gap-3 justify-center items-center rounded-full"
className={`p-3 ${
editStatus ? "bg-green-500" : "bg-[#113768]"
} w-full flex gap-3 justify-center items-center rounded-full`}
>
{editStatus ? (
<Save size={20} color="white" />

View File

@ -58,9 +58,7 @@ const SettingsPage = () => {
<button onClick={() => router.push("/home")}>
<MoveLeft size={30} color="#113768" />
</button>
<h3 className="text-2xl font-semibold text-[#113768]">
Settings
</h3>
<h3 className="text-lg font-semibold text-[#113768]">Settings</h3>
<button onClick={() => router.push("/profile")}>
<UserCircle2 size={30} color="#113768" />
</button>