Media upload limits, hero background slides, and admin editor rework #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ships the current batch of site work:
src/lib/media/limits.ts(size/type validation,IMAGE_ACCEPT/IMAGE_OR_VIDEO_ACCEPT) plus a reusableMediaUploadercomponent (useUpload,UploadOverlay,UploadError) wired into the Homepage, About, Contact, and Products editors. The upload route now runs the same validation server-side as the authoritative pass.HeroBackgroundcomponent supporting multiple slides./api/images/[filename]reworked (sharp-backed transform/caching).Typecheck and production build are green.