Logic to render the board cards