@extends('base')

@section('content')
@if(Session::get('status'))
 <div class="alert alert-info">
   {{Session::get('status')}}
 </div>
@endif

<a class="btn btn-danger" href="/product/create" role="button">กดตรงนี้เพื่อโพสต์เลย</a><br></br>

@foreach($products as $value)
<body style="background-color:#FFDDDD;">
</body>
<div class="jumbotron">
  <h2 class="display-3">👤 : {{$value->name}}</h2>
  <hr class="my-4">
  <p class="lead">{{$value->ment}}</p>
  <!-- <h2 class="display-3">{{$value->ment}}</h2> -->
  <!-- <right><p class="lead">{{$value->created_at}}</p></right> -->
  <p align = 'right' class="lead">⏰{{$value->created_at}}</p>
  <p class="lead">
  <!-- <img src="http://3.bp.blogspot.com/-dfh5vUm9mfk/UVFH4foL5GI/AAAAAAAAWGU/mh8z51jXju0/s1600/Circles1.gif" alt=""> -->
  </p>
</div>
@endforeach
@endsection
