diff --git a/packages/storybook/src/molecules/resource-list-row/resource-list-row.stories.svelte b/packages/storybook/src/molecules/resource-list-row/resource-list-row.stories.svelte index 26727fe7..9a00cf34 100644 --- a/packages/storybook/src/molecules/resource-list-row/resource-list-row.stories.svelte +++ b/packages/storybook/src/molecules/resource-list-row/resource-list-row.stories.svelte @@ -26,7 +26,7 @@ title: 'Introduction to Python', type: 'Self-paced', lastUpdated: 'Last updated Mar 28, 2026', - tags: ['Beginner', 'Programming'], + tags: ['Beginner', 'Programming', 'Python', 'API', 'Testing'], lessons: 24, exercises: 12, students: 128, @@ -103,19 +103,19 @@ }); - + {#snippet template()} {@const studentAvatarSrc = [ 'https://github.com/shadcn.png', 'https://github.com/maxleiter.png', 'https://github.com/evilrabbit.png' ]} - + {#each sampleCourses as course (course.title)}
@@ -138,9 +138,12 @@ {#if course.tags.length === 0} — {:else} - {#each course.tags as tag (tag)} + {#each course.tags.slice(0, 3) as tag (tag)} {tag} {/each} + {#if course.tags.length > 3} + +{course.tags.length - 3} + {/if} {/if}