shareit/resources/views/home.blade.php

29 lines
885 B
PHP

@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Dashboard</div>
<div class="card-body">
@if (session('status'))
<div class="alert alert-success" role="alert">
{{ session('status') }}
</div>
@endif
<h4>Your itens</h4>
@forelse ($items as $item)
<li>{{$item.name}}</li>
@empty
<p>There are no items for you yet. Include one <a href="/product">here.</a></p>
@endforelse
</div>
</div>
</div>
</div>
</div>
@endsection