design page general and office information & head panel

This commit is contained in:
Ehsan
2024-09-11 04:17:39 +03:30
parent 62b355e52f
commit d75e3c82b7
33 changed files with 588 additions and 37 deletions
+9
View File
@@ -0,0 +1,9 @@
import AddDoctorPage from "@/components/panel/addDoctor"
function AddDoctor() {
return (
<AddDoctorPage />
)
}
export default AddDoctor
+5 -2
View File
@@ -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>