Skip to content

Commit

Permalink
test deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Hermann committed Nov 14, 2024
1 parent b06d35f commit bb64e31
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: 🔨 Build Project
run: |
yarn install
yarn run build --base-href ./retroski/preview/
yarn run build
- name: 📂 Sync files
uses: SamKirkland/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion src/app/common/components/toolbar/toolbar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ng-content select="left-actions"></ng-content>
</div>
<div class="logo-container">
<img class="small-logo" src="../.././assets/logos/small_logo.png" />
<img class="small-logo" src="../../../assets/logos/small_logo.png" />
</div>
<div class="right-actions-container">
<ng-content select="right-actions"></ng-content>
Expand Down
82 changes: 41 additions & 41 deletions src/app/game/resources.ts
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
import { ImageSource, Sound } from 'excalibur';

const Resources = {
Skier: new ImageSource('/assets/images/sprites/skier.png'),
SkierCarving: new ImageSource('/assets/images/sprites/skier_carving.png'),
SkierSliding: new ImageSource('/assets/images/sprites/skier_sliding.png'),
SkierBraking: new ImageSource('/assets/images/sprites/skier_braking.png'),
Skier: new ImageSource('./assets/images/sprites/skier.png'),
SkierCarving: new ImageSource('./assets/images/sprites/skier_carving.png'),
SkierSliding: new ImageSource('./assets/images/sprites/skier_sliding.png'),
SkierBraking: new ImageSource('./assets/images/sprites/skier_braking.png'),

GlobalGhostSkier: new ImageSource('/assets/images/sprites/globalRecordGhost.png'),
GlobalGhostSkierCarving: new ImageSource('/assets/images/sprites/globalRecordGhost_carving.png'),
GlobalGhostSkierSliding: new ImageSource('/assets/images/sprites/globalRecordGhost_sliding.png'),
GlobalGhostSkierBraking: new ImageSource('/assets/images/sprites/globalRecordGhost_braking.png'),
GlobalGhostSkier: new ImageSource('./assets/images/sprites/globalRecordGhost.png'),
GlobalGhostSkierCarving: new ImageSource('./assets/images/sprites/globalRecordGhost_carving.png'),
GlobalGhostSkierSliding: new ImageSource('./assets/images/sprites/globalRecordGhost_sliding.png'),
GlobalGhostSkierBraking: new ImageSource('./assets/images/sprites/globalRecordGhost_braking.png'),

EventRecordGhost: new ImageSource('/assets/images/sprites/eventRecordGhost.png'),
EventRecordGhostCarving: new ImageSource('/assets/images/sprites/eventRecordGhost_carving.png'),
EventRecordGhostSliding: new ImageSource('/assets/images/sprites/eventRecordGhost_sliding.png'),
EventRecordGhostBraking: new ImageSource('/assets/images/sprites/eventRecordGhost_braking.png'),
EventRecordGhost: new ImageSource('./assets/images/sprites/eventRecordGhost.png'),
EventRecordGhostCarving: new ImageSource('./assets/images/sprites/eventRecordGhost_carving.png'),
EventRecordGhostSliding: new ImageSource('./assets/images/sprites/eventRecordGhost_sliding.png'),
EventRecordGhostBraking: new ImageSource('./assets/images/sprites/eventRecordGhost_braking.png'),

StartingGate: new ImageSource('/assets/images/sprites/starting_gate.png'),
StartingHouse: new ImageSource('/assets/images/sprites/starting_house.png'),
PoleRed: new ImageSource('/assets/images/sprites/pole_red.png'),
PoleBlue: new ImageSource('/assets/images/sprites/pole_blue.png'),
PoleSlRed: new ImageSource('/assets/images/sprites/pole_sl_red.png'),
PoleSlBlue: new ImageSource('/assets/images/sprites/pole_sl_blue.png'),
PoleCheckRed: new ImageSource('/assets/images/sprites/pole_check_red.png'),
PoleCheckBlue: new ImageSource('/assets/images/sprites/pole_check_blue.png'),
FinalGate: new ImageSource('/assets/images/sprites/final_gate.png'),
StartingGate: new ImageSource('./assets/images/sprites/starting_gate.png'),
StartingHouse: new ImageSource('./assets/images/sprites/starting_house.png'),
PoleRed: new ImageSource('./assets/images/sprites/pole_red.png'),
PoleBlue: new ImageSource('./assets/images/sprites/pole_blue.png'),
PoleSlRed: new ImageSource('./assets/images/sprites/pole_sl_red.png'),
PoleSlBlue: new ImageSource('./assets/images/sprites/pole_sl_blue.png'),
PoleCheckRed: new ImageSource('./assets/images/sprites/pole_check_red.png'),
PoleCheckBlue: new ImageSource('./assets/images/sprites/pole_check_blue.png'),
FinalGate: new ImageSource('./assets/images/sprites/final_gate.png'),

Spectator1: new ImageSource('/assets/images/sprites/spectator_1.png'),
Spectator2: new ImageSource('/assets/images/sprites/spectator_2.png'),
Spectator3: new ImageSource('/assets/images/sprites/spectator_3.png'),
Spectator4: new ImageSource('/assets/images/sprites/spectator_4.png'),
Spectator1: new ImageSource('./assets/images/sprites/spectator_1.png'),
Spectator2: new ImageSource('./assets/images/sprites/spectator_2.png'),
Spectator3: new ImageSource('./assets/images/sprites/spectator_3.png'),
Spectator4: new ImageSource('./assets/images/sprites/spectator_4.png'),

WinterSound: new Sound('/assets/sounds/winter.mp3'),
FinishRaceSound: new Sound('/assets/sounds/finish_race.mp3'),
StartRaceSound: new Sound('/assets/sounds/start_race.mp3'),
GateMissedSound: new Sound('/assets/sounds/gate_missed.mp3'),
PoleHittingSound: new Sound('/assets/sounds/pole_hitting.mp3'),
TurningSound: new Sound('/assets/sounds/turning.mp3'),
SpectatorsSound: new Sound('/assets/sounds/spectators.mp3'),
Spectators2Sound: new Sound('/assets/sounds/spectators2.mp3'),
Spectators3Sound: new Sound('/assets/sounds/spectators3.mp3'),
Spectators4Sound: new Sound('/assets/sounds/spectators4.mp3'),
SpectatorsIntenseSound: new Sound('/assets/sounds/spectators_intense.mp3'),
SpectatorHitSound: new Sound('/assets/sounds/spectator_hit.mp3'),
SpectatorHit2Sound: new Sound('/assets/sounds/spectator_hit2.mp3'),
SpectatorHit3Sound: new Sound('/assets/sounds/spectator_hit3.mp3'),
SpectatorsBellsSound: new Sound('/assets/sounds/spectators_bells.mp3'),
SpectatorsBells2Sound: new Sound('/assets/sounds/spectators_bells2.mp3')
WinterSound: new Sound('./assets/sounds/winter.mp3'),
FinishRaceSound: new Sound('./assets/sounds/finish_race.mp3'),
StartRaceSound: new Sound('./assets/sounds/start_race.mp3'),
GateMissedSound: new Sound('./assets/sounds/gate_missed.mp3'),
PoleHittingSound: new Sound('./assets/sounds/pole_hitting.mp3'),
TurningSound: new Sound('./assets/sounds/turning.mp3'),
SpectatorsSound: new Sound('./assets/sounds/spectators.mp3'),
Spectators2Sound: new Sound('./assets/sounds/spectators2.mp3'),
Spectators3Sound: new Sound('./assets/sounds/spectators3.mp3'),
Spectators4Sound: new Sound('./assets/sounds/spectators4.mp3'),
SpectatorsIntenseSound: new Sound('./assets/sounds/spectators_intense.mp3'),
SpectatorHitSound: new Sound('./assets/sounds/spectator_hit.mp3'),
SpectatorHit2Sound: new Sound('./assets/sounds/spectator_hit2.mp3'),
SpectatorHit3Sound: new Sound('./assets/sounds/spectator_hit3.mp3'),
SpectatorsBellsSound: new Sound('./assets/sounds/spectators_bells.mp3'),
SpectatorsBells2Sound: new Sound('./assets/sounds/spectators_bells2.mp3')
};

export { Resources };
2 changes: 1 addition & 1 deletion src/app/pages/home/home.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img class="logo" src="/assets/logos/logo.png" />
<img class="logo" src="./assets/logos/logo.png" />
<div class="title">Welcome</div>
<div class="subtitle">
Ride the mountain for fun or challenge your friends on some of the most
Expand Down

0 comments on commit bb64e31

Please sign in to comment.