{#each notices as notice, i} {@const pos = getPosition(i)} {#if i <= currentNoticeIndex}
{notice.alt}
{/if} {/each}
{#if notices[currentNoticeIndex]} {#key currentNoticeIndex}

{notices[currentNoticeIndex].title}

{notices[currentNoticeIndex].subtitle}

{notices[currentNoticeIndex].excerpt}

{/key} {:else}

Scroll to reveal eviction notices

{/if}