logo

Brand Profile

  • edit
  • delete
  • close
@method('DELETE') @csrf
{{-- --}} @php $Imageurl = isset($brand->getMetas['brand_logo']) ? $brand->getMetas['brand_logo']->media_url : $brand->media_url; @endphp @if(in_array(pathinfo($Imageurl, PATHINFO_EXTENSION), $imgExtensions)) @else @endif

{{ $brand->title ?? '' }}

@foreach($brand->getMetas['url']->decoded_value ?? [] as $key => $url)

{{ $url ?? '' }}

@endforeach

{{ $brand->brand_description }}

@foreach($brand->getMetas['fonts']->decoded_value ?? [] as $key => $font)

{{ $font ?? '' }}

@endforeach
@foreach($brand->getMetas['color_code']->decoded_value ?? [] as $key => $color)
{{ $color ?? '' }} close
@endforeach
@if(!empty($brand->getMetas['brand_logo']))
  • @php $mediaId = $brand->getMetas['brand_logo']->media->first(); $thumb = null; if($mediaId && $mediaId->hasGeneratedConversion('thumb')){ $thumb = $mediaId->getUrl('thumb'); } @endphp @include('inc.image-hover-download',['image_url' => $brand->getMetas['brand_logo']->media_url, 'route_url' => 'download-file', 'img_path' => $mediaId ? $mediaId->id : 0, 'thumb' => $thumb, 'meta_id' => $brand->getMetas['brand_logo']->id]) {{--
    {{ $brand->getMetas['brand_logo']->media->first()->name ?? '' }}
    {{ $brand->getMetas['brand_logo']->media->first()->name ?? '' }}
    --}}
@endif @if(!empty($brand->getMetas['old_brand_logo']))
    @foreach ($brand->getMetas['old_brand_logo']->decoded_value ?? [] as $logo)
  • {{--
    No Image
    --}} @php $Imageurl = Storage::disk('s3_gz')->url($logo); @endphp @include('inc.image-hover-download',['image_url' => $Imageurl, 'route_url' => 'old-file-download', 'img_path' => $logo, 'meta_id' => $brand->getMetas['old_brand_logo']->id])
  • @endforeach
@endif @if(!empty($brand->getMetas['marketing_material']))
@foreach($brand->getMetas['marketing_material']->media ?? [] as $key => $image)
{{--
--}} @php $thumb = null; if($image && $image->hasGeneratedConversion('thumb')){ $thumb = $image->getUrl('thumb'); } @endphp @include('inc.image-hover-download',['image_url' => $image->getUrl(), 'route_url' => 'download-file', 'img_path' => $image->id, 'thumb' => $thumb, 'meta_id' => $brand->getMetas['marketing_material']->id])
@endforeach
@endif @if(!empty($brand->getMetas['old_marketing_material']))
@foreach($brand->getMetas['old_marketing_material']->decoded_value ?? [] as $key => $image)
@php $Imageurl = Storage::disk('s3_gz')->url($image); @endphp @include('inc.image-hover-download',['image_url' => $Imageurl, 'route_url' => 'old-file-download', 'img_path' => $image, 'meta_id' => $brand->getMetas['old_marketing_material']->id]) {{--
--}}
@endforeach
@endif @if(!empty($brand->getMetas['additional_images']))
@foreach($brand->getMetas['additional_images']->media ?? [] as $key => $image)
@php $thumb = null; if($image && $image->hasGeneratedConversion('thumb')){ $thumb = $image->getUrl('thumb'); } @endphp @include('inc.image-hover-download',['image_url' => $image->getUrl(), 'route_url' => 'download-file', 'img_path' => $image->id, 'thumb' => $thumb, 'meta_id' => $brand->getMetas['additional_images']->id]) {{--
--}}
@endforeach
@endif @if(!empty($brand->getMetas['old_additional_images']))
@foreach($brand->getMetas['old_additional_images']->decoded_value ?? [] as $key => $image)
{{--
--}} @php $Imageurl = Storage::disk('s3_gz')->url($image); @endphp @include('inc.image-hover-download',['image_url' => $Imageurl, 'route_url' => 'old-file-download', 'img_path' => $image, 'meta_id' => $brand->getMetas['old_additional_images']->id])
@endforeach
@endif