@if($notices)
    @foreach($notices->list as $row)
    <tr>
        <td>
            <div class="row">
                <div class="col col-md-10">
                    <p>
                        <img src="/images/icon/notice.gif" class="img-fluid me-2" alt="공지사항"/>
                        @if($boardMeta->use_category && $row->categoryName)
                            <label>
                                <a href="{{ $listURL }}?category={{ $row->board_category_id }}" class="me-0" rel="search">
                                    [{{ $row->categoryName }}]
                                </a>
                            </label>
                        @endif
                        @if($row->is_secret)
                            <i class="fas fa-lock"></i>
                        @endif
                            <a href="{{ $row->viewURL }}" hreflang="ko" referrerpolicy="origin" type="text/html">{{ $row->subject }}</a>
                        @if($row->comment_rows > 0)
                            <var>[{{ $row->comment_rows }}]</var>
                        @endif
                        @if($row->file_rows > 0)
                            <i class="fas fa-save"></i>
                        @endif
                        @if($row->link_rows > 0)
                            <i class="fas fa-external-link-alt"></i>
                        @endif
                        @if($row->image_rows > 0)
                            <i class="fas fa-image"></i>
                        @endif
                        @if($row->isNew)
                            <span class="badge bg-warning text-dark">New</span>
                        @endif
                        @if($row->isHot)
                            <span class="badge bg-danger">Hot</span>
                        @endif
                    </p>
                    <ul>
                        <li>{{ $row->user->name }}</li>
                        <li>{{ $row->createdAt }}</li>
                        <li>조회 {{ $row->hit }}</li>
                    </ul>
                </div>
                @if($row->thumbnail)
                    <div class="col-3 col-md-2 align-self-center">
                        <img src="{{ $row->thumbnail }}" class="img-fluid rounded w-100" alt="{{ $row->subject }}"/>
                    </div>
                @endif
            </div>
        </td>
    </tr>
    @endforeach
@endif
