<template>
    <router-link :to="link">
        <div class="m-2 card">
            <div class="p-4">
                <svg-vue icon="hangman" />
            </div>
            <h2>Pendu</h2>
        </div>
    </router-link>
</template>

<script>
export default {
    name: 'HangmanIndex',
    props: {
        link: {
            type: String,
            required: true
        },
    }
}
</script>
