Componentize image-card into its own code.