profile-col-item.blade.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <div {{ $attributes->merge(['class' => "col-{$size}"]) }}>
  2. <div class="description-block">
  3. {{-- Icon --}}
  4. @isset($icon)
  5. <i class="{{ $icon }}"></i>
  6. @endisset
  7. {{-- Header --}}
  8. @isset($title)
  9. <h5 class="description-header">
  10. @if(! empty($url) && $urlTarget === 'title')
  11. <a href="{{ $url }}">{{ $title }}</a>
  12. @else
  13. {{ $title }}
  14. @endif
  15. </h5>
  16. @endisset
  17. {{-- Text --}}
  18. @isset($text)
  19. <p class="description-text">
  20. <span class="{{ $makeTextWrapperClass() }}"
  21. @isset($textTooltip) title="{{ $textTooltip }}" style="cursor:help;" @endisset>
  22. @if(! empty($url) && $urlTarget === 'text')
  23. <a href="{{ $url }}">{{ $text }}</a>
  24. @else
  25. {{ $text }}
  26. @endif
  27. </span>
  28. </p>
  29. @endisset
  30. </div>
  31. </div>