Skip to content

Commit

Permalink
enhance(frontend): tweak ui
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Jan 7, 2024
1 parent 0d49e94 commit 0d830d7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/frontend/src/components/MkPlusOneEffect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ onMounted(() => {

<style lang="scss" module>
.root {
user-select: none;
pointer-events: none;
position: fixed;
width: 128px;
Expand Down
11 changes: 8 additions & 3 deletions packages/frontend/src/pages/drop-and-fusion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,14 @@ SPDX-License-Identifier: AGPL-3.0-only
<div :class="$style.dropGuide" :style="{ left: (mouseX - 2) + 'px' }"/>
</template>
<div v-if="gameOver" :class="$style.gameOverLabel">
<div>GAME OVER!</div>
<div>SCORE: <MkNumber :value="score"/></div>
<MkButton primary rounded inline @click="share">Share</MkButton>
<div class="_gaps_s">
<img src="/client-assets/drop-and-fusion/gameover.png" style="width: 200px; max-width: 100%; display: block; margin: auto; margin-bottom: -5px;"/>
<div>SCORE: <MkNumber :value="score"/></div>
<div class="_buttonsCenter">
<MkButton primary rounded @click="restart">Restart</MkButton>
<MkButton primary rounded @click="share">Share</MkButton>
</div>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 0d830d7

Please sign in to comment.