'use client' import type * as React from 'react' import { usePageBoundaryBlurVisibility } from '@admin/hooks/use-page-boundary-blur-visibility' import { cn } from '@admin/utils/shared/cn' import { motion } from 'motion/react' type ProgressiveBlurProps = React.ComponentProps & { backgroundColor?: string position?: 'top' | 'bottom' height?: React.CSSProperties['height'] blurAmount?: string scrollAware?: boolean } function ProgressiveBlur({ className, style, backgroundColor = 'var(--background)', position = 'top', height = '150px', blurAmount = '0', scrollAware = true, ...props }: ProgressiveBlurProps) { const isVisible = usePageBoundaryBlurVisibility(position, { disabled: !scrollAware }) return (