Should I focus on competitive programming or projects for my resume?

Not at all. Most working programmers, who get paid and contribute to the world, have never done a line of “competitive coding” in their lives.

Competitive coding is just a sport, like tennis. It might be one of several helpful ways to keep fit, but it’s not necessary. There are plenty of other ways of staying fit and some of them are even better or more convenient for you.