diff --git a/src/routes/(protected)/projects/+page.svelte b/src/routes/(protected)/projects/+page.svelte index 9b5913f..aae80be 100644 --- a/src/routes/(protected)/projects/+page.svelte +++ b/src/routes/(protected)/projects/+page.svelte @@ -39,7 +39,11 @@ } if (data) { projects = data; - for (let project of projects) project.issues.reverse(); + for (let project of projects) { + project.issues.reverse(); + project.difficulty = + project.difficulty.slice(0, 1).toUpperCase() + project.difficulty.slice(1); + } } }); let view = false; @@ -90,12 +94,12 @@
{#each projects[focused].issues as issue}
-

{issue.title} #{issue.number}

+

{issue.title}

{#each issue.labels as label} - {label.name} + {label.name.slice(0, 1).toUpperCase() + label.name.slice(1)} {/each}
@@ -122,7 +126,7 @@
{project.language} - {project.difficulty} +

{project.about}