diff --git a/src/lib/sections/about/Credits.svelte b/src/lib/sections/about/Credits.svelte index b2d6bac..29e9021 100644 --- a/src/lib/sections/about/Credits.svelte +++ b/src/lib/sections/about/Credits.svelte @@ -101,61 +101,43 @@ {#if ghContribs && ghContribs.length > 0}

- {@html link( - "github_link", - m["about.credits.github_description"](), - GITHUB_URL_VERT, - true + {@html sanitize( + link( + "github_link", + m["about.credits.github_description"](), + GITHUB_URL_VERT, + true, + ), )}

{:else}

- {@html link( - "contribute_link", - m["about.credits.no_contributors"](), - GITHUB_URL_VERT, + {@html sanitize( + link( + "contribute_link", + m["about.credits.no_contributors"](), + GITHUB_URL_VERT, + true, + ), )}

{/if} {#if ghContribs && ghContribs.length > 0} -

- {@html sanitize( - link( - "github_link", - m["about.credits.github_description"](), - GITHUB_URL_VERT, - true, - ), - )} -

- {:else} -

- {@html sanitize( - link( - "contribute_link", - m["about.credits.no_contributors"](), - GITHUB_URL_VERT, - true, - ), - )} -

+
+ {#each ghContribs as contrib} + {@const { name, github, avatar } = contrib} + {@render contributor(name, github, avatar)} + {/each} +
{/if} - {#if ghContribs && ghContribs.length > 0} -
- {#each ghContribs as contrib} - {@const { name, github, avatar } = contrib} - {@render contributor(name, github, avatar)} - {/each} -
- {/if}

{m["about.credits.libraries"]()}

{m["about.credits.libraries_description"]()}

- - + {/if} + +