design page general and office information & head panel
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user