From 07849a970e54e764b63f29c55d7984234ee0b3d1 Mon Sep 17 00:00:00 2001 From: bad Date: Sun, 5 Dec 2021 19:23:42 +0100 Subject: [PATCH] User page styling --- resources/views/user.blade.php | 38 +++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/resources/views/user.blade.php b/resources/views/user.blade.php index f4745bd..1bfbee8 100644 --- a/resources/views/user.blade.php +++ b/resources/views/user.blade.php @@ -1,24 +1,28 @@ - - - - - - Document - - +@extends('layouts.app') + +@section('title', "Sklep") + +@section('main')

- Welcome, you are logged in as {{ $user }} + Welcome, you are logged in as {{ $user->name }}

-
-

Your cart:

- -

Logout

+
+

Your cart:

+
+ @foreach($user->cart as $product) +
+ +
+
+ @csrf +
+
+@endsection()