Hide redundant clock and navigation elements for president view
Modify executive-meetings.tsx to conditionally hide the HeaderClock and section navigation when isPresidentView is true.
This commit is contained in:
@@ -983,11 +983,13 @@ function ExecutiveMeetingsPageInner() {
|
||||
|
||||
<div className="flex-1" />
|
||||
|
||||
<div className="hidden sm:flex pointer-events-none absolute inset-x-0 top-0 bottom-0 items-center justify-center print:hidden">
|
||||
<div className="pointer-events-auto">
|
||||
<HeaderClock lang={lang} />
|
||||
{!isPresidentView && (
|
||||
<div className="hidden sm:flex pointer-events-none absolute inset-x-0 top-0 bottom-0 items-center justify-center print:hidden">
|
||||
<div className="pointer-events-auto">
|
||||
<HeaderClock lang={lang} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div className="flex items-center gap-2">
|
||||
{!isPresidentView && (
|
||||
|
||||
Reference in New Issue
Block a user