mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-06-30 22:46:39 -04:00
fix skip to content link
This commit is contained in:
@ -88,14 +88,12 @@ const Layout = ({ container = true, children, ...rest }: LayoutProps) => {
|
||||
{/* passing `container={false}` to Layout allows 100% control of the content area on a per-page basis */}
|
||||
{container ? (
|
||||
<Default>
|
||||
<Container>
|
||||
<div id={skipNavId} />
|
||||
{children}
|
||||
</Container>
|
||||
<div id={skipNavId} />
|
||||
<Container>{children}</Container>
|
||||
</Default>
|
||||
) : (
|
||||
<>
|
||||
<div id="skip-nav" />
|
||||
<div id={skipNavId} />
|
||||
{children}
|
||||
</>
|
||||
)}
|
||||
|
Reference in New Issue
Block a user