PATH:
home
/
lab2454c
/
sportsnovate.com
/
backups
/
core
/
resources
/
views
/
templates
/
basic
/
fashionNft
@extends($activeTemplate . 'layouts.frontend') @section('content') <div class="body__containt__main body__containt__main__inner"> <div class="common__main explore__common__main explore__common__main__single"> <div class="container"> <div class="row"> <h2>FASHION NFT(s)</h2> </div> </div> </div> <div class="explore__product"> <div class="explore__product__inner"> <div class="container"> <div class="product__wrapp"> <div class="swiper-slider-outer"> <div class="swiper-container-wrapper"> <div class="swiper-container gallery-top"> <div class="swiper-wrapper"> @forelse($nfts as $nft) @php $productImage = $nft->fashionNftImages->first(); //dd($productImage); if (isset($productImage)) { $imageName = explode('.', $productImage->file); $ext = $imageName[count($imageName) - 1]; } @endphp <div class="swiper-slide"> <div class="swiper-product-info"> <div class="pro-date"> {{showDateTime($nft->created_at, 'j M Y')}} </div> <div class="product-title"> <h2>{{__(isset($nft->title) ? str_limit($nft->title, 30) : 'Sothebry FAME – Baseball Moments')}}</h2> </div> <div class="price__wrapp"> <div class="price__text"> <h4><span>{{$general->cur_sym}}</span>{{showAmount($nft->amount)}}</h4> </div> <div class="price__text__rgt"> <h4><span><img src="{{asset($activeTemplateTrue.'customV1/assets/pro-arrow.png')}}"></span> {{btcRate($nft->amount)}}</h4> </div> </div> <div class="purchase__now__btn"> <a href="{{route('fashionNftDetails', $nft->id)}}" class="purchase__btn">SEE DETAILS</a> </div> </div> <div class="swiper-slider-image"> <div class="image__box"> <a href="{{route('fashionNftDetails', $nft->id)}}"> @if(isset($productImage)) @if($ext == 'mp4' || $ext == 'mov') <video width="300" height="250" controls> <source src="{{ asset('assets/images/fashionNft/'.$productImage->file) }}" type="video/mp4"> Your browser does not support the video tag. </video> @else <img src="{{ getImage(imagePath()['fashionNft']['path'].'/'.$productImage->file,imagePath()['fashionNft']['size'])}}" alt="@lang('product')" /> @endif @endif </a> </div> </div> </div> @empty <div class="mt-4"> <h5>No Product Listed</h5> </div> @endforelse </div> </div> <div class="swiper-container gallery-thumbs"> <div class="swiper-wrapper"> @forelse($nfts as $nft) @php $productImage = $nft->fashionNftImages->first(); //dd($productImage); if (isset($productImage)) { $imageName = explode('.', $productImage->file); $ext = $imageName[count($imageName) - 1]; } @endphp <div class="swiper-slide"> <div class="image__box"> @if(isset($productImage)) @if($ext == 'mp4' || $ext == 'mov') <video width="300" height="250" controls> <source src="{{ asset('assets/images/fashionNft/'.$productImage->file) }}" type="video/mp4"> Your browser does not support the video tag. </video> @else <img src="{{ getImage(imagePath()['fashionNft']['path'].'/'.$productImage->file,imagePath()['fashionNft']['size'])}}" alt="@lang('product')" /> @endif @endif </div> </div> @endforeach </div> </div> </div> </div> <div class="swiper__button__wrapper"> <div class="swiper-button-next"> </div> <div class="swiper-button-prev"> </div> </div> </div> </div> </div> </div> </div> @endsection
[+]
..
[-] details.blade.php
[edit]
[-] list.blade.php
[edit]
[+]
detailsSubpart