<a href="@if(isset($link))
  {{ $link }}
  @else 
  {{ '#' }}
   @endif">


<div class="small-box bg-info">
  <div class="inner">
    <h3>{{ $cardcount}}</h3>

    <p>{{ $cardtitle}}</p>
  </div>
  <div class="icon">
    {{-- <i class="ion ion-bag"></i> --}}
  </div>
  </div>

</a>