Garden leave is a different beast and seems fair, you and the employer each get something, non competes on the other hand do not usually offer anything to the employee.
Can confirm this was the case in the US, made me promise myself to never take another software engineer role at a non “tech” company ever again which I’ve held to ever since.
They outsourced every possible role in software engineering and IT to India to the bare minimum where all that was left were the devs who worked on the firmware for gov related projects and regulatory concerns meant only US citizens could work on it. For the devs that were left, it was an uphill battle for resources and salaries while it felt like Sales and marketing were put on a pedestal when this company’s entire product was our work.
Our HQ (over 3k people) is in the LA area, CEO posted on slack offering up to 10k for any fire related relocation costs during this time.