lidarr/frontend/src/Components/Loading/LoadingMessage.js
TyzzyT d7f796c49d
Update LoadingMessage.js
Adding a few lines of loading messages
2024-11-08 11:31:03 +01:00

45 lines
1.2 KiB
JavaScript

import React from 'react';
import styles from './LoadingMessage.css';
const messages = [
'Downloading more RAM',
'Now in Technicolor',
'Previously on Lidarr...',
'Bleep Bloop.',
'Locating the required gigapixels to render...',
'Spinning up the hamster wheel...',
'At least you\'re not on hold',
'Hum something loud while others stare',
'Loading humorous message... Please Wait',
'I could\'ve been faster in Python',
'Don\'t forget to rewind your tracks',
'Congratulations! You are the 1000th visitor.',
'HELP! I\'m being held hostage and forced to write these stupid lines!',
'RE-calibrating the internet...',
'I\'ll be here all week',
'Don\'t forget to tip your waitress',
'Apply directly to the forehead',
'Loading Battlestation',
'Adding more cowbell…',
'Loading… feel the rhythm!',
'Spinning the vinyl…',
'Syncing with the beat…',
'Preparing the setlist…'
];
let message = null;
function LoadingMessage() {
if (!message) {
const index = Math.floor(Math.random() * messages.length);
message = messages[index];
}
return (
<div className={styles.loadingMessage}>
{message}
</div>
);
}
export default LoadingMessage;