PATH:
home
/
lab2454c
/
.trash
/
core
/
resources
/
views
/
templates
/
basic
/
fashionNft
@extends($activeTemplate . 'layouts.frontend') @section('content') <div class="body__containt__main body__containt__main__inner"> <div class="product__wrapp"> <div class="container"> <h2> Fashion <span>NFT(s)</span> </h2> <div class="product__wrapp__inner"> <div class="row"> @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="col-xl-4 col-lg-4 col-md-4 mr__top"> <div class="product__card"> <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 class="product__content"> <div class="product__title"> <h3><a href="{{route('fashionNftDetails', $nft->id)}}"> {{__(isset($nft->name) ? str_limit($nft->name, 30) : 'Sothebry FAME – Baseball Moments')}} </a></h3> </div> <div class="product__card__bottom"> <div class="product__price"> {{$general->cur_sym}}{{showAmount($nft->amount)}} <br> <div><i class="lab la-ethereum"></i>{{btcRate($nft->amount)}}</div> </div> <div class="add__to__cart"> <a href="{{route('fashionNftDetails', $nft->id)}}">Show Details</a> </div> </div> </div> </div> </div> @empty <div class="mt-4"> <h5>No NFT(s) Listed</h5> </div> @endforelse {{$nfts->links('pagination::default')}} </div> </div> </div> </div> </div> @endsection
[+]
..
[-] details.blade.php
[edit]
[-] list.blade.php
[edit]