Download core/resources/views/components/widget-1.blade.php from pnacorp/promptlab: direct link, hf CLI and curl.
- Browser
- Download file 804 Bytes
-
https://huggingface.co/pnacorp/promptlab/resolve/main/core/resources/views/components/widget-1.blade.php
- Command line
-
hf download hf://pnacorp/promptlab/core/resources/views/components/widget-1.blade.php
-
curl -L -o widget-1.blade.php https://huggingface.co/pnacorp/promptlab/resolve/main/core/resources/views/components/widget-1.blade.php
804 Bytes
| @props([ | |
| 'link' => '', | |
| 'title' => '', | |
| 'value' => '', | |
| 'icon' => '', | |
| 'bg' => 'primary', | |
| 'color' => 'white', | |
| 'icon_color' => null, | |
| ]) | |
| @php | |
| $iconColor = $icon_color ?? $color; | |
| @endphp | |
| <div class="card bg--{{ $bg }} overflow-hidden box--shadow2"> | |
| @if ($link) | |
| <a href="{{ $link }}" class="item-link"></a> | |
| @endif | |
| <div class="card-body"> | |
| <div class="row align-items-center"> | |
| <div class="col-4"> | |
| <i class="la {{ $icon }} f-size--56 text--{{ $iconColor }}"></i> | |
| </div> | |
| <div class="col-8 text-end"> | |
| <span class="text--{{ $color }} text--small">{{ __($title) }}</span> | |
| <h2 class="text--{{ $color }}">{{ $value }}</h2> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |