Add printable guest sign studio and refine event imagery

This commit is contained in:
2026-09-10 09:26:49 -04:00
parent 176b5fa95c
commit 3a115f1161
48 changed files with 1294 additions and 102 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ describe("object keys", () => {
test("keeps originals and variants under the same photo prefix", () => {
const prefix = photoObjectPrefix(eventId, photoId);
expect(originalObjectKey(eventId, photoId).startsWith(prefix)).toBe(true);
expect(displayObjectKey(eventId, photoId)).toBe(`${prefix}display.jpg`);
expect(thumbObjectKey(eventId, photoId)).toBe(`${prefix}thumb.jpg`);
expect(displayObjectKey(eventId, photoId)).toBe(`${prefix}display.webp`);
expect(thumbObjectKey(eventId, photoId)).toBe(`${prefix}thumb.webp`);
});
});
+2 -2
View File
@@ -3,11 +3,11 @@ export function originalObjectKey(eventId: string, photoId: string) {
}
export function displayObjectKey(eventId: string, photoId: string) {
return `events/${eventId}/photos/${photoId}/display.jpg`;
return `events/${eventId}/photos/${photoId}/display.webp`;
}
export function thumbObjectKey(eventId: string, photoId: string) {
return `events/${eventId}/photos/${photoId}/thumb.jpg`;
return `events/${eventId}/photos/${photoId}/thumb.webp`;
}
export function photoObjectPrefix(eventId: string, photoId: string) {