-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
export function generateHappy(message?: string) {
const defaultMessages = [
"Keep going β you're doing great! πͺ",
"Small steps lead to big changes. π±",
"Today is a good day to smile. π",
"You're closer than you think. π",
"Stay curious, stay kind. β¨",
"Progress, not perfection. π",
"You make the code better. π»β€οΈ",
"Breathe. Youβre doing your best. π€οΈ",
"Trust the process, enjoy the journey. π€οΈ",
"Every bug fixed is a victory. ππ",
];
const text =
message ??
defaultMessages[Math.floor(Math.random() * defaultMessages.length)];
const timestamp = new Date().toLocaleTimeString();
console.log(
`%c[${timestamp}] %c${text}`,
'color: #ff69b4; font-weight: bold;',
'color: #333; font-size: 14px;'
);
return text;
}Copilot
Metadata
Metadata
Assignees
Labels
No labels