@php use JeffersonGoncalves\PwaFavicon\PwaFavicon; // All params are optional. Consumers (a Filament panel head hook, a public // site layout) render this single view so the PWA stays identical // across surfaces — one source of truth, no duplicated tags. $themeColor = $themeColor ?? PwaFavicon::themeColor(); $manifestUrl = $manifestUrl ?? '/manifest.json'; // The id lets client JS retarget the theme-color on a live light/dark // toggle; pass an empty string to omit it. $themeColorId = $themeColorId ?? 'theme-color-meta'; $title = $title ?? null; @endphp @foreach (PwaFavicon::iconHeadLinks() as $link) @endforeach @foreach (PwaFavicon::appleHeadLinks() as $link) @endforeach @foreach (PwaFavicon::msApplicationMeta() as $meta) @endforeach @foreach (PwaFavicon::webAppMeta($title) as $meta) @endforeach