1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 18:06:38 -04:00

offload videos to vercel blob storage

This commit is contained in:
2025-03-19 16:14:10 -04:00
parent c134ae76fd
commit d714e6e99b
47 changed files with 204 additions and 418 deletions

View File

@ -19,7 +19,7 @@ const Image = ({ src, height, width, placeholder, className, ...rest }: ImagePro
src,
height,
width: constrainWidth(width || (src as StaticImageData).width),
placeholder: placeholder || (typeof src === "string" ? "empty" : "blur"),
placeholder: placeholder || (typeof src === "object" && "blurDataURL" in src ? "blur" : "empty"),
...rest,
};