2021-09-05 02:22:17 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Document</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<p>
|
|
|
|
<b>Welcome, you are logged in as {{ $user }}</b>
|
|
|
|
</p>
|
2021-11-19 08:04:04 +01:00
|
|
|
<div>
|
|
|
|
<h2>Your cart:</h2>
|
|
|
|
<ul>
|
|
|
|
@foreach($user->cart as $product)
|
|
|
|
<li> {{ $product }} </li>
|
|
|
|
@endforeach()
|
|
|
|
</ul>
|
|
|
|
</div>
|
2021-09-05 02:22:17 +02:00
|
|
|
<p>
|
|
|
|
<a href="/logout"> Logout </a>
|
|
|
|
</p>
|
|
|
|
</body>
|
|
|
|
</html>
|