Files
sam-manage/resources/views/components/sidebar/menu-icon.blade.php
2026-01-20 15:40:12 +09:00

137 lines
22 KiB
PHP

@props(['icon' => null, 'class' => 'w-4 h-4 flex-shrink-0'])
@php
$icons = [
// 기본 아이콘
'home' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" />',
'folder' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z" />',
'menu' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />',
'default' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />',
// 대시보드
'layout-dashboard' => '<rect x="3" y="3" width="7" height="9" rx="1" stroke-width="2" /><rect x="14" y="3" width="7" height="5" rx="1" stroke-width="2" /><rect x="14" y="12" width="7" height="9" rx="1" stroke-width="2" /><rect x="3" y="16" width="7" height="5" rx="1" stroke-width="2" />',
'dashboard' => '<rect x="3" y="3" width="7" height="9" rx="1" stroke-width="2" /><rect x="14" y="3" width="7" height="5" rx="1" stroke-width="2" /><rect x="14" y="12" width="7" height="9" rx="1" stroke-width="2" /><rect x="3" y="16" width="7" height="5" rx="1" stroke-width="2" />',
'layout' => '<rect x="3" y="3" width="18" height="18" rx="2" stroke-width="2" /><line x1="3" y1="9" x2="21" y2="9" stroke-width="2" /><line x1="9" y1="21" x2="9" y2="9" stroke-width="2" />',
// 결재/문서 관리
'file-check' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z" /><polyline stroke-width="2" points="14 2 14 8 20 8" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 15l2 2 4-4" />',
'file-edit' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z" /><polyline stroke-width="2" points="14 2 14 8 20 8" /><line x1="12" y1="18" x2="12" y2="12" stroke-width="2" /><line x1="9" y1="15" x2="15" y2="15" stroke-width="2" />',
'file-text' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z" /><polyline stroke-width="2" points="14 2 14 8 20 8" /><line x1="16" y1="13" x2="8" y2="13" stroke-width="2" /><line x1="16" y1="17" x2="8" y2="17" stroke-width="2" /><line x1="10" y1="9" x2="8" y2="9" stroke-width="2" />',
'document-text' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />',
'inbox' => '<polyline stroke-linecap="round" stroke-linejoin="round" stroke-width="2" points="22 12 16 12 14 15 10 15 8 12 2 12" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5.45 5.11L2 12v6a2 2 0 002 2h16a2 2 0 002-2v-6l-3.45-6.89A2 2 0 0016.76 4H7.24a2 2 0 00-1.79 1.11z" />',
'clipboard-check' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 14l2 2 4-4" />',
'clipboard-list' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" />',
// 게시판/목록
'layout-list' => '<rect x="3" y="3" width="18" height="18" rx="2" stroke-width="2" /><line x1="3" y1="9" x2="21" y2="9" stroke-width="2" /><line x1="3" y1="15" x2="21" y2="15" stroke-width="2" /><line x1="12" y1="3" x2="12" y2="21" stroke-width="2" />',
// 보기/눈
'eye' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" /><circle cx="12" cy="12" r="3" stroke-width="2" />',
// 품목/재고 관리
'package' => '<line x1="16.5" y1="9.4" x2="7.5" y2="4.21" stroke-width="2" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z" /><polyline stroke-width="2" points="3.27 6.96 12 12.01 20.73 6.96" /><line x1="12" y1="22.08" x2="12" y2="12" stroke-width="2" />',
'box' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z" />',
'archive' => '<polyline stroke-width="2" points="21 8 21 21 3 21 3 8" /><rect x="1" y="3" width="22" height="5" stroke-width="2" /><line x1="10" y1="12" x2="14" y2="12" stroke-width="2" />',
'cube' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4" />',
'warehouse' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 21h18M3 10h18M3 7l9-4 9 4M6 21V10m12 11V10m-6 11v-6a2 2 0 012-2h0a2 2 0 012 2v6" />',
'layers' => '<polygon stroke-width="2" points="12 2 2 7 12 12 22 7 12 2" /><polyline stroke-width="2" points="2 17 12 22 22 17" /><polyline stroke-width="2" points="2 12 12 17 22 12" />',
// 데이터베이스
'database' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4m0 5c0 2.21-3.582 4-8 4s-8-1.79-8-4" />',
// 사용자/인사 관리
'users' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2" /><circle cx="9" cy="7" r="4" stroke-width="2" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M23 21v-2a4 4 0 00-3-3.87M16 3.13a4 4 0 010 7.75" />',
'user' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2" /><circle cx="12" cy="7" r="4" stroke-width="2" />',
'user-group' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z" />',
// 건물/회사
'building' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4" />',
'building-2' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 22V4c0-.27.1-.52.3-.71.19-.2.44-.29.7-.29h10c.27 0 .52.1.71.29.2.2.29.44.29.71v18H6zM6 12H4c-.27 0-.52.1-.71.29-.2.2-.29.44-.29.71v9h3v-10zM18 9h2c.27 0 .52.1.71.29.2.2.29.44.29.71v12h-3V9z" /><line x1="10" y1="6" x2="14" y2="6" stroke-width="2" /><line x1="10" y1="10" x2="14" y2="10" stroke-width="2" /><line x1="10" y1="14" x2="14" y2="14" stroke-width="2" /><line x1="10" y1="18" x2="14" y2="18" stroke-width="2" />',
'landmark' => '<line x1="3" y1="22" x2="21" y2="22" stroke-width="2" /><line x1="6" y1="18" x2="6" y2="11" stroke-width="2" /><line x1="10" y1="18" x2="10" y2="11" stroke-width="2" /><line x1="14" y1="18" x2="14" y2="11" stroke-width="2" /><line x1="18" y1="18" x2="18" y2="11" stroke-width="2" /><polygon stroke-width="2" points="12 2 20 7 4 7" />',
// 일정/캘린더
'calendar' => '<rect x="3" y="4" width="18" height="18" rx="2" stroke-width="2" /><line x1="16" y1="2" x2="16" y2="6" stroke-width="2" /><line x1="8" y1="2" x2="8" y2="6" stroke-width="2" /><line x1="3" y1="10" x2="21" y2="10" stroke-width="2" />',
'calendar-check' => '<rect x="3" y="4" width="18" height="18" rx="2" stroke-width="2" /><line x1="16" y1="2" x2="16" y2="6" stroke-width="2" /><line x1="8" y1="2" x2="8" y2="6" stroke-width="2" /><line x1="3" y1="10" x2="21" y2="10" stroke-width="2" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 16l2 2 4-4" />',
'calendar-days' => '<rect x="3" y="4" width="18" height="18" rx="2" stroke-width="2" /><line x1="16" y1="2" x2="16" y2="6" stroke-width="2" /><line x1="8" y1="2" x2="8" y2="6" stroke-width="2" /><line x1="3" y1="10" x2="21" y2="10" stroke-width="2" /><line x1="8" y1="14" x2="8" y2="14" stroke-width="2" /><line x1="12" y1="14" x2="12" y2="14" stroke-width="2" /><line x1="16" y1="14" x2="16" y2="14" stroke-width="2" /><line x1="8" y1="18" x2="8" y2="18" stroke-width="2" /><line x1="12" y1="18" x2="12" y2="18" stroke-width="2" />',
'clock' => '<circle cx="12" cy="12" r="10" stroke-width="2" /><polyline stroke-width="2" points="12 6 12 12 16 14" />',
// 금융/회계
'dollar-sign' => '<line x1="12" y1="1" x2="12" y2="23" stroke-width="2" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 5H9.5a3.5 3.5 0 000 7h5a3.5 3.5 0 010 7H6" />',
'credit-card' => '<rect x="1" y="4" width="22" height="16" rx="2" stroke-width="2" /><line x1="1" y1="10" x2="23" y2="10" stroke-width="2" />',
'trending-up' => '<polyline stroke-width="2" points="23 6 13.5 15.5 8.5 10.5 1 18" /><polyline stroke-width="2" points="17 6 23 6 23 12" />',
'trending-down' => '<polyline stroke-width="2" points="23 18 13.5 8.5 8.5 13.5 1 6" /><polyline stroke-width="2" points="17 18 23 18 23 12" />',
'receipt' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1-2-1z" /><line x1="8" y1="6" x2="16" y2="6" stroke-width="2" /><line x1="8" y1="10" x2="16" y2="10" stroke-width="2" /><line x1="8" y1="14" x2="12" y2="14" stroke-width="2" />',
// 차트/리포트
'bar-chart-3' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 3v18h18" /><rect x="7" y="10" width="3" height="8" stroke-width="2" /><rect x="12" y="5" width="3" height="13" stroke-width="2" /><rect x="17" y="8" width="3" height="10" stroke-width="2" />',
'chart-bar' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" />',
'pie-chart' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21.21 15.89A10 10 0 118 2.83" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M22 12A10 10 0 0012 2v10z" />',
// 고객센터/커뮤니케이션
'headphones' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 18v-6a9 9 0 0118 0v6" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 19a2 2 0 01-2 2h-1a2 2 0 01-2-2v-3a2 2 0 012-2h3zM3 19a2 2 0 002 2h1a2 2 0 002-2v-3a2 2 0 00-2-2H3z" />',
'megaphone' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 11l18-5v12L3 13v-2z" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11.6 16.8a3 3 0 11-5.8-1.6" />',
'help-circle' => '<circle cx="12" cy="12" r="10" stroke-width="2" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3" /><line x1="12" y1="17" x2="12.01" y2="17" stroke-width="2" />',
'message-circle' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 11.5a8.38 8.38 0 01-.9 3.8 8.5 8.5 0 01-7.6 4.7 8.38 8.38 0 01-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 01-.9-3.8 8.5 8.5 0 014.7-7.6 8.38 8.38 0 013.8-.9h.5a8.48 8.48 0 018 8v.5z" />',
'bell' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 8A6 6 0 006 8c0 7-3 9-3 9h18s-3-2-3-9" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13.73 21a2 2 0 01-3.46 0" />',
// 보안/권한
'shield' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" />',
'shield-check' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z" />',
'lock' => '<rect x="3" y="11" width="18" height="11" rx="2" stroke-width="2" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 11V7a5 5 0 0110 0v4" />',
'key' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 2l-2 2m-7.61 7.61a5.5 5.5 0 11-7.778 7.778 5.5 5.5 0 017.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4" />',
'award' => '<circle cx="12" cy="8" r="7" stroke-width="2" /><polyline stroke-width="2" points="8.21 13.89 7 23 12 20 17 23 15.79 13.88" />',
// 상태/알림
'alert-circle' => '<circle cx="12" cy="12" r="10" stroke-width="2" /><line x1="12" y1="8" x2="12" y2="12" stroke-width="2" /><line x1="12" y1="16" x2="12.01" y2="16" stroke-width="2" />',
'check-circle' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M22 11.08V12a10 10 0 11-5.93-9.14" /><polyline stroke-width="2" points="22 4 12 14.01 9 11.01" />',
'check-square' => '<polyline stroke-width="2" points="9 11 12 14 22 4" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12v7a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h11" />',
'x-circle' => '<circle cx="12" cy="12" r="10" stroke-width="2" /><line x1="15" y1="9" x2="9" y2="15" stroke-width="2" /><line x1="9" y1="9" x2="15" y2="15" stroke-width="2" />',
'arrow-up-circle' => '<circle cx="12" cy="12" r="10" stroke-width="2" /><polyline stroke-width="2" points="16 12 12 8 8 12" /><line x1="12" y1="16" x2="12" y2="8" stroke-width="2" />',
'arrow-down-circle' => '<circle cx="12" cy="12" r="10" stroke-width="2" /><polyline stroke-width="2" points="8 12 12 16 16 12" /><line x1="12" y1="8" x2="12" y2="16" stroke-width="2" />',
// 기록/히스토리
'history' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 3v5h5" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3.05 13A9 9 0 1012 3C7.96 3 4.53 5.77 3.3 9.5" /><polyline stroke-width="2" points="12 7 12 12 16 14" />',
'activity' => '<polyline stroke-width="2" points="22 12 18 12 15 21 9 3 6 12 2 12" />',
// 설정/조정
'cog' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />',
'settings' => '<circle cx="12" cy="12" r="3" stroke-width="2" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19.4 15a1.65 1.65 0 00.33 1.82l.06.06a2 2 0 010 2.83 2 2 0 01-2.83 0l-.06-.06a1.65 1.65 0 00-1.82-.33 1.65 1.65 0 00-1 1.51V21a2 2 0 01-2 2 2 2 0 01-2-2v-.09A1.65 1.65 0 009 19.4a1.65 1.65 0 00-1.82.33l-.06.06a2 2 0 01-2.83 0 2 2 0 010-2.83l.06-.06a1.65 1.65 0 00.33-1.82 1.65 1.65 0 00-1.51-1H3a2 2 0 01-2-2 2 2 0 012-2h.09A1.65 1.65 0 004.6 9a1.65 1.65 0 00-.33-1.82l-.06-.06a2 2 0 010-2.83 2 2 0 012.83 0l.06.06a1.65 1.65 0 001.82.33H9a1.65 1.65 0 001-1.51V3a2 2 0 012-2 2 2 0 012 2v.09a1.65 1.65 0 001 1.51 1.65 1.65 0 001.82-.33l.06-.06a2 2 0 012.83 0 2 2 0 010 2.83l-.06.06a1.65 1.65 0 00-.33 1.82V9a1.65 1.65 0 001.51 1H21a2 2 0 012 2 2 2 0 01-2 2h-.09a1.65 1.65 0 00-1.51 1z" />',
'sliders' => '<line x1="4" y1="21" x2="4" y2="14" stroke-width="2" /><line x1="4" y1="10" x2="4" y2="3" stroke-width="2" /><line x1="12" y1="21" x2="12" y2="12" stroke-width="2" /><line x1="12" y1="8" x2="12" y2="3" stroke-width="2" /><line x1="20" y1="21" x2="20" y2="16" stroke-width="2" /><line x1="20" y1="12" x2="20" y2="3" stroke-width="2" /><line x1="1" y1="14" x2="7" y2="14" stroke-width="2" /><line x1="9" y1="8" x2="15" y2="8" stroke-width="2" /><line x1="17" y1="16" x2="23" y2="16" stroke-width="2" />',
'adjustments' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4" />',
'wrench' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.7 6.3a1 1 0 000 1.4l1.6 1.6a1 1 0 001.4 0l3.77-3.77a6 6 0 01-7.94 7.94l-6.91 6.91a2.12 2.12 0 01-3-3l6.91-6.91a6 6 0 017.94-7.94l-3.76 3.76z" />',
// 개발/코드
'code' => '<polyline stroke-width="2" points="16 18 22 12 16 6" /><polyline stroke-width="2" points="8 6 2 12 8 18" />',
'terminal' => '<polyline stroke-width="2" points="4 17 10 11 4 5" /><line x1="12" y1="19" x2="20" y2="19" stroke-width="2" />',
'server' => '<rect x="2" y="2" width="20" height="8" rx="2" stroke-width="2" /><rect x="2" y="14" width="20" height="8" rx="2" stroke-width="2" /><line x1="6" y1="6" x2="6.01" y2="6" stroke-width="2" /><line x1="6" y1="18" x2="6.01" y2="18" stroke-width="2" />',
'beaker' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z" />',
// 유틸리티
'calculator' => '<rect x="4" y="2" width="16" height="20" rx="2" stroke-width="2" /><line x1="8" y1="6" x2="16" y2="6" stroke-width="2" /><line x1="8" y1="10" x2="8" y2="10" stroke-width="2" /><line x1="12" y1="10" x2="12" y2="10" stroke-width="2" /><line x1="16" y1="10" x2="16" y2="10" stroke-width="2" /><line x1="8" y1="14" x2="8" y2="14" stroke-width="2" /><line x1="12" y1="14" x2="12" y2="14" stroke-width="2" /><line x1="16" y1="14" x2="16" y2="14" stroke-width="2" /><line x1="8" y1="18" x2="8" y2="18" stroke-width="2" /><line x1="12" y1="18" x2="12" y2="18" stroke-width="2" /><line x1="16" y1="18" x2="16" y2="18" stroke-width="2" />',
'palette' => '<circle cx="13.5" cy="6.5" r="0.5" stroke-width="2" fill="currentColor" /><circle cx="17.5" cy="10.5" r="0.5" stroke-width="2" fill="currentColor" /><circle cx="8.5" cy="7.5" r="0.5" stroke-width="2" fill="currentColor" /><circle cx="6.5" cy="12.5" r="0.5" stroke-width="2" fill="currentColor" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 011.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.555C21.965 6.012 17.461 2 12 2z" />',
'map-pin' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z" /><circle cx="12" cy="10" r="3" stroke-width="2" />',
'tag' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z" />',
'collection' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" />',
'external-link' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" />',
'sparkles' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z" />',
'lightning-bolt' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />',
'puzzle' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 4a2 2 0 114 0v1a1 1 0 001 1h3a1 1 0 011 1v3a1 1 0 01-1 1h-1a2 2 0 100 4h1a1 1 0 011 1v3a1 1 0 01-1 1h-3a1 1 0 01-1-1v-1a2 2 0 10-4 0v1a1 1 0 01-1 1H7a1 1 0 01-1-1v-3a1 1 0 00-1-1H4a2 2 0 110-4h1a1 1 0 001-1V7a1 1 0 011-1h3a1 1 0 001-1V4z" />',
// 물류/운송
'truck' => '<rect x="1" y="3" width="15" height="13" stroke-width="2" /><polygon stroke-width="2" points="16 8 20 8 23 11 23 16 16 16 16 8" /><circle cx="5.5" cy="18.5" r="2.5" stroke-width="2" /><circle cx="18.5" cy="18.5" r="2.5" stroke-width="2" />',
'car' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 3H8l-4 6v7h16v-7l-4-6z" /><circle cx="6" cy="17" r="2" stroke-width="2" /><circle cx="18" cy="17" r="2" stroke-width="2" /><line x1="4" y1="9" x2="20" y2="9" stroke-width="2" />',
// 판매/구매
'shopping-cart' => '<circle cx="9" cy="21" r="1" stroke-width="2" /><circle cx="20" cy="21" r="1" stroke-width="2" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 1h4l2.68 13.39a2 2 0 002 1.61h9.72a2 2 0 002-1.61L23 6H6" />',
'factory' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 20h20M4 20V10l6 4V6l6 4V4l6 4v12" />',
];
$path = $icons[$icon] ?? $icons['default'];
@endphp
@if($icon)
<svg {{ $attributes->merge(['class' => $class]) }} fill="none" stroke="currentColor" viewBox="0 0 24 24">
{!! $path !!}
</svg>
@endif