Text this: Micro and Nanophotonics for Semiconductor Infrared Detectors