Activity feed
activity-feed
Chronological workspace events.
{{--
Activity feed — chronological workspace events for dashboards.
--}}
<section class="border-b border-dashed border-edge">
<neura::container size="5xl" class="py-12 lg:py-16">
<div class="flex items-end justify-between gap-4">
<div>
<neura::heading level="h2" size="xl" class="tracking-tight">
{{ __('Recent activity') }}
</neura::heading>
<neura::text size="sm" class="mt-1 text-fg-secondary">
{{ __('Deploys, invites and configuration changes across Atlas.') }}
</neura::text>
</div>
<neura::button variant="ghost" size="sm">{{ __('View all') }}</neura::button>
</div>
<ul class="mt-8 divide-y divide-dashed divide-edge rounded-2xl border border-dashed border-edge">
@foreach ([
['name' => 'Lina Ortega', 'action' => __('deployed'), 'target' => 'v2.4.1', 'time' => __('8m ago'), 'icon' => 'rocket-launch'],
['name' => 'Marc Dubois', 'action' => __('invited'), 'target' => 'sara@northline.io', 'time' => __('1h ago'), 'icon' => 'user-plus'],
['name' => 'System', 'action' => __('rotated'), 'target' => __('API keys'), 'time' => __('3h ago'), 'icon' => 'key'],
['name' => 'Amira Benali', 'action' => __('updated'), 'target' => __('billing plan'), 'time' => __('Yesterday'), 'icon' => 'credit-card'],
] as $event)
<li class="flex items-start gap-4 px-5 py-4">
<div class="mt-0.5 grid size-9 shrink-0 place-items-center rounded-lg border border-dashed border-edge bg-surface-inset">
<neura::icon :name="$event['icon']" class="size-4 text-fg-secondary" />
</div>
<div class="min-w-0 flex-1">
<neura::text size="sm" class="text-fg">
<span class="font-medium">{{ $event['name'] }}</span>
<span class="text-fg-secondary"> {{ $event['action'] }} </span>
<span class="font-medium">{{ $event['target'] }}</span>
</neura::text>
<neura::text size="xs" class="mt-1 font-mono text-fg-muted">{{ $event['time'] }}</neura::text>
</div>
</li>
@endforeach
</ul>
</neura::container>
</section>