diff --git a/app/[...path]/AlbumDetailView.tsx b/app/[...path]/AlbumDetailView.tsx index fc34ab2..4e31cd5 100644 --- a/app/[...path]/AlbumDetailView.tsx +++ b/app/[...path]/AlbumDetailView.tsx @@ -34,9 +34,9 @@ export function AlbumDetailView({ {subtitle}

)} + {album.description &&

{album.description}

}

{images.length} {images.length === 1 ? 'photo' : 'photos'} - {album.description && ` · ${album.description}`}

diff --git a/app/[...path]/PhotoGrid.tsx b/app/[...path]/PhotoGrid.tsx index 5ac46d5..d69bf11 100644 --- a/app/[...path]/PhotoGrid.tsx +++ b/app/[...path]/PhotoGrid.tsx @@ -15,9 +15,11 @@ import { FadeIn } from '@/components/FadeIn'; export interface PhotoItem { id: string; + type: 'image' | 'video'; thumbUrl: string; previewUrl: string; originalUrl: string; + videoUrl?: string; exifUrl: string; blurDataURL?: string; dominantColor?: string; @@ -173,6 +175,14 @@ export function PhotoGrid({ assets, layout = 'masonry', gridStyle }: PhotoGridPr ? { placeholder: 'blur' as const, blurDataURL: asset.blurDataURL } : {})} /> + {asset.type === 'video' && ( + + )} {(asset.camera || asset.lens) && (