knowyt/client/components/Button.vue
2021-07-30 18:03:56 +02:00

24 lines
400 B
Vue

<template>
<div class="button">
<NuxtLink to="/play">
<div class="button__button">
<slot />
</div>
</NuxtLink>
</div>
</template>
<style lang="scss">
.button {
&__button {
display: inline;
padding: 16px 24px;
border: 4px solid #c0c060;
border-radius: 8px;
background-color: #40a020;
text-decoration: none;
color: #ffff80;
}
}
</style>