@extends('front.layouts.master')

@section('seo_title', $global_other_page_items->page_portfolios_seo_title)
@section('seo_meta_description', $global_other_page_items->page_portfolios_seo_meta_description)

@section('content')
<!-- Banner Section -->
<section class="page-title" style="background-image: url({{ asset('uploads/'.$global_setting->banner) }});">
    <div class="auto-container">
        <div class="title-outer">
            <h1 class="title">{{ $global_other_page_items->page_portfolios_title }}</h1>
            <ul class="page-breadcrumb">
                <li><a href="{{ url('/') }}">{{ __('Home') }}</a></li>
                <li>{{ $global_other_page_items->page_portfolios_title }}</li>
            </ul>
        </div>
    </div>
</section>
<!-- // Banner Section -->


<!-- Portfolios Section -->
<section>
    <div class="container">
        <div class="row g-3">
            @foreach ($portfolios as $row)
            <div class="col-lg-4 col-md-6 col-sm-12">
                <div class="project-block">
                    <div class="inner-box">
                        <div class="image-box">
                            <figure class="image"><a href="{{ route('portfolio',$row->slug) }}"><img src="{{ asset('uploads/'.$row->photo) }}" alt=""></a>
                            </figure>
                            <div class="info-box">
                                <a href="{{ route('portfolio',$row->slug) }}" class="read-more"><i class="fa fa-long-arrow-alt-right"></i></a>
                                <h6 class="title"><a href="{{ route('portfolio',$row->slug) }}">{{ $row->name }}</a></h6>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            @endforeach
        </div>
    </div>
</section>
<!-- // Portfolios Section -->
@endsection