{{ __('Projects') }} - {{ $portfolio->title }}
{{--CONTENT--}}
{{--ALERTS--}} @include('components.alerts') {{--TAB CONTROLS--}}
{{--CONTENT--}}
{{--ADD IMAGE--}}

{{ __('Add new image') }}

{{ __("Choose an image from your computer and add it.") }}

@csrf @method('post')
{{ __('Upload image') }} @if (session('status') === 'profile-updated')

{{ __('Uploaded.') }}

@endif
{{--GALLERY--}} @if ($images->count() > 0)
@if( count($portfolio->main_image) > 0)

Main image

@endif

{{ __('All uploaded images') }}

@foreach($images as $image)
@if($portfolio->image == $image->id) @else {{--MAKE MAIN BUTTON--}}

Make main image

{{--DESTROY BUTTON--}} @endif
@endforeach
@endif
@section('js') @endsection