Skip to content

Commit

Permalink
feat: ✨ update splash screens
Browse files Browse the repository at this point in the history
  • Loading branch information
thkruz committed Aug 4, 2024
1 parent 388c87a commit 20c838a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
Binary file modified public/img/wallpaper/iss.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/img/wallpaper/telescope.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/keeptrack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

import issJpg from '@public/img/wallpaper/iss.jpg';
import missionControlJpg from '@public/img/wallpaper/mission-control.jpg';
import observatoryJpg from '@public/img/wallpaper/observatory.jpg';
import rocketJpg from '@public/img/wallpaper/rocket.jpg';
import rocket2Jpg from '@public/img/wallpaper/rocket2.jpg';
import rocket3Jpg from '@public/img/wallpaper/rocket3.jpg';
Expand Down Expand Up @@ -75,7 +76,7 @@ import { SplashScreen } from './static/splash-screen';

export class KeepTrack {
/** An image is picked at random and then if the screen is bigger than 1080p then it loads the next one in the list */
private static splashScreenImgList_ = [thuleJpg, rocketJpg, rocket2Jpg, telescopeJpg, missionControlJpg, issJpg, rocket3Jpg];
private static splashScreenImgList_ = [observatoryJpg, thuleJpg, rocketJpg, rocket2Jpg, telescopeJpg, missionControlJpg, issJpg, rocket3Jpg];

private isShowFPS = false;
public isReady = false;
Expand Down
2 changes: 1 addition & 1 deletion src/static/splash-screen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export abstract class SplashScreen {
<div id="logo-inner-container" class="valign">
<div style="display: flex;">
<span id="logo-text" class="logo-font">KEEP TRACK</span>
<span id="logo-text-version" class="logo-font">9</span>
<span id="logo-text-version" class="logo-font">10</span>
</div>
<span id="loader-text">Downloading Science...</span>
</div>
Expand Down

0 comments on commit 20c838a

Please sign in to comment.