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
+8 -2
View File
@@ -1,7 +1,8 @@
import Icons from "./Icons"
import MenuProfile from "./MenuProfile"
import Search from "./Search"
function Header() {
function Header({ disableProfile, data }) {
return (
<div
className='
@@ -10,7 +11,12 @@ function Header() {
'
>
<Search />
<Icons />
<div className="flex items-center justify-end gap-[40px] min-w-fit">
<Icons />
{!disableProfile && (
<MenuProfile data={data} />
)}
</div>
</div>
)
}