generated from muhtadeetaron/nextjs-template
fix(func): fix issues in results page
This commit is contained in:
@ -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" />
|
||||
|
||||
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user