Need help with an animation/deform/rig

Does anyone know the best way to curve various different objects along the same curve
I need these 4 cubes + plane to arch as they go along
Super easy to do in c4d but not sure how to go about it in blender
I tried parenting them all to a lattice and then using a curve deform on that… didn’t work
They all scaled independently with the lattice , instead of as a whole

This is a mock up of the thing i’m making

Why not make them all one object with different vertex groups for animation purposes, then just add a curve modifier and Bezier curve, to the object to bend it? You can then have an armature to animate the different bits. I can’t see the need for a lattice here…

Xmas Cheers, Clock.