Add loading animatino
This commit is contained in:
parent
9272fd43a5
commit
00fa298dd5
4 changed files with 201 additions and 12 deletions
|
|
@ -116,7 +116,9 @@ const renderThumbnail = (photo, isCurrent) => {
|
|||
</a>`;
|
||||
};
|
||||
|
||||
const renderFrame = (photo) => `<figure class="frame-figure">
|
||||
const renderFrame = (
|
||||
photo
|
||||
) => `<figure class="frame-figure" style="--frame-ratio:${photo.aspectRatio}">
|
||||
${renderPicture(
|
||||
photo,
|
||||
frameSizes(photo),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue