
@php
  if (isset($notification->data['user_id'])) {
      $notificationUser = \App\Models\User::find($notification->data['user_id']);
  } else {
      $notificationUser = user();
  }
  @endphp
<x-cards.notification :notification="$notification"  :link="route('projects.show', $notification->data['id']) . '?tab=notes'"
    :image="$notificationUser->image_url" :title="__('email.projectNote.mentionSubject'). ' #' . $notification->data['id']" :text="$notification->data['heading']"
    :time="$notification->created_at" />
