@foreach($pages as $key => $row)
<tr>
    <th scope="row">
{{--        @if($row->id != 1)--}}
{{--        <div class="custom-control custom-checkbox">--}}
{{--            <input type="checkbox" class="custom-control-input selectOne deleteCheck" id="customCheck{{$row->id}}" value="{{$row->id}}" name="id[]">--}}
{{--            <label class="custom-control-label" for="customCheck{{$row->id}}">--}}{{-- $row->id --}}{{--</label>--}}
{{--        </div>--}}
{{--        @endif--}}
    </th>
    <td>
        @if($row->id == 1)
            {{ $row->why_us_title }}
        @endif
        @if($row->id == 2)
            {{ $row->about_us_overview_title }}
        @endif
        @if($row->id == 3)
            {{ $row->about_us_social_responsibility_title }}
        @endif
        @if($row->id == 4)
            {{ $row->about_us_company_strategy_title }}
        @endif
        @if($row->id == 5)
            {{ $row->vision_title }}
        @endif
        @if($row->id == 6)
            {{ $row->culture_values_title }}
        @endif
        @if($row->id == 7)
            {{ $row->performance_development_title }}
        @endif
    </td>
    <td colspan="2">{{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }}</td>
    <td>
{{--        @if($row->id == 1)--}}
{{--            <a href="{{ route ('pages.edit', $row->id) }}" class="icon" title="{{ __('dashboard.edit') }}"><img src="{{ asset('assets/admin/images/icons/draw.svg') }}" alt="{{ __('dashboard.edit') }}"></a>--}}
{{--        @else:--}}
{{--            @if($row->deleted_at)--}}
{{--                <a href="{{ route ('pages.restore', $row->id) }}" data-method="put" class="icon rowAction" title="{{ __('dashboard.restore') }}"><img src="{{ asset('assets/admin/images/icons/restore.svg') }}" alt="{{ __('dashboard.restore') }}"></a>--}}

{{--                <a href="{{ route ('pages.destroy', $row->id) }}" data-method="delete" class="icon rowAction" title="{{ __('dashboard.delete') }}"><img src="{{ asset('assets/admin/images/icons/close.svg') }}" alt="{{ __('dashboard.delete') }}"></a>--}}
{{--            @else--}}
                <a href="{{ route ('pages.edit', $row->id) }}" class="icon" title="{{ __('dashboard.edit') }}"><img src="{{ asset('assets/admin/images/icons/draw.svg') }}" alt="{{ __('dashboard.edit') }}"></a>

{{--                <a href="{{ route ('pages.destroy', $row->id) }}" data-method="delete" class="icon rowAction" title="{{ __('dashboard.trash') }}"><img src="{{ asset('assets/admin/images/icons/del.svg') }}" alt="{{ __('dashboard.trash') }}"></a>--}}
{{--            @endif--}}
{{--        @endif--}}
    </td>
</tr>
@endforeach

{{--@if( count( $pages ) )--}}
{{--<tr> <td></td><td> {{ $pages->links() }} </td> </tr>--}}
{{--@endif--}}

