add Quizz route
This commit is contained in:
@@ -1,19 +1,21 @@
|
||||
<template>
|
||||
<div class="p-4">
|
||||
<h1 class="page-title">Liste des jeux</h1>
|
||||
<div class="flex flex-wrap mt-4">
|
||||
<HangmanIndex link="/jeux/pendu" class="w-full sm:w-1/2 md:w-1/3 lg:w-1/4 card" />
|
||||
<div class="flex flex-wrap -m-2 mt-2">
|
||||
<HangmanIndex link="/jeux/pendu" class="w-full sm:w-1/2 md:w-1/3 lg:w-1/4" />
|
||||
<QuizzIndex link="/jeux/quizz" class="w-full sm:w-1/2 md:w-1/3 lg:w-1/4" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import HangmanIndex from './HangMan/HangmanIndex'
|
||||
import QuizzIndex from './Quizz/QuizzIndex'
|
||||
|
||||
export default {
|
||||
name: 'GameIndex',
|
||||
components: {
|
||||
HangmanIndex
|
||||
HangmanIndex, QuizzIndex
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user