There's been a lot of thinking and discussion about this since the pandemic hit, but technology has a role to play in keeping people connected in eldercare facilities, as well as designing more outdoor spaces for people to congregate. Breaking communities down into smaller, independent households is also a strategy to allow residents to still be around people, just not as many people. Also, MASS Design recently came out with a guide for adapting existing buildings to balance infection control with social interaction that is a good resource: https://bit.ly/3nUf15P.