We theoretically introduce a mesoscopic pendulum from a triple dot. The pendulum is fastened through a singly occupied dot (spin qubit). Two other strongly capacitively coupled islands form a double-dot charge qubit with one electron in excess oscillating between the two low-energy charge states (1,0) and (0,1). The triple dot is placed between two superconducting leads. Under realistic conditions, the main proximity effect stems from the injection of resonating singlet (valence) bonds on the triple dot. This gives rise to a Josephson current that is charge- and spin-dependent and, as a consequence, exhibits a distinct resonance as a function of the superconducting phase difference.