@extends('web.layouts.layout')

@section('content')
<section class="websites section-padding">
    <div class="container">
        <div class="row">
            @foreach($websites as $website)
            <div class="col-lg-4">
                <div class="items">
                    <div class="img">
                        <a title="{{ $website->currentDescription->title }}" href="{{ $website->url }}" title="{{ $website->currentDescription->title }}" target="_blank" >
                            <img src="{{ getImage($website->image) }}" alt="{{ $website->currentDescription->title }}">
                        </a>
                    </div>
                    <h3><a href="{{ $website->url }}" title="{{ $website->currentDescription->title }}" target="_blank">{{ $website->currentDescription->title }}</a></h3>
                    <!-- <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Corrupti ducimus hic deserunt.</p> -->
                </div>
            </div>
            @endforeach
        </div>

        @if( count( $websites ) && $websites->hasPages() )
            <div class="text-center"> {{ $websites->links() }} </div>
        @endif
    </div>
</section>
@endsection

@section('content_js')

@endsection
