Blog featured
blog-featured
Featured post with two side stories.
{{--
Blog featured — one large featured post with two side posts.
--}}
<section class="border-b border-dashed border-edge">
<neura::container size="7xl" class="py-16 lg:py-24">
<div class="flex flex-wrap items-end justify-between gap-4">
<div class="max-w-xl">
<neura::badge variant="soft" pill class="w-fit">{{ __('Blog') }}</neura::badge>
<neura::heading level="h2" size="3xl" class="mt-4 tracking-tight text-balance">
{{ __('Notes from the product floor') }}
</neura::heading>
</div>
<neura::button href="#blog" variant="soft" icon="arrow-right">{{ __('View all posts') }}</neura::button>
</div>
<div class="mt-12 grid gap-4 lg:grid-cols-12">
<article
class="group flex flex-col rounded-2xl border border-dashed border-edge p-6 sm:p-8 transition-colors hover:bg-hover/30 lg:col-span-7">
<div
class="mb-6 flex aspect-[16/9] items-center justify-center rounded-xl border border-dashed border-edge bg-surface-inset/50">
<neura::icon name="photo" class="size-8 text-fg-muted" />
</div>
<div class="flex items-center justify-between gap-3">
<neura::badge variant="soft" color="primary" pill>{{ __('Featured') }}</neura::badge>
<span class="font-mono text-[11px] text-fg-muted">Mar 18</span>
</div>
<neura::heading level="h3" size="2xl" class="mt-4 tracking-tight group-hover:text-fg-secondary">
{{ __('How we ship blocks without locking your theme') }}
</neura::heading>
<neura::text size="sm" class="mt-3 flex-1 text-fg-secondary text-pretty">
{{ __('A look at token layers, dashed borders and why every section stays editable after you paste it.') }}
</neura::text>
<span class="mt-6 inline-flex items-center gap-1.5 font-mono text-[11px] uppercase tracking-[0.14em] text-fg-muted">
{{ __('Read') }}
<neura::icon name="arrow-right" class="size-3.5" />
</span>
</article>
<div class="flex flex-col gap-4 lg:col-span-5">
@foreach ([
['tag' => __('Release'), 'title' => __('Native editor ships pagination'), 'excerpt' => __('Real A4 sheets, headers and Paperdoc export.'), 'date' => 'Mar 12'],
['tag' => __('Guide'), 'title' => __('Design tokens that survive dark mode'), 'excerpt' => __('Surface, inset and separator across themes.'), 'date' => 'Mar 4'],
] as $post)
<article
class="group flex flex-1 flex-col rounded-2xl border border-dashed border-edge p-6 transition-colors hover:bg-hover/30">
<div class="flex items-center justify-between gap-3">
<neura::badge variant="soft" pill>{{ $post['tag'] }}</neura::badge>
<span class="font-mono text-[11px] text-fg-muted">{{ $post['date'] }}</span>
</div>
<neura::heading level="h3" size="lg" class="mt-4 tracking-tight group-hover:text-fg-secondary">
{{ $post['title'] }}
</neura::heading>
<neura::text size="sm" class="mt-2 flex-1 text-fg-secondary text-pretty">
{{ $post['excerpt'] }}
</neura::text>
<span class="mt-5 inline-flex items-center gap-1.5 font-mono text-[11px] uppercase tracking-[0.14em] text-fg-muted">
{{ __('Read') }}
<neura::icon name="arrow-right" class="size-3.5" />
</span>
</article>
@endforeach
</div>
</div>
</neura::container>
</section>