mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-16 00:25:35 -04:00
Migrate to app router (#2254)
This commit is contained in:
@@ -9,7 +9,14 @@ export type HeadingAnchorProps = Omit<ComponentPropsWithoutRef<typeof Link>, "hr
|
||||
|
||||
const HeadingAnchor = ({ id, title, ...rest }: HeadingAnchorProps) => {
|
||||
return (
|
||||
<Link href={`#${id}`} title={`Jump to "${title}"`} aria-hidden underline={false} css={{ lineHeight: 1 }} {...rest}>
|
||||
<Link
|
||||
href={`#${id}`}
|
||||
title={`Jump to "${title}"`}
|
||||
aria-hidden
|
||||
underline={false}
|
||||
style={{ lineHeight: 1 }}
|
||||
{...rest}
|
||||
>
|
||||
<FiLink size="0.8em" />
|
||||
</Link>
|
||||
);
|
||||
|
Reference in New Issue
Block a user