Tbh
Have been laid off before. Fortunately, my boss was really good, got a good severance and a positive letter of recommendation
They even gave me the laptop, this helped a lot, esp when you use company gadgets and never invested in personal laptop (i guess no one in tech does)
Job search saga- My confidence was low, it feels like you are being judged by possibly everyone around you, took me 3 mos to get a new one. I was ashamed of asking my friends/ good colleagues in good companies for any kind of help (that's a regret). Luckily, i didn't have any emis and didn't need to support family.
Now in new company, i keep on reminding myself that it's a transaction b/w me and my employer, have been up-skilling ever since.
I'm really sorry to hear what happened with you. Good luck with your search, and tc of yourself!