add blog detail

This commit is contained in:
jenoh
2020-03-13 16:29:16 +01:00
parent 092e42e197
commit a09f9b317b
4 changed files with 21 additions and 5 deletions

View File

@ -7,10 +7,12 @@
<h1 style="color:black"> Nos articles : </h1>
@foreach ($posts as $post)
<a href="{{ url('/blog/detail',$post->id) }}">
<div style="color:black; background-color: white; width:300px; height:40px;margin:auto">
<h2>{{ $post->title }}</h2>
<!-- <p>sdq</p> -->
</div>
<h2>{{ $post->title }}</h2>
<!-- <p>sdq</p> -->
</div>
</a>
@endforeach