113 - Promote article routing above the headline
This commit is contained in:
parent
ac8845e9c9
commit
4274b69018
1 changed files with 13 additions and 8 deletions
|
|
@ -71,20 +71,25 @@ class="w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-
|
|||
<div class="bg-white rounded-lg shadow p-5" wire:key="ra-{{ $routeArticle->id }}">
|
||||
<div class="flex items-start justify-between">
|
||||
<div class="flex-1 min-w-0">
|
||||
<div
|
||||
class="flex items-center flex-wrap gap-x-1.5 text-xs font-medium mb-1.5"
|
||||
aria-label="Routed from {{ $routeArticle->feed?->name ?? 'Unknown feed' }} to {{ $routeArticle->platformChannel?->name ?? 'Unknown channel' }}"
|
||||
>
|
||||
<svg class="h-3 w-3 text-gray-400 shrink-0" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" />
|
||||
</svg>
|
||||
<span class="text-gray-900">{{ $routeArticle->feed?->name ?? 'Unknown feed' }}</span>
|
||||
<span class="text-gray-400" aria-hidden="true">→</span>
|
||||
<span class="text-gray-600">{{ $routeArticle->platformChannel?->name ?? 'Unknown channel' }}</span>
|
||||
</div>
|
||||
<h3 class="text-base font-medium text-gray-900 mb-1">
|
||||
{{ $routeArticle->article->title ?? 'Untitled Article' }}
|
||||
</h3>
|
||||
<p class="text-sm text-gray-600 mb-2 line-clamp-2">
|
||||
{{ $routeArticle->article->description ?? 'No description available' }}
|
||||
</p>
|
||||
<div class="flex items-center flex-wrap gap-x-3 gap-y-1 text-xs text-gray-500">
|
||||
<span class="inline-flex items-center">
|
||||
<svg class="h-3 w-3 mr-1" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" />
|
||||
</svg>
|
||||
{{ $routeArticle->feed?->name ?? 'Unknown' }} → {{ $routeArticle->platformChannel?->name ?? 'Unknown' }}
|
||||
</span>
|
||||
<span>{{ $routeArticle->created_at->format('M d, Y H:i') }}</span>
|
||||
<div class="text-xs text-gray-500">
|
||||
{{ $routeArticle->created_at->format('M d, Y H:i') }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center space-x-2 ml-4">
|
||||
|
|
|
|||
Loading…
Reference in a new issue