mirror of
https://github.com/Aviortheking/CA_LARAVEL.git
synced 2025-06-15 19:09:19 +00:00
add blog detail
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user