reworked link in portfolio and preview class