<template>
    <div class="p-4">
        <h1 class="page-title">Liste des jeux</h1>
        <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, QuizzIndex
    }
}
</script>
