Text this: Interplay of superconductivity and charge-density-wave order in kagome materials