Dealing with pandemics, such as the recent COVID-19 virus, has highlighted the critical role of social distancing to avoid contagion and deaths. New technologies that allow replacing in-person for at-distance activities have blurred the mapping between social and economic distancing. In this paper we model how individuals react to social distancing guidelines by changing their network of economic relations, affecting total output, wealth inequality, and long-term growth.