- implementing react-scroll

This commit is contained in:
Amruth Pillai
2020-07-09 14:30:06 +05:30
parent 3aaef5f730
commit 370b0c4020
4 changed files with 33 additions and 25 deletions

View File

@ -14,9 +14,14 @@ const LeftNavbar = () => (
<hr className="my-6" />
<div className="grid grid-cols-1 gap-8">
<div className="grid grid-cols-1 gap-5 text-secondary-dark">
{sections.map((x) => (
<SectionIcon key={x.id} section={x} containerId="LeftSidebar" />
<SectionIcon
key={x.id}
section={x}
containerId="LeftSidebar"
tooltipPlacement="right"
/>
))}
</div>