Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.4 kB
1
Indexable
Never
<x-app-layout>
    <x-slot name="header">
        <h2 class="font-semibold text-xl text-gray-800 leading-tight">
            <p><a href="{{('profile')}}">profile</a></p>
        </h2>

        <h2 class="font-semibold text-xl text-gray-800 leading-tight">
            <p><a href="{{('edit/profile')}}">edit profile</a></p>
        </h2>
        <h2 class="font-semibold text-xl text-gray-800 leading-tight">
            <p><a href="{{('change/password')}}">Change password</a></p>
        </h2>
    </x-slot>

    <div class="py-12">
        <div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
            <div class="bg-white overflow-hidden shadow-sm sm:rounded-lg">
                <div class="p-6 bg-white border-b border-gray-200">
                Good morning {{Auth::user()->name }}
                </div>
                <div class="p-6 bg-white border-b border-gray-200">
              {{Auth::user()->email }}
                </div>

                <div class="p-6 bg-white border-b border-gray-200">
                 {{Auth::user()->created_at }}
                </div>

                <div class="p-6 bg-white border-b border-gray-200">
                 {{Auth::user()->id }}
                </div>

                
            </div>
        </div>
              @foreach($cart->items as $cart)
                {{$cart->amount}}
              @endforeach
              </div>
</x-app-layout>