5180 fichiers 38.5 Mo 0 téléchargements 479 vues mis à jour il y a 7 heures ui
// AIR's loading screen (splash.PhotoSplashScreen): the frame's background and top, and the 30 user photos one of
// which shows between them. The imports are URLs, so the browser only fetches the photo that is shown.
import splashBg from './splash_bg.png';
import splashTop from './splash_top.png';

const rawUserPhotos = import.meta.glob('./userphoto_*.png', { eager: true, import: 'default' }) as Record<string, string>;

export const AIR_SPLASH_BG = splashBg;
export const AIR_SPLASH_TOP = splashTop;
export const AIR_USER_PHOTOS: readonly string[] = Object.keys(rawUserPhotos)
    .sort((a, b) => parseInt(a.replace(/\D/g, ''), 10) - parseInt(b.replace(/\D/g, ''), 10))
    .map((key) => rawUserPhotos[key]);
15Sujets
1Dépôts
20Membres
3En ligne
Profile
Inscrit
Dernière visite
Messages
0
Votes positifs
0
Votes négatifs
0

Nous utilisons des cookies pour assurer le bon fonctionnement du site et améliorer votre expérience. en savoir plus

Autoriser