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

View File

@@ -3,6 +3,7 @@
import { Skeleton } from "@/components/ui/skeleton";
import { Card } from "@/components/ui/card";
import { Loader2 } from "lucide-react";
import { SnowLoader } from "@/components/snow-loader";
interface PageLoadingProps {
title?: string;
@@ -30,6 +31,7 @@ export default function PageLoading({
{/* Main content skeleton */}
<Card className="relative overflow-hidden">
<SnowLoader className="z-0" count={25} />
<div className="absolute inset-0 flex items-center justify-center z-10 pointer-events-none">
<div className="flex flex-col items-center justify-center bg-background/80 backdrop-blur-[2px] p-6 rounded-lg shadow-sm">
<Loader2 className="h-10 w-10 animate-spin text-primary mb-3" />