mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-09-26 01:55:33 -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 */}
|
{/* passing `container={false}` to Layout allows 100% control of the content area on a per-page basis */}
|
||||||
{container ? (
|
{container ? (
|
||||||
<Default>
|
<Default>
|
||||||
<Container>
|
<div id={skipNavId} />
|
||||||
<div id={skipNavId} />
|
<Container>{children}</Container>
|
||||||
{children}
|
|
||||||
</Container>
|
|
||||||
</Default>
|
</Default>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<div id="skip-nav" />
|
<div id={skipNavId} />
|
||||||
{children}
|
{children}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user