Distribute and handle challenge.json

This commit is contained in:
nemunaire 2022-05-01 22:33:59 +02:00
commit dff4f4eb63
20 changed files with 167 additions and 48 deletions

View file

@ -4,6 +4,7 @@
Icon,
} from 'sveltestrap';
import { challengeInfo } from '../stores/challengeinfo.js';
import { settings, time } from '../stores/settings.js';
</script>
@ -53,9 +54,9 @@
Classement
</a>
<a
href="{$settings.videoslink}"
href="{$challengeInfo.videoslink}"
class="btn btn-light"
class:disabled={$settings.videoslink === ''}
class:disabled={$challengeInfo.videoslink === ''}
>
<Icon name="laptop-fill" />
Vidéos