diff --git a/server/src/seed.ts b/server/src/seed.ts index fa7bd64..a85c3ec 100644 --- a/server/src/seed.ts +++ b/server/src/seed.ts @@ -46,8 +46,14 @@ async function seed() { // Gallery const galleryCount = await GalleryItem.countDocuments(); if (galleryCount === 0) { - const items = Array.from({ length: 18 }, (_, i) => ({ - imageUrl: `/photos/${String(i + 1).padStart(4, '0')}.jpg`, + const photoPaths = [ + ...Array.from({ length: 10 }, (_, i) => `/photos/${String(i + 1).padStart(4, '0')}.jpg`), + '/photos/1.jpg', '/photos/2.jpg', '/photos/3.jpg', + '/photos/4.jpg', '/photos/5.jpg', '/photos/6.jpg', + '/photos/IMG_1615(1).jpg', + ]; + const items = photoPaths.map((imageUrl, i) => ({ + imageUrl, alt: 'MCDi community event photo', order: i, }));