This commit is contained in:
tanch0
2024-05-09 16:50:06 +05:45
parent 9fa6a5d797
commit bf885d6b4d
5 changed files with 22 additions and 12 deletions

View File

@ -9,14 +9,14 @@
@forelse ($news as $item)
<div class="item-latest-post clearfix">
<div class="entry-thumbnail">
<a href="{{ route('news', $item->alias) }}">
<a href="{{ route('showNews', $item->alias) }}">
<img style="height: 205px; width:100%; object-fit:cover; object-position:center;" src="{{ asset($item->image) }}" alt="{{$item->title}}" />
</a>
</div>
<div class="entry-summary">
<h2 class="entry-title">{{ Str::limit($item->title,45) }}</h2>
<div class="entry-footer">
<a href="{{ route('news', $item->alias) }}">Read More...</a>
<a href="{{ route('showNews', $item->alias) }}">Read More...</a>
</div>
</div>
</div>