I got laid off 3 months after I launched a modern website to replace my former company's old platform that none of their other developers wanted to work with.
I did exactly what they told me, something they wanted for years and years, and then I got laid off as a thanks instead of a bonus.
lol
Though I ended up getting a job that pays 30% more so I guess it ended up okay.