Update (a)
This commit is contained in:
@@ -11,60 +11,61 @@
|
|||||||
<div class="d-flex flex-wrap mb-2 gap-1">
|
<div class="d-flex flex-wrap mb-2 gap-1">
|
||||||
|
|
||||||
|
|
||||||
{{-- @endif --}}
|
{{-- @endif --}}
|
||||||
@if ($post->impact_level == 'high')
|
@if ($post->impact_level == 'high')
|
||||||
<h4
|
<h4
|
||||||
class="font-family-roboto-condensed mb-0 pb-1 d-inline badge bg-danger border-danger text-white border small fw-bold text-uppercase">
|
class="font-family-roboto-condensed mb-0 pb-1 d-inline badge bg-danger border-danger text-white border small fw-bold text-uppercase">
|
||||||
🔥 High Impact
|
🔥 High Impact
|
||||||
</h4>
|
</h4>
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="mb-1 text-wrap d-flex flex-wrap gap-1 small">
|
|
||||||
<span class="word-wrap-break-word small">More about:</span> @foreach ($post->entities_keywords as $keyword)
|
|
||||||
@if ($keyword->type == 'entity')
|
|
||||||
<a class="word-wrap-break-word small"
|
|
||||||
href="{{ get_route_search_result($keyword->value_lowercased) }}">#{{ $keyword->value_lowercased }}</a>
|
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
</div>
|
||||||
</div>
|
|
||||||
@endif
|
|
||||||
|
|
||||||
<div class="small">
|
<div class="mb-1 text-wrap d-flex flex-wrap gap-1 small">
|
||||||
@if ($post->category)
|
<span class="word-wrap-break-word small">More about:</span>
|
||||||
<span class="d-inline text-secondary small">{{ $post->category->name }}</span>
|
@foreach ($post->entities_keywords as $keyword)
|
||||||
<i class="bi bi-dot"></i>
|
@if ($keyword->type == 'entity')
|
||||||
|
<a class="word-wrap-break-word small"
|
||||||
|
href="{{ get_route_search_result($keyword->value_lowercased) }}">#{{ $keyword->value_lowercased }}</a>
|
||||||
|
@endif
|
||||||
|
@endforeach
|
||||||
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<span class="d-inline text-secondary small">
|
<div class="small">
|
||||||
@if ($post->published_at->isBetween(now()->subDays(1), now()))
|
@if ($post->category)
|
||||||
{{ $post->published_at->diffForHumans() }}
|
<span class="d-inline text-secondary small">{{ $post->category->name }}</span>
|
||||||
@else
|
<i class="bi bi-dot"></i>
|
||||||
{{ $post->published_at->format('d M') }}
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
</span>
|
<span class="d-inline text-secondary small">
|
||||||
|
@if ($post->published_at->isBetween(now()->subDays(1), now()))
|
||||||
|
{{ $post->published_at->diffForHumans() }}
|
||||||
|
@else
|
||||||
|
{{ $post->published_at->format('d M') }}
|
||||||
|
@endif
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<i class="bi bi-dot"></i>
|
||||||
|
<span class="d-inline text-secondary small">
|
||||||
|
{{ get_domain_from_url($post->post_url) }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<i class="bi bi-dot"></i>
|
|
||||||
<span class="d-inline text-secondary small">
|
|
||||||
{{ get_domain_from_url($post->post_url) }}
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="text-end d-flex justify-content-center justify-content-md-end w-100">
|
||||||
</div>
|
<div class="align-self-center d-flex d-md-grid gap-1">
|
||||||
<div class="text-end d-flex justify-content-center justify-content-md-end w-100">
|
<open-news-bite
|
||||||
<div class="align-self-center d-flex d-md-grid gap-1">
|
this-class="btn btn-outline-secondary btn-sm rounded-pill px-3 text-decoration-none"
|
||||||
<open-news-bite
|
title="{{ $post->title }}" bite="{{ $post->bites }}"
|
||||||
this-class="btn btn-outline-secondary btn-sm rounded-pill px-3 text-decoration-none"
|
min-read="{{ min_read($post->bites, 'bite') }}"></open-news-bite>
|
||||||
title="{{ $post->title }}" bite="{{ $post->bites }}"
|
<a class="btn btn-outline-secondary btn-sm rounded-pill px-3 text-decoration-none"
|
||||||
min-read="{{ min_read($post->bites, 'bite') }}"></open-news-bite>
|
target="_blank" rel="nofollow noopener noreferrer" href="{{ $post->post_url }}">👉 Read
|
||||||
<a class="btn btn-outline-secondary btn-sm rounded-pill px-3 text-decoration-none"
|
full
|
||||||
target="_blank" rel="nofollow noopener noreferrer" href="{{ $post->post_url }}">👉 Read
|
article</a>
|
||||||
full
|
</div>
|
||||||
article</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|||||||
Reference in New Issue
Block a user