From 10e647f7b7e86d33c340b11fdeed9a64bb64ad54 Mon Sep 17 00:00:00 2001 From: Charles Teh Date: Sun, 3 Dec 2023 22:40:07 +0800 Subject: [PATCH] Update (a) --- .../views/front/partials/news_bites.blade.php | 89 ++++++++++--------- 1 file changed, 45 insertions(+), 44 deletions(-) diff --git a/resources/views/front/partials/news_bites.blade.php b/resources/views/front/partials/news_bites.blade.php index ea8c57f..dc72a75 100644 --- a/resources/views/front/partials/news_bites.blade.php +++ b/resources/views/front/partials/news_bites.blade.php @@ -11,60 +11,61 @@
- {{-- @endif --}} - @if ($post->impact_level == 'high') -

- 🔥 High Impact -

- @endif -
- -
- More about: @foreach ($post->entities_keywords as $keyword) - @if ($keyword->type == 'entity') - #{{ $keyword->value_lowercased }} + {{-- @endif --}} + @if ($post->impact_level == 'high') +

+ 🔥 High Impact +

@endif - @endforeach -
- @endif + -
- @if ($post->category) - {{ $post->category->name }} - +
+ More about: + @foreach ($post->entities_keywords as $keyword) + @if ($keyword->type == 'entity') + #{{ $keyword->value_lowercased }} + @endif + @endforeach +
@endif - - @if ($post->published_at->isBetween(now()->subDays(1), now())) - {{ $post->published_at->diffForHumans() }} - @else - {{ $post->published_at->format('d M') }} +
+ @if ($post->category) + {{ $post->category->name }} + @endif - + + @if ($post->published_at->isBetween(now()->subDays(1), now())) + {{ $post->published_at->diffForHumans() }} + @else + {{ $post->published_at->format('d M') }} + @endif + + + + + + {{ get_domain_from_url($post->post_url) }} + +
- - - {{ get_domain_from_url($post->post_url) }} -
- - -
-
- @endforeach