photos phase 3
All checks were successful
Build and Push Docker Image / build (push) Successful in 17s

This commit is contained in:
jason
2026-03-30 11:03:36 -05:00
parent 4672f70a60
commit ed0a3f9389
3 changed files with 3486 additions and 1 deletions

3113
apps/client/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -42,7 +42,7 @@ function orderPhotos(photos: Photo[], order: string): Photo[] {
}
// Pick a random Ken Burns preset that isn't the one we just used
function pickKb(prevIdx: number, total = KB_PRESETS.length): number {
function pickKb(prevIdx: number, total: number = KB_PRESETS.length): number {
if (total === 1) return 0;
let next: number;
do { next = Math.floor(Math.random() * total); } while (next === prevIdx);