Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | <template> <div class="modal"> <h2 class="modal-title mb-2">{{ $t('modalEnd.title') }}</h2> <p class="modal-message">{{ $t('modalEnd.message', { time, moves }) }}</p> <div class="modal-actions"> <Button name="modalEnd.buttonReplay" :handleClick="() => $emit('restart')" /> <Button name="modalEnd.buttonNew" :handleClick="() => $emit('newgame')" /> </div> </div> </template> <script setup lang="ts"> const props = defineProps<{ time: string; moves: number; }>(); defineEmits<{ (e: 'restart'): void; (e: 'newgame'): void; }>(); </script> |