Move if statement from contact to portfolio link