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j '  'P$a ( `D$Na L?u80e J,K˷NI'0eݷ(NI'؀ 2ipIIKp`:O'`ʤxB8Ѥx Ѥx $ $P6 :vRNb 'p,>NB 'P]-->P T+*^h& p '‰a ‰ (ĵt#u33;Nt̵'ޯ; [3W ~]0KH1q@8]O2]3*̧7# *p>us p _6]/}-4|t'|Smx= DoʾM×M_8!)6lq':l7!|4} '\ne t!=hnLn (~Dn\+‰_4k)0e@OhZ`F `.m1} 'vp{F`ON7Srx 'D˸nV`><;yMx!IS钦OM)Ե٥x 'DSD6bS8!" ODz#R >S8!7ّxEh0m$MIPHi$IvS8IN$I p$O8I,sk&I)$IN$Hi$I^Ah.p$MIN$IR8I·N "IF9Ah0m$MIN$IR8IN$I 3jIU;kO$ɳN$+ q.x* tEXtComment

Viewing File: /home/u460558712/domains/mintsdome.online/public_html/resources/views/user.blade.php

@extends('layouts.app')

@push('content')

 <!-- title page -->

<section class="tf-section authors"><br><br><br><br><br>
    <div class="themesflat-container">
        <div class="flat-tabs tab-authors">
            <div class="author-profile flex">
                <div class="feature-profile">
                    <img src="{{ image_url(optional($user)->image) }}" alt="Image" class="avatar">
                </div>
                <div class="infor-profile">
                    <span>Author Profile</span>
                    <h2 class="title">{{ $user->name }}</h2>
                    <p class="content">{{ $user->bio }}</p>
                    <form>
                        <input type="text" class="inputcopy" value="{{ $user->wallet_address }}" readonly>
                        <button type="button" class="btn-copycode"><i class="icon-fl-file-1"></i></button>
                    </form>
                </div>
                <div class="widget-social style-3">
                   <ul>
                        <li></li>
                        {{-- <li class="style-2"><a href="#"><i class="fab fa-telegram-plane"></i></a></li>
                        <li><a href="#"><i class="fab fa-youtube"></i></a></li>
                        <li class="mgr-none"><a href="#"><i class="icon-fl-tik-tok-2"></i></a></li> --}}
                    </ul>
                    @if ($user->id === Auth::id())
                    <div class="btn-profile"><a href="{{ url('my-profile-edit') }}" class="sc-button style-1 follow">Edit</a></div>
                    @endif
                </div>
            </div>
            <ul class="menu-tab flex">
                <li class="tablinks active" data-category="all">ALL</li>
                <li class="tablinks" data-category="1">ART</li>
                <li class="tablinks" data-category="2">MUSIC</li>
                <li class="tablinks" data-category="3">COLLECTIBLES</li>
                <li class="tablinks" data-category="4">SPORTS</li>
            </ul>

            <div class="content-tab">
                @foreach($itemsByCategory as $categoryId => $items)
                    <div class="content-inner {{ $categoryId == 'all' ? 'active' : '' }}" data-category="{{ $categoryId }}" style="{{ $categoryId == 'all' ? 'display:block;' : 'display:none;' }}">
                        <div class="row">
                            @foreach($items as $item)
                                <div class="col-xl-3 col-lg-4 col-md-6 col-12">
                                    <div class="sc-card-product explode">
                                        <div class="card-media active">
                                            <a href="{{ route('marketplace.show', $item->id) }}">
                                                <img src="{{ image_url($item->nft_image) }}" alt="" style="width:500px; height: 300px;">
                                            </a>

                                            @auth
                                                @php
                                                    $liked = Auth::user()->likes()->where('nft_id', $item->id)->exists();
                                                    $likeCount = $item->likes()->count();
                                                @endphp
                                                <button class="wishlist-button heart {{ $liked ? 'active' : '' }}" data-id="{{ $item->id }}" onclick="toggleLike({{ $item->id }})">
                                                    <span class="number-like">{{ $likeCount }}</span>
                                                </button>
                                            @else
                                                <button class="wishlist-button heart" disabled>
                                                    <span class="number-like">{{ $item->likes()->count() }}</span>
                                                </button>
                                            @endauth
                                        </div>

                                        <div class="card-title mg-bt-16">
                                            <h5><a href="{{ route('marketplace.show', $item->id) }}">{{ $item->nft_name }}</a></h5>
                                        </div>

                                        <div class="meta-info">
                                            <div class="author">
                                                <div class="avatar">
                                                    <img src="{{ image_url($item->user->image) }}" alt="">
                                                </div>
                                                <div class="info">
                                                    <span>Creator</span>
                                                    <h6><a href="#">{{ $item->user->name }}</a></h6>
                                                </div>
                                            </div>
                                            <div class="tags">{{ get_settings('wallet_address_network', 'ETH') }}</div>
                                        </div>

                                        <div class="card-bottom style-explode">
                                            <div class="price">
                                                <span>Current Bid</span>
                                                <div class="price-details">
                                                    <h5>{{ $item->nft_price }} {{ get_settings('wallet_address_network', 'ETH') }}</h5>
                                                </div>
                                            </div>
                                            {{-- <a href="activity1.html" class="view-history reload">View History</a> --}}
                                        </div>
                                    </div>
                                </div>
                            @endforeach
                        </div>

                        <div class="col-md-12 wrap-inner load-more text-center">
                            <a href="#" class="sc-button loadmore fl-button pri-3"><span>Load More</span></a>
                        </div>
                    </div>
                @endforeach
            </div>

            <script>
                document.querySelectorAll('.tablinks').forEach(tab => {
                    tab.addEventListener('click', function() {
                        let category = this.getAttribute('data-category');
                        document.querySelectorAll('.content-inner').forEach(inner => {
                            inner.style.display = (category == 'all' || inner.getAttribute('data-category') == category) ? 'block' : 'none';
                        });

                        document.querySelectorAll('.tablinks').forEach(tab => tab.classList.remove('active'));
                        this.classList.add('active');
                    });
                });
            </script>


        </div>
    </div>
</section>

@endpush
Back to Directory=ceiIENDB`