Forgot to put the Play icon for audio media

This commit is contained in:
Lim Chee Aun 2023-03-19 21:08:09 +08:00
parent 47b51bdef8
commit a792f494bf

View file

@ -204,6 +204,11 @@ function Media({ media, showOriginal, autoAnimate, onClick = () => {} }) {
loading="lazy" loading="lazy"
/> />
) : null} ) : null}
{!showOriginal && (
<div class="media-play">
<Icon icon="play" size="xxl" />
</div>
)}
</div> </div>
); );
} }