import React, { useEffect } from 'react'; const BSOD = ({ isActive, toggleBSOD }) => { useEffect(() => { if (!isActive) return; const handleKeyDown = () => { toggleBSOD(); }; window.addEventListener('keydown', handleKeyDown); return () => window.removeEventListener('keydown', handleKeyDown); }, [isActive, toggleBSOD]); if (!isActive) return null; return (
FEZCODEX

A fatal exception 0xFEZ has occurred at 0028:C0DE1337 in VXD VMM(01) + 00010E36. The current application will be terminated.

A problem has been detected and Fezcodex has been shut down to prevent damage to your browser.

If this is the first time you've seen this stop error screen, restart your computer. If this screen appears again, follow these steps:

Technical Information:

*** STOP: 0x00000000 (0x00000000, 0x00000000, 0x00000000, 0x00000000)

Press any key to continue_

); }; export default BSOD;