Update (copies)
This commit is contained in:
@@ -1,38 +1,36 @@
|
||||
@foreach ($rss_posts as $key => $post)
|
||||
<div class="card mb-1">
|
||||
<div class="card-body">
|
||||
<div class="d-flex justify-content-between">
|
||||
<div class="">
|
||||
<h3 class="h6 mb-1 fw fw-semibold font-family-roboto-condensed">
|
||||
{{ $post->title }}
|
||||
</h3>
|
||||
<div class="card mb-1">
|
||||
<div class="card-body">
|
||||
<div class="d-flex justify-content-between">
|
||||
<div class="">
|
||||
<h3 class="h6 mb-1 fw fw-semibold font-family-roboto-condensed">
|
||||
{{ $post->title }}
|
||||
</h3>
|
||||
|
||||
@if ($post->entities_keywords->count() > 0)
|
||||
@if ($post->entities_keywords->count() > 0)
|
||||
<div class="d-flex flex-wrap mb-1">
|
||||
{{-- @if ($post->entities) --}}
|
||||
@foreach ($post->entities_keywords as $keyword)
|
||||
{{-- @if ($keyword->type == 'entity') --}}
|
||||
@if ($loop->iteration <= 2)
|
||||
@if ($keyword->is_main)
|
||||
<h4
|
||||
class="mb-0 pb-1 d-inline badge bg-secondary border-secondary text-white border me-1 small fw-bold">
|
||||
{{ $keyword->value }}
|
||||
</h4>
|
||||
@else
|
||||
<h4
|
||||
class="mb-0 pb-1 d-inline badge text-bg-light border me-1 small fw-normal">
|
||||
{{ $keyword->value }}
|
||||
</h4>
|
||||
@endif
|
||||
@elseif ($loop->iteration == 3)
|
||||
<h4
|
||||
class="mb-0 pb-1 d-inline badge text-bg-light border me-1 small fw-normal">
|
||||
+{{ count($post->entities_keywords) - 3 }} more
|
||||
</h4>
|
||||
@break
|
||||
@endif
|
||||
{{-- @endif --}}
|
||||
@endforeach
|
||||
{{-- @if ($post->entities) --}}
|
||||
@foreach ($post->entities_keywords as $keyword)
|
||||
{{-- @if ($keyword->type == 'entity') --}}
|
||||
@if ($loop->iteration <= 3)
|
||||
@if ($keyword->is_main)
|
||||
<h4 class="mb-0 pb-1 d-inline badge bg-secondary border-secondary text-white border me-1 small fw-bold">
|
||||
{{ $keyword->value }}
|
||||
</h4>
|
||||
@else
|
||||
<h4 class="mb-0 pb-1 d-inline badge text-bg-light border me-1 small fw-normal">
|
||||
{{ $keyword->value }}
|
||||
</h4>
|
||||
@endif
|
||||
@elseif ($loop->iteration > 3 && count($post->entities_keywords) > 3)
|
||||
<h4 class="mb-0 pb-1 d-inline badge text-bg-light border me-1 small fw-normal">
|
||||
+{{ count($post->entities_keywords) - 3 }} more
|
||||
</h4>
|
||||
@break
|
||||
@endif
|
||||
{{-- @endif --}}
|
||||
@endforeach
|
||||
|
||||
|
||||
{{-- @endif --}}
|
||||
@if ($post->impact_level == 'high')
|
||||
@@ -42,41 +40,42 @@ class="font-family-roboto-condensed mb-0 pb-1 d-inline badge bg-danger border-da
|
||||
</h4>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="small">
|
||||
@if ($post->category)
|
||||
<span class="d-inline text-secondary small">{{ $post->category->name }}</span>
|
||||
<i class="bi bi-dot"></i>
|
||||
@endif
|
||||
|
||||
<div class="small">
|
||||
@if ($post->category)
|
||||
<span class="d-inline text-secondary small">{{ $post->category->name }}</span>
|
||||
<i class="bi bi-dot"></i>
|
||||
<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 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>
|
||||
|
||||
</span>
|
||||
|
||||
@if (!is_empty($post->bites))
|
||||
@if (!is_empty($post->bites))
|
||||
<i class="bi bi-dot"></i>
|
||||
<span class="d-inline text-secondary small">{{ min_read($post->bites) }}</span>
|
||||
@endif
|
||||
<span class="d-inline text-secondary small">{{ min_read($post->bites) }}</span>
|
||||
@endif
|
||||
|
||||
<i class="bi bi-dot"></i>
|
||||
<span class="d-inline text-secondary small">
|
||||
<i class="bi bi-dot"></i>
|
||||
<span class="d-inline text-secondary small">
|
||||
{{ get_domain_from_url($post->post_url) }}
|
||||
</span>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class=" text-end d-flex justify-content-end">
|
||||
<div class="align-self-center">
|
||||
<a class="btn btn-outline-secondary btn-sm rounded-pill px-3 text-decoration-none" target="_blank" rel="nofollow noopener noreferrer" href="{{ $post->post_url }}">👉 Read </a>
|
||||
</div>
|
||||
<div class=" text-end d-flex justify-content-end">
|
||||
<div class="align-self-center">
|
||||
<a class="btn btn-outline-secondary btn-sm rounded-pill px-3 text-decoration-none"
|
||||
target="_blank" rel="nofollow noopener noreferrer" href="{{ $post->post_url }}">👉 Read article</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
@@ -5,21 +5,24 @@
|
||||
<div class="container-lg">
|
||||
<div class="text-center row justify-content-center mb-4">
|
||||
<div class="col-12 col-md-10 col-lg-8">
|
||||
<div class="display-6 fw-bold font-family-roboto-condensed mb-2">Your Future Depends<wbr> on Today's
|
||||
|
||||
|
||||
<h1 class="fw-bolder font-family-roboto-condensed mb-3">Latest AI & tech news in 1 hyper-focused platform</h1>
|
||||
{{-- <div class="display-6 fw-bold font-family-roboto-condensed mb-2">Your Future Depends<wbr> on Today's
|
||||
News</div>
|
||||
<h1 class="h4 fw-normal mb-4">In the fast-evolving world of AI and tech, staying updated is not
|
||||
optional—it's critical for your future success. Stay updated with hourly news
|
||||
optional—it's critical for your future success. Stay updated with hourly news
|
||||
<strong>FutureWalker</strong>.
|
||||
</h1>
|
||||
|
||||
<a href="#latest-news" class="btn btn-primary px-4 rounded-pill text-decoration-none">Start reading
|
||||
now</a>
|
||||
</div>
|
||||
</div> --}}
|
||||
</div>
|
||||
<div class="text-center row justify-content-center">
|
||||
<div class="col-12 col-md-10 col-lg-6">
|
||||
|
||||
<h2 class="h4 fw-semibold mb-3">📡 Monitoring top tags for the past 24 hours</h2>
|
||||
<p data-nosnippet class="h4 mb-3">📡 Top keywords identified for the past 24 hours across {{ $rss_count }} articles identified by GPT</p>
|
||||
|
||||
@foreach ($top_rss_keywords as $rss_keyword)
|
||||
<a href="{{ get_route_search_result($rss_keyword->value_lowercased) }}"
|
||||
|
||||
Reference in New Issue
Block a user