{#each Object.keys(categories) as category (category)} classNames( "w-full py-2.5 text-sm leading-5 font-medium text-blue-700 rounded-lg", "focus:outline-none focus:ring-2 ring-offset-2 ring-offset-blue-400 ring-white ring-opacity-60", selected ? "bg-white shadow" : "text-blue-100 hover:bg-white/[0.12] hover:text-white" )} > {category} {/each} {#each Object.values(categories) as posts, idx (idx)}
    {#each posts as post (post.id)}
  • {post.title}

    • {post.date}
    • ·
    • {post.commentCount} comments
    • ·
    • {post.shareCount} shares
  • {/each}
{/each}