Skip to content

Commit

Permalink
front-end fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AmanPrajapati7015 committed Nov 3, 2024
1 parent 3b2e561 commit dfdfd44
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ export function Navbar(){
<span className="text-2xl font-bold text-black font-family: Archivo">OPD-m</span>
<div className=" flex items-center justify-center text-sm mr-52 font-bold text-purple opacity-90
font-family: Inter">
<a className="px-3" href="/Home">Home</a>
<a className="px-3" href="About">About</a>
<a className="px-3" href="Departments">Departments</a>
<a className="px-3" href="Doctors">Doctors</a>
<a className="px-3" href="Pages">Pages</a>
<a className="px-3" href="/PatientDashboard">Patient</a>
<a className="px-3" href="/HODDashboard">HOD</a>
<a className="px-3" href="/AdminDashboard">Admin</a>
<a className="px-3" href="/">Home</a>
<a className="px-3" href="/signup">Signup</a>
<a className="px-3" href="/signin">Signin</a>

</div>
<div className="flex">
<button className="w-40 mx-5 h-9 flex items-center justify-center text-sm text-[#636AE8FF] opacity-100 border px-3 py-0 rounded-lg border-[#636AE8FF] border-solid left-[1080px] top-2.5 hover:text-[#4850E4FF] hover:active:text-[#2C35E0FF] disabled:opacity-40
Expand Down
42 changes: 22 additions & 20 deletions frontend/src/Components/DashboardPage/Patient/components/Navbar.jsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
export function Navbar(){

return <div className="w-screen h-14 px-24 py-2 bg-white flex justify-between">
<span className="text-2xl font-bold text-black font-family: Archivo">OPD-m</span>
<div className=" flex items-center justify-center text-sm mr-52 font-bold text-purple opacity-90
font-family: Inter">
<a className="px-3" href="/Home">Home</a>
<a className="px-3" href="About">About</a>
<a className="px-3" href="Departments">Departments</a>
<a className="px-3" href="Doctors">Doctors</a>
<a className="px-3" href="Pages">Pages</a>
</div>
<div className="flex">
<button className="w-40 mx-5 h-9 flex items-center justify-center text-sm text-[#636AE8FF] opacity-100 border px-3 py-0 rounded-lg border-[#636AE8FF] border-solid left-[1080px] top-2.5 hover:text-[#4850E4FF] hover:active:text-[#2C35E0FF] disabled:opacity-40
font-family: Inter
background: #ffffffff">Contact</button>
<button className=" w-40 h-9 flex items-center justify-center text-sm text-white opacity-100 px-3 py-0 rounded-lg left-[1256px] top-2.5 hover:text-white hover:active:text-white disabled:opacity-40 bg-purple
font-family: Inter
">Appointment</button>
</div>
</div>
return <div className="w-screen h-14 px-24 py-2 bg-white flex justify-between">
<span className="text-2xl font-bold text-black font-family: Archivo">OPD-m</span>
<div className=" flex items-center justify-center text-sm mr-52 font-bold text-purple opacity-90
font-family: Inter">
<a className="px-3" href="/PatientDashboard">Patient</a>
<a className="px-3" href="/HODDashboard">HOD</a>
<a className="px-3" href="/AdminDashboard">Admin</a>
<a className="px-3" href="/">Home</a>
<a className="px-3" href="/signup">Signup</a>
<a className="px-3" href="/signin">Signin</a>

</div>
<div className="flex">
<button className="w-40 mx-5 h-9 flex items-center justify-center text-sm text-[#636AE8FF] opacity-100 border px-3 py-0 rounded-lg border-[#636AE8FF] border-solid left-[1080px] top-2.5 hover:text-[#4850E4FF] hover:active:text-[#2C35E0FF] disabled:opacity-40
font-family: Inter
background: #ffffffff">Contact</button>
<button className=" w-40 h-9 flex items-center justify-center text-sm text-white opacity-100 px-3 py-0 rounded-lg left-[1256px] top-2.5 hover:text-white hover:active:text-white disabled:opacity-40 bg-purple
font-family: Inter
">Appointment</button>
</div>
</div>
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { BUTTON } from "./BUTTON";

export function Footer(){
return <div className="h-2/5 w-screen flex flex-col justify-center items-center p-10 border-t-2 border-opacity-80">
<div className="text-5xl text-purple font-bold my-2">Contact Us Anytime</div>
return <div className="h-2/5 w-screen flex flex-col justify-center items-center p-10 border-t-2 border-opacity-80 bg-white/40">
<div className="text-5xl font-bold my-2">Contact Us Anytime</div>
<div className="my-2">Reach out to us 24/7 for any medical inquiries or emergencies. We're here to help you stay healthy and informed.</div>
<BUTTON label={"Appointment"}/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import img2 from "./272.png"
import img3 from "./280.png"
import img4 from "./341.png"
export function Subheader(){
return <div className="h-4/6 w-full p-20 flex flex-col justify-center items-center">
return <div className="h-4/6 w-full p-20 flex flex-col justify-center items-center bg-white/40">
<div className="text-4xl font-bold flex-col flex justify-center items-center">
<div className="my-3">Sub Header Department Section</div>
<div className="my-3">Our Departments</div>
Expand Down

0 comments on commit dfdfd44

Please sign in to comment.