Republicans and Democrats are putting on shows of party unity following an assassination attempt on former President Donald Trump and President Joe Biden's departure from the presidential race after intense intra-party pressure.