Add Christmas theme and snow effects for December

Introduces a Christmas theme that activates in December, including themed colors, subtle background patterns, and snowflake effects on loading screens. Adds a reusable SnowLoader component and utility for December detection. Updates layout and loading components to conditionally apply decorations and styles only during December.
This commit is contained in:
g
2025-12-08 00:47:57 +00:00
parent 224342c410
commit e7fcfd63a2
10 changed files with 139 additions and 28 deletions

9
lib/utils/christmas.ts Normal file
View File

@@ -0,0 +1,9 @@
/**
* Check if the current date is in December
* @returns true if current month is December (0-indexed, so 11 = December)
*/
export function isDecember(): boolean {
const now = new Date();
return now.getMonth() === 11; // December is month 11 (0-indexed)
}