@extends('shared.vertical',['title'=>'İkon Kütüphanesi']) @section('styles') @endsection @section('content') @php $totalEntries = collect($groups)->sum(fn($group) => count((array)($group['items'] ?? []))); $sourceKeys = collect($groups)->flatMap(fn($group) => collect((array)($group['items'] ?? []))->pluck('source'))->filter()->unique()->values(); @endphp

İkon Kütüphanesi

Tüm kayıtlı ikonları kategoriye göre bulabilir, UXWing kataloğundan yeni ikon ekleyebilirsin.

Buton Sistemi @if(auth()->user()?->isSuperAdmin() || auth()->user()?->hasRole('admin'))Özel İkonlar / Icon Stock@endif JSON Kataloğu
{{ $stats['web_unique'] ?? 0 }}Benzersiz web ikonu
{{ count($groups) }}İkon grubu
{{ $stats['custom_icons'] ?? 0 }}Yerel kayıtlı ikon
{{ $totalEntries }}Toplam katalog kaydı
Aktif sistem kaynağı: Icon Master V{{ $version }}. Admin, Bireysel veya Bayi tarafından seçilerek yerelde saklanan custom:* ikonlar bu kataloğa dinamik olarak katılır ve mevcut/yeni tüm Full Temalarda aynı merkezi seçiciden kullanılabilir.
UXWing Merkezi Dağıtım Kontrolü: {{ (int)($uxwingHealth['stored'] ?? 0) }} yerel kayıt, {{ (int)($uxwingHealth['active'] ?? 0) }} aktif ikon, {{ (int)($uxwingHealth['missing_files'] ?? 0) }} eksik dosya. @if(($uxwingHealth['missing_files'] ?? 0) > 0) Eksik dosyalar için yedek ve sunucu dosyalarını denetleyin. @endif
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))@endif
{{ $totalEntries }} ikon gösteriliyor.
@foreach($groups as $group) @php($groupName=(string)($group['name'] ?? 'Grup')) @php($groupKey=mb_strtolower($groupName,'UTF-8'))

{{ $groupName }}

{{ count((array)($group['items'] ?? [])) }}
@foreach((array)($group['items'] ?? []) as $item) @php($label=(string)($item['label'] ?? $item['id'] ?? 'İkon')) @php($id=(string)($item['id'] ?? '')) @php($source=(string)($item['source'] ?? 'local')) @php($search=mb_strtolower($label.' '.$id.' '.$groupName.' '.$source,'UTF-8'))
{{ $label }}
{{ $label }} {{ $id }} @if(!empty($item['db_id']) && (auth()->user()?->isSuperAdmin() || auth()->user()?->hasRole('admin')))
@csrf @method('DELETE')
@endif
@endforeach
@endforeach
Bu filtrelerle eşleşen ikon bulunamadı.
@endsection @section('scripts') @endsection