{#each links as { click: _click, icon, text, image, css, page: _page }, i (i)}
{#if image}
{text}
{:else}
{icon}
{text}
{/if}
{/each}