{{ $institution->name }}
{{-- The institution's own favicon, falling back to the bundled CYDM
mark. faviconUrl() resolves that fallback, so there is no branch
here and no chance of a page shipping without an icon. --}}
{{-- Mobile browser chrome. Two values so the bar matches the page in
either mode rather than fighting it. --}}
{{-- Paints the dark background before the first frame. Without this the
page flashes white for anyone whose theme is dark, which on a slow
connection is a long and ugly flash. --}}
@php
$appearance = $appearance ?? 'system';
@endphp
{{-- The institution's colours, inline so the FIRST paint is already
correct. Applying these from JavaScript would render the CYDM
defaults and then visibly snap to the institution's — cheap-looking,
and worse the slower the connection. Empty when they have not
customised anything, in which case the stylesheet defaults win. --}}
@if ($brandingCss !== '')
@endif
@routes
@viteReactRefresh
@vite(['resources/js/app.tsx', "resources/js/pages/{$page['component']}.tsx"])
@inertiaHead
@inertia