Files
e0d625f5-e0d8-463d-bfe1-228…/src/providers/themeProvider/config/background.ts
2026-04-15 07:12:17 +00:00

26 lines
1.2 KiB
TypeScript

import CircleGradientBackground from "@/components/background/CircleGradientBackground";
import AuroraBackground from "@/components/background/AuroraBackground";
import FloatingGradientBackground from "@/components/background/floatingGradientBackground/FloatingGradientBackground";
import NoiseBackground from "@/components/background/NoiseBackground";
import NoiseDiagonalGradientBackground from "@/components/background/NoiseDiagonalGradientBackground";
import FluidBackground from "@/components/background/FluidBackground";
import BlurBottomBackground from "@/components/background/BlurBottomBackground";
import GridBackround from "@/components/background/GridBackround";
import type { BackgroundType } from "./types";
interface BackgroundComponentProps {
className?: string;
}
export const backgroundComponents: Record<BackgroundType, React.ComponentType<BackgroundComponentProps> | null> = {
none: null,
circleGradient: CircleGradientBackground,
aurora: AuroraBackground,
floatingGradient: FloatingGradientBackground,
noise: NoiseBackground,
noiseDiagonalGradient: NoiseDiagonalGradientBackground,
fluid: FluidBackground,
blurBottom: BlurBottomBackground,
grid: GridBackround,
};