diff --git a/src/lib/components/ContestTable.svelte b/src/lib/components/ContestTable.svelte index 006ad51..ff0bb38 100644 --- a/src/lib/components/ContestTable.svelte +++ b/src/lib/components/ContestTable.svelte @@ -82,17 +82,17 @@ @@ -264,7 +264,7 @@ : 'hover:bg-[var(--color-tertiary)]/30' }`} > - - - - - - -
Contest Duration -
+
+ {#if contest.id} {@const hasParticipated = userParticipation.has(contest.id)} + {#if contest.type === 'ICPC'} ICPC @@ -305,7 +305,7 @@ {/if} + + {formatDuration(contest.durationSeconds)} + {#if contest.difficulty !== undefined} @@ -337,7 +337,7 @@ > {/if} + -
+
+
{#if contest.id} @@ -92,7 +92,7 @@ > @@ -259,7 +259,7 @@ class="problem-row" class:problem-row-solved={!!problem.id && userSolvedProblems.has(problem.id)} > - - - - - -
Problem Topic
+ {#if problem.id} {@const isSolved = userSolvedProblems.has(problem.id)} + + + + {#if problem.type} {/if} + -
+
+
{#if problem.id}