Download core/resources/views/components/widget-6.blade.php from pnacorp/promptlab: direct link, hf CLI and curl.
- Browser
- Download file 1.23 kB
-
https://huggingface.co/pnacorp/promptlab/resolve/main/core/resources/views/components/widget-6.blade.php
- Command line
-
hf download hf://pnacorp/promptlab/core/resources/views/components/widget-6.blade.php
-
curl -L -o widget-6.blade.php https://huggingface.co/pnacorp/promptlab/resolve/main/core/resources/views/components/widget-6.blade.php
1.23 kB
| @props([ | |
| 'link' => null, | |
| 'title' => null, | |
| 'value' => null, | |
| 'icon' => '', | |
| 'bg' => 'primary', | |
| 'outline' => false, | |
| 'heading' => null, | |
| 'subheading' => null, | |
| 'viewMoreIcon' => true | |
| ]) | |
| <a href="{{ $link }}"> | |
| <div class="widget-seven bg--{{ $bg }} @if($outline) outline @endif"> | |
| <div class="widget-seven__content"> | |
| <span class="widget-seven__content-icon"> | |
| <span class="icon"> | |
| <i class="{{ $icon }}"></i> | |
| </span> | |
| </span> | |
| <div class="widget-seven__description"> | |
| @if($title) | |
| <p class="widget-seven__content-title">{{ __($title) }}</p> | |
| @endif | |
| <h3 class="widget-seven__content-amount">{{ $value || $value === "0" || $value === 0 ? $value : __($heading) }}</h3> | |
| @if($subheading) | |
| <p class="widget-seven__content-subheading">{{ __($subheading) }}</p> | |
| @endif | |
| </div> | |
| </div> | |
| @if ($viewMoreIcon) | |
| <span class="widget-seven__arrow"> | |
| <i class="fas fa-chevron-right"></i> | |
| </span> | |
| @endif | |
| </div> | |
| </a> | |