Files
ladill-transfer/resources/views/transfer/files/partials/folder-list-icon.blade.php
T
isaaccladandCursor f458dccd49
Deploy Ladill Transfer / deploy (push) Successful in 41s
Polish Files UI and scope search to mobile-only transfers/files.
Remove desktop header search, wire mobile search to the transfers and files page, refine file icons and Shared badge, and align Transfers toolbar with Files.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 21:47:33 +00:00

18 lines
545 B
PHP

@php
$size = $size ?? 'sm';
$classes = match ($size) {
'xs' => 'h-7 w-7 rounded-md',
default => 'h-8 w-8 rounded-lg',
};
$iconClasses = match ($size) {
'xs' => 'h-3.5 w-3.5',
default => 'h-4 w-4',
};
@endphp
<span @class([
'inline-flex shrink-0 items-center justify-center bg-gradient-to-br from-amber-50 to-orange-50 text-amber-600 ring-1 ring-amber-100',
$classes,
])>
<img src="{{ asset('images/ladill-icons/folder.svg') }}" alt="" @class([$iconClasses, 'opacity-90'])>
</span>