1
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:
2025-02-07 11:33:38 -05:00
committed by GitHub
parent e97613dda5
commit 8aabb4a66f
179 changed files with 4095 additions and 4951 deletions

View File

@@ -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>
);