Skip to content

Commit

Permalink
update path for github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mahakmakharia committed Jun 1, 2024
1 parent a354366 commit 2de3ce5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions index.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
body {
font-family: Arial, Helvetica, sans-serif;
background: url('/public/assets/mario-bg.jpg');
background: url('/whack-a-mole/public/assets/mario-bg.jpg');
background-repeat: no-repeat;
background-size: cover;
display: flex;
Expand All @@ -18,7 +18,7 @@ body {
max-width: 540px;
display: flex;
flex-wrap: wrap;
background: url('/public/assets/box-bg.png');
background: url('/whack-a-mole/public/assets/box-bg.png');
border: 4px solid white;
border-radius: 12px;
box-shadow: 3px 3px 8px 8px rgba(0, 0, 0, 0.15);
Expand All @@ -33,7 +33,7 @@ body {
height: calc(100% / 3);
min-width: calc(100% / 3);
min-height: calc(100% / 3);
background: url('/public/assets/pipe.png');
background: url('/whack-a-mole/public/assets/pipe.png');
background-size: contain;
background-repeat: no-repeat;
position: relative;
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ <h1>Whack A Mole</h1>
<template id="game-tile">
<div class="tile">
<div class="mole">
<img class="hidden" src="/public/assets/monty-mole.png" />
<img class="hidden" src="/whack-a-mole/public/assets/monty-mole.png" />
</div>
<div class="plant">
<img class="hidden" src="/public/assets/piranha-plant.png" />
<img class="hidden" src="/whack-a-mole/public/assets/piranha-plant.png" />
</div>
</div>
</template>
Expand Down

0 comments on commit 2de3ce5

Please sign in to comment.