mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-07 05:54:10 +03:00
* Don't warn when event ids have expired for trigger sync * Import faster_whisper conditinally to avoid illegal instruction * Catch OpenVINO runtime error * fix race condition in detail stream context navigating between tracked objects in Explore would sometimes prevent the object track from appearing * Handle case where classification images are deleted * Adjust default rounded corners on larger screens * Improve flow handling for classification state * Remove images when wizard is cancelled * Improve deletion handling for classes * Set constraints on review buffers * Update to support correct data format * Set minimum duration for recording based review items * Use friendly name in review genai prompt --------- Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
28 lines
694 B
TypeScript
28 lines
694 B
TypeScript
import { cn } from "@/lib/utils";
|
|
|
|
type ImageShadowOverlayProps = {
|
|
upperClassName?: string;
|
|
lowerClassName?: string;
|
|
};
|
|
export function ImageShadowOverlay({
|
|
upperClassName,
|
|
lowerClassName,
|
|
}: ImageShadowOverlayProps) {
|
|
return (
|
|
<>
|
|
<div
|
|
className={cn(
|
|
"pointer-events-none absolute inset-x-0 top-0 z-10 h-[30%] w-full rounded-lg bg-gradient-to-b from-black/20 to-transparent",
|
|
upperClassName,
|
|
)}
|
|
/>
|
|
<div
|
|
className={cn(
|
|
"pointer-events-none absolute inset-x-0 bottom-0 z-10 h-[10%] w-full rounded-lg bg-gradient-to-t from-black/20 to-transparent",
|
|
lowerClassName,
|
|
)}
|
|
/>
|
|
</>
|
|
);
|
|
}
|