The solution that everyone goes on Zoom, regardless of whether or not they are sitting next to each other. Pretend the team is fully remote, but still take advantage of organic, local interaction to skill up new developers. We were coincidentally doing this in my workplace 6 months before COVID took off.
A lot of teams seem to also struggle with no "face to face" communication. Yeah you can't turn and talk to your colleague but you can press "Call", which arguably is the same amount of effort.