created link for each card to show details