fix: adding noscript to hide pre-loader.

This commit is contained in:
Paul Couture 2023-12-22 12:18:48 -06:00
parent bf30235e1d
commit 97fa5a6f9f

View File

@ -14,6 +14,7 @@
@include('partials/favicon') @include('partials/favicon')
@vite(['resources/scss/app.scss']) @vite(['resources/scss/app.scss'])
@livewireStyles @livewireStyles
<noscript><style> #preloader { display:none; } </style></noscript>
@yield('additional_headers') @yield('additional_headers')
</head> </head>
<body{!! Session::get('preferred_theme') === 'light' ? ' class="theme-light"' : '' !!} data-preferred_theme="{!! Session::get('preferred_theme') !!}"> <body{!! Session::get('preferred_theme') === 'light' ? ' class="theme-light"' : '' !!} data-preferred_theme="{!! Session::get('preferred_theme') !!}">