1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-18 16:05:33 -04:00

experimental prefetching on hover for common links

This commit is contained in:
2025-04-15 09:30:20 -04:00
parent fe7076f495
commit cfe77f98d6
10 changed files with 50 additions and 37 deletions

View File

@@ -15,7 +15,7 @@ const Header = ({ className, ...rest }: HeaderProps) => {
return (
<header className={clsx(styles.header, className)} {...rest}>
<nav className={styles.nav}>
<Link href="/" rel="author" aria-label={config.authorName} plain className={styles.home}>
<Link dynamicOnHover href="/" rel="author" aria-label={config.authorName} plain className={styles.home}>
<Image
src={avatarImg}
alt={`Photo of ${config.authorName}`}