{#if slides.length > 0}
{#each slides as slide (slide.imageUrl + slide.title + (slide.subtitle ?? ''))}
{ if (e.key === 'Enter') setDisplayTheme(slide.openTheme); }} onclick={() => setDisplayTheme(slide.openTheme)} >
{#if slide.badgeFeatured === true}
Featured
{/if}
{slide.title}
{#if slide.subtitle}
{slide.subtitle}
{/if} {#if slide.openTheme.author && !slide.subtitle}
By {slide.openTheme.author}
{/if} {#if slide.openTheme.description && !slide.subtitle}
{slide.openTheme.description}
{/if}
{/each}
{/if}