Latching Press-on / hold-off toggle switch circuit. Works on breadboard not on PCB
The datasheet says that the NAND gate you are using has open drain outputs.  The breadboard version had standard totem pole outputs.  I'm not sure how your circuit can work with open drain outputs.

The SN74LVC2G00 is a standard output version with the same pinout that should work better.