Front end will go first. Designers will become front end engineers
I don't see that being automated by language models in the sense of that it would enable the technically unsophisticated designers of today to come up with even an actually deployable UI, let alone one that is maintainable, so that a change in requierements would not lead back to square one.
I'm willing to be a spectator in attempts of business to chase that folly, though. Once systems start to degrade engineering demand will go up.
BE will generate FE templates and to wire it up to the API they built
FE, designers are screwed. BE is safe.