Update (ui): fix word break

Update (top rss keyword): do not show known brands
This commit is contained in:
2023-11-23 10:50:43 +08:00
parent 416f06b344
commit e374875015
14 changed files with 46 additions and 45 deletions

View File

@@ -13,17 +13,18 @@
<div class="d-flex flex-wrap mb-1">
@if ($post->entities)
@foreach ($post->entities_keywords as $keyword)
@if($keyword->type == 'entity')
@if ($keyword->is_main)
<h4
class="mb-1 pb-1 d-inline badge bg-secondary border-secondary text-white border me-1 small fw-bold">
{{ $keyword->value }}
</h4>
@else
<h4 class="mb-1 pb-1 d-inline badge text-bg-light border me-1 small fw-normal">
{{ $keyword->value }}
</h4>
@endif
@if ($keyword->type == 'entity')
@if ($keyword->is_main)
<h4
class="mb-1 pb-1 d-inline badge bg-secondary border-secondary text-white border me-1 small fw-bold">
{{ $keyword->value }}
</h4>
@else
<h4
class="mb-1 pb-1 d-inline badge text-bg-light border me-1 small fw-normal">
{{ $keyword->value }}
</h4>
@endif
@endif
@endforeach
@endif

View File

@@ -17,17 +17,18 @@
</div>
</div>
<div class="text-center row justify-content-center">
<div class="col-12 col-md-10 col-lg-6">
<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>
<h2 class="h4 fw-semibold mb-3">Monitoring top tags for the past 24 hours</h2>
@foreach ($top_rss_keywords as $rss_keyword)
<a href="{{ get_route_search_result($rss_keyword->value_lowercased) }}" class="mb-1 pb-1 badge text-bg-light border me-1 fw-bold shadow">
<span class="h6">#{{ $rss_keyword->value }}</span>
</a>
@endforeach
@foreach ($top_rss_keywords as $rss_keyword)
<a href="{{ get_route_search_result($rss_keyword->value_lowercased) }}"
class="mb-1 pb-1 badge text-bg-light border me-1 fw-bold shadow">
<span class="h6">#{{ $rss_keyword->value }}</span>
</a>
@endforeach
</div>
</div>
</div>
</div>
</div>
@@ -86,7 +87,7 @@ class="bi bi-clock-history me-1"></i> UPDATED HOURLY</span>
</div>
<h5 class="h6">
Tap on <i class="bi bi-chevron-down"></i> to read the 1 minute news bite worth every second
Tap on <i class="bi bi-chevron-down"></i> to read the 1 minute news bite worth every second
</h5>
</div>