Limit prefetch links further

This commit is contained in:
Sam Becker 2024-02-29 22:47:34 -06:00
parent 0a4e93bae6
commit ba109d618f
3 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,7 @@ export default function PhotoLarge({
<Link
href={pathForPhoto(photo)}
className="font-bold uppercase"
prefetch={false}
>
{titleForPhoto(photo)}
</Link>

View File

@ -29,6 +29,7 @@ export default function PhotoSmall({
'active:brightness-75',
selected && 'brightness-50',
)}
prefetch={false}
>
<ImageSmall
src={photo.url}

View File

@ -26,6 +26,7 @@ export default function PhotoTiny({
'rounded-[0.15rem] overflow-hidden',
'border border-gray-200 dark:border-gray-800',
)}
prefetch={false}
>
<ImageTiny
src={photo.url}