Skip to content

Commit

Permalink
💄 Add winner banner to other views
Browse files Browse the repository at this point in the history
  • Loading branch information
Poeschl committed May 23, 2024
1 parent 0dcd2bc commit 083bf54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion frontend/src/views/FullScreenView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<FullScreenInfoBar class="mb-5" />
<div class="fullscreen-container ml-4 mr-4">
<div class="columns">
<div class="column is-flex is-justify-content-center is-align-items-start">
<div class="column is-flex is-align-items-center is-flex-direction-column pr-5">
<WinnerBanner />
<MapCanvasComponent :robots="gameStore.robots" :map="gameStore.currentMap" style="height: 100%" />
</div>
<div class="column is-one-fifth is-flex-direction-column is-narrow data-column">
Expand All @@ -21,6 +22,7 @@ import GameStateBox from "@/components/GameStateBox.vue";
import RobotActiveList from "@/components/RobotActiveList.vue";
import RobotScoreBoard from "@/components/RobotScoreBoard.vue";
import FullScreenInfoBar from "@/components/FullScreenInfoBar.vue";
import WinnerBanner from "@/components/WinnerBanner.vue";
const gameStore = useGameStore();
</script>
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/views/MyRobotView.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<div class="columns">
<div class="column is-flex is-justify-content-center is-align-items-start">
<div class="column is-flex is-align-items-center is-flex-direction-column">
<WinnerBanner />
<MapCanvasComponent :robots="gameStore.robots" :map="gameStore.currentMap" style="width: 90%" />
</div>
<div class="column is-one-quarter is-flex-direction-column is-narrow">
Expand All @@ -19,6 +20,7 @@ import RobotControl from "@/components/RobotsControl.vue";
import GameStateBox from "@/components/GameStateBox.vue";
import GameFlags from "@/components/GameFlags.vue";
import RobotDetails from "@/components/RobotDetails.vue";
import WinnerBanner from "@/components/WinnerBanner.vue";
const gameStore = useGameStore();
</script>
Expand Down

0 comments on commit 083bf54

Please sign in to comment.