Skip to content

Commit

Permalink
spin button front
Browse files Browse the repository at this point in the history
  • Loading branch information
f00d4tehg0dz committed Jun 9, 2024
1 parent c7aff92 commit ba6d193
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/WheelComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ onMounted(() => {

<template>
<div id="gameWheel" class="relative">
<button class="skills-wheelbtn" title="spin" @click="spin">{{ loading ? 'Loading' : spinning ? 'Spinning' : empty ? 'No results' : 'Spin' }}</button>
<div class="gameImageCopy" v-show="winner" transition="fadeIn">
<img :src="winner?.image ?? undefined" :class="{ show: winner }">
</div>
Expand All @@ -147,7 +148,7 @@ onMounted(() => {
<img id="clipPolygon" :style="{ backgroundImage: 'url(' + game.image + ')' }">
</li>
</ul>
<button class="skills-wheelbtn" title="spin" @click="spin">{{ loading ? 'Loading' : spinning ? 'Spinning' : empty ? 'No results' : 'Spin' }}</button>

</div>
</div>
</template>
Expand Down

0 comments on commit ba6d193

Please sign in to comment.