add Quizz route

This commit is contained in:
2020-05-03 11:34:35 +02:00
parent ee3eca7d8f
commit 9b56cf0f27
5 changed files with 46 additions and 5 deletions

View File

@@ -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>