design page general and office information & head panel
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import AddDoctorPage from "@/components/panel/addDoctor"
|
||||
|
||||
function AddDoctor() {
|
||||
return (
|
||||
<AddDoctorPage />
|
||||
)
|
||||
}
|
||||
|
||||
export default AddDoctor
|
||||
@@ -8,13 +8,16 @@ import { usePathname } from "next/navigation";
|
||||
|
||||
function LayoutPanel({ children }) {
|
||||
|
||||
const pathname = usePathname()
|
||||
const pathname = usePathname();
|
||||
|
||||
return (
|
||||
<div className="flex min-h-screen">
|
||||
<Sidebar />
|
||||
<main className="w-full">
|
||||
<Header />
|
||||
<Header
|
||||
data={Information}
|
||||
disableProfile={pathname.includes('dashboard')}
|
||||
/>
|
||||
<section className="my-[24px] opacity-element mx-[16px] bg-[#FAFAFA]">
|
||||
{children}
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user