Files
career-ops-vbleroy/web/src/components/apply/apply-backdrop-mount.tsx
T
redlineo d295c7f139
Release Please / release-please (push) Failing after 4m2s
Web CI / web typecheck + build (push) Successful in 3m39s
CodeQL Analysis / Analyze (javascript-typescript) (push) Failing after 1h1m49s
CodeQL Analysis / Analyze (go) (push) Failing after 1h1m49s
init
2026-07-13 10:14:00 +03:00

15 lines
673 B
TypeScript

"use client";
import { useApply } from "@/components/apply/apply-provider";
import { ApplyBackdrop } from "@/components/apply/apply-backdrop";
// Mounts the full-viewport apply wallpaper at the PAGE level (a sibling before
// the content) so it sits behind everything — header + questions scroll over the
// blurred form. Active only once a session is opening/processing/ready.
export function ApplyBackdropMount() {
const a = useApply();
if (a.status === "idle" || a.status === "error") return null;
const intense = a.status === "opening" || a.status === "prefilling" || a.status === "filling";
return <ApplyBackdrop image={a.shots[0]} intense={intense} />;
}