add abstracted code for social links