<%= turbo_stream_from Current.user, :notifications %>
<%= turbo_frame_tag "notifications", src: tray_notifications_path, refresh: "morph" %>
<%= link_to notifications_path, class: "card", data: { action: "click->dialog#close" } do %> + More… <% end %>
<%= button_to read_all_notifications_path, class: "tray__notification-read-action btn btn--reversed fill-transparent borderless flex-item-justify-start txt-xx-small", title: "Mark all as read", data: { action: "click->dialog#close", turbo_frame: "notifications" } do %> <%= icon_tag "check" %> <% end %> <%= link_to tag.span("Notifications"), notifications_path, class: "btn btn--reversed borderless fill-transparent center txt-uppercase txt-x-small full-width", title: "See all notifications", data: { action: "click->dialog#close" } %> <%= link_to settings_notifications_path, class: "tray__notification-settings-action btn btn--reversed fill-transparent borderless flex-item-justify-start txt-xx-small", title: "Notification settings", data: { action: "click->dialog#close" } do %> <%= icon_tag "settings" %> <% end %>