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 <Link
href={pathForPhoto(photo)} href={pathForPhoto(photo)}
className="font-bold uppercase" className="font-bold uppercase"
prefetch={false}
> >
{titleForPhoto(photo)} {titleForPhoto(photo)}
</Link> </Link>

View File

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

View File

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