Commit workspace changes
This commit is contained in:
@@ -52,7 +52,8 @@
|
||||
<div class="flex flex-col justify-between gap-5 p-6 lg:p-8">
|
||||
<div>
|
||||
<div class="flex flex-wrap items-center gap-2 text-xs font-semibold uppercase tracking-[0.18em] text-white/45">
|
||||
<span class="text-sky-300">Featured story</span>
|
||||
<span class="text-sky-300">{{ $featured->is_pinned ? 'Pinned story' : 'Featured story' }}</span>
|
||||
<span class="rounded-full border border-white/[0.08] bg-white/[0.04] px-2.5 py-1 text-[11px] tracking-[0.12em] text-white/70">{{ $featured->type_label }}</span>
|
||||
@if($featured->category)
|
||||
<span class="rounded-full border border-sky-400/20 bg-sky-500/10 px-2.5 py-1 text-[11px] tracking-[0.12em] text-sky-200">{{ $featured->category->name }}</span>
|
||||
@endif
|
||||
@@ -74,6 +75,14 @@
|
||||
</section>
|
||||
@endif
|
||||
|
||||
@if(!empty($highlights) && $highlights->isNotEmpty())
|
||||
<section class="mb-8 grid gap-5 md:grid-cols-3">
|
||||
@foreach($highlights as $article)
|
||||
@include('news._article_card', ['article' => $article])
|
||||
@endforeach
|
||||
</section>
|
||||
@endif
|
||||
|
||||
<div class="grid gap-8 xl:grid-cols-[minmax(0,1fr)_320px]">
|
||||
<section>
|
||||
@if($articles->isEmpty())
|
||||
|
||||
Reference in New Issue
Block a user