Closed imshuffling closed 6 years ago
I can see how that could be more dynamic. We'd also need to specify the breakpoints.
Maybe a function would be nicer, so anyone could adjust offset according to needs, something like
<AnchorLink offset={() => someCalc()} />
Would be cool if we could adjust the offset for different viewports.
e.g.
<AnchorLink offset='205' offset-sm='210' className="btn nav-item" href='#speakers'>Speakers</AnchorLink>
Thoughts?