Thermodynamics, contact and density profiles of the repulsive Gaudin-Yang model