Skip to content

Commit 2a71904

Browse files
authored
Merge pull request #159 from niteshkr100/development
Icon correction
2 parents 6b91838 + 95e859f commit 2a71904

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

QuizQuestFrontend/src/App.jsx

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
IoMdMail,
1010
IoMdPeople,
1111
IoMdSearch,
12+
IoIosCall
1213
} from "react-icons/io";
1314
import Home from "./pages/home";
1415
import CreateQuiz from "./pages/create";
@@ -56,8 +57,9 @@ const navItems = [
5657
{
5758
name: "CONTACT",
5859
link: "/contact-us",
59-
icon: <IoMdSearch className="h-4 w-4 text-neutral-500 dark:text-white" />,
60-
},
60+
icon: <IoIosCall className="h-4 w-4 text-neutral-500 dark:text-white" />,
61+
}
62+
6163
];
6264

6365
const google_client_id = import.meta.env.VITE_GOOGLE_CLIENT_ID;

QuizQuestFrontend/src/components/navbar.jsx

+6-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default function FloatingNav({ navItems, className }) {
5252
)}
5353
>
5454
<div className="w-72 h-full relative">
55-
<div className="rounded-full absolute border-green-600 border-solid border-2 top-[50%] translate-y-[-50%] w-12 h-12">
55+
<div className="rounded-full absolute border-green-600 border-solid border-2 top-[50%] translate-y-[-50%] w-8 h-8 lg:w-12 lg:h-12">
5656
{" "}
5757
<div className="logo"></div>
5858
</div>
@@ -71,10 +71,13 @@ export default function FloatingNav({ navItems, className }) {
7171
))}
7272
</div>
7373
<div className="flex w-fit justify-between gap-8 pr-6">
74-
<button className="relative text-sm bg-[#cff466] text-black w-fit px-10 py-2 rounded-full" onClick={()=> navigate("/explore")}>
74+
75+
76+
<button className="relative text-sm bg-[#cff466] text-black w-fit px-10 py-2 rounded-full hidden lg:flex" onClick={()=> navigate("/explore")}>
77+
7578
<span>EXPLORE</span>
7679
</button>
77-
<button className="relative text-sm bg-[#cff466] text-black min-w-fit px-10 py-2 rounded-full" onClick={()=> navigate("/login")}>
80+
<button className="relative text-sm bg-[#cff466] text-black min-w-fit px-10 py-2 rounded-full hidden lg:flex" onClick={()=> navigate("/login")}>
7881
<span>LOG IN</span>
7982
</button>
8083
</div>

0 commit comments

Comments
 (0)