@extends('layouts.user', ['heading' => 'Company Updates', 'subheading' => 'Official notices and account notifications']) @section('content')
My Notifications
@forelse($notifications as $notification)
{{ $notification->title ?: ucfirst($notification->type) }}
{{ optional($notification->created_at)->format('d M Y H:i') }}
{{ $notification->message }}
@if($notification->link) Open Link @endif
@empty
No notifications found.
@endforelse
{{ $notifications->links() }}
Notice Ticker
@forelse($noticeTickers as $notice)
{{ $notice->message }}
Priority: {{ $notice->priority }}
@empty
No active ticker notices.
@endforelse
Popup Announcements
@forelse($popups as $popup)
{{ $popup->title }}
{{ $popup->message }}
@if($popup->media_type === 'image' && $popup->media_url) {{ $popup->title }} @elseif($popup->media_type === 'video') @if($popup->media_url) @elseif($popup->video_url) Watch video @endif @endif @if($popup->cta_label && $popup->cta_url) {{ $popup->cta_label }} @endif
@empty
No active popup announcements.
@endforelse
@endsection