If the Sun got larger, but maintained its luminosity, would the Earth get hotter or colder?
To a first approximation if the Sun got bigger (by a relatively small factor, say a few times) but maintained its present luminosity, as the Earth would still be intercepting the same total energy per unit time the temperature would stay the same. Constant luminosity gives a constant intensity at the Earth's distance from the Sun (intensity is the energy crossing unit area in unit time) which would mean that the total solar energy intercepted by the Earth would remain the same.

However in this scenario the colour of the sun would change and we would get secondary effects due to the reflectivity of the Earth being frequency dependent so the fraction of the incident energy reflected rather than absorbed would change, which would result in a change in temperature. Which direction this would go in is difficult to say as an increase in temperature should result in more cloud which would increase reflectivity ...