Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbristow committed Dec 11, 2024
1 parent 5350ae4 commit 36dcd59
Showing 1 changed file with 26 additions and 11 deletions.
37 changes: 26 additions & 11 deletions src/app/components/SideNav/SideNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,32 @@ export const SideNav = ({ sections }: SideNavProps) => {
}, [sections]);

return (
<UswdsSideNav
items={sections.map(({ title, id }) => (
<NavItem
title={title}
id={id}
key={id}
selectedHash={selectedHash}
setSelectedHash={setSelectedHash}
/>
))}
/>
<>
<div
id="detection-zone"
style={{
position: 'fixed',
top: '20%',
bottom: '70%',
left: 0,
right: 0,
backgroundColor: 'rgba(255, 0, 0, 0.2)',
pointerEvents: 'none',
zIndex: 9999,
}}
/>
<UswdsSideNav
items={sections.map(({ title, id }) => (
<NavItem
title={title}
id={id}
key={id}
selectedHash={selectedHash}
setSelectedHash={setSelectedHash}
/>
))}
/>
</>
);
};

Expand Down

0 comments on commit 36dcd59

Please sign in to comment.