Fix require issue
Refactor out transparent links into their own helper method