File tree Expand file tree Collapse file tree 3 files changed +6
-18
lines changed
Expand file tree Collapse file tree 3 files changed +6
-18
lines changed Original file line number Diff line number Diff line change 11import './codezilla.css' ;
22
33const GameOverPage = ( {
4- backgroundUrl = '/assets/background.jpg' ,
5- logoUrl = '/assets/codezilla-logo.png' ,
6- avatarUrl = '/assets/player-avatar.png' ,
7- codezillaUrl = '/assets/codezilla.png' ,
4+ backgroundUrl = 'client/background/codezilla_bkgd.png' ,
5+ avatarUrl = 'client/avatars/avatar4.png' ,
6+ codezillaUrl = 'client/minions/codezilla2.png' ,
87} ) => {
98 return (
109 < div
1110 className = "game-over-page"
1211 style = { { backgroundImage : `url(${ backgroundUrl } )` } }
1312 >
14- < img
15- className = "game-over-logo"
16- src = { logoUrl }
17- alt = "Codezilla Logo"
18- />
1913
2014 < div className = "game-over-container" >
2115 < h1 className = "game-over-title" > Game Over!</ h1 >
Original file line number Diff line number Diff line change 11import './codezilla.css' ;
22
33export default function VictoryPage ( {
4- backgroundUrl = '/assets/background.jpg' ,
5- logoUrl = '/assets/codezilla-logo.png' ,
6- avatarUrl = '/assets/player-avatar.png' ,
7- confettiUrl = '/assets/confetti.png' ,
4+ backgroundUrl = 'client/background/codezilla_bkgd.png' ,
5+ avatarUrl = 'client/avatars/avatar4.png' ,
6+ confettiUrl = 'client/background/confetti_image.jpg' ,
87} ) {
98 return (
109 < div
1110 className = "victory-page"
1211 style = { { backgroundImage : `url(${ backgroundUrl } )` } }
1312 >
14- < img
15- className = "victory-logo"
16- src = { logoUrl }
17- alt = "Codezilla Logo"
18- />
1913
2014 < div className = "victory-container" >
2115 { /* Confetti overlay */ }
You can’t perform that action at this time.
0 commit comments