added noscript message

master
Benjamin Völkl 2024-01-16 17:45:37 +01:00
parent 80e7ff8248
commit 70092d3bd8
1 changed files with 16 additions and 0 deletions

View File

@ -33,6 +33,20 @@

@endif

<noscript>
<div class="alert alert-warning show" role="alert">
<div class="container">
<strong>
<svg style="fill: currentColor; width: 20px; margin-bottom: 8px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M34.5 420.4c-1.6 2.8-2.5 6-2.5 9.3c0 10.2 8.2 18.4 18.4 18.4H461.6c10.2 0 18.4-8.2 18.4-18.4c0-3.3-.9-6.4-2.5-9.3L276.5 75.8C272.2 68.5 264.4 64 256 64s-16.2 4.5-20.5 11.8L34.5 420.4zM6.9 404.2l201-344.6C217.9 42.5 236.2 32 256 32s38.1 10.5 48.1 27.6l201 344.6c4.5 7.7 6.9 16.5 6.9 25.4c0 27.8-22.6 50.4-50.4 50.4H50.4C22.6 480 0 457.4 0 429.6c0-8.9 2.4-17.7 6.9-25.4zM256 160c8.8 0 16 7.2 16 16V304c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16zM232 384a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"/></svg>
Javasctipt ist derzeit deaktiviert
</strong>
<br>
Diese Seite ist auch für die Nutzung ohne JavaScript ausgelegt. Einige Funktionen oder visuelle Effekte werden dann aber nicht oder nur eingeschränkt dargestellt.
</div>
</div>
</noscript>



@if(session()->has('auth_user'))
<div class="alert mb-0 alert-warning alert-dismissible fade show py-1 px-0" role="alert">
@ -112,6 +126,8 @@
@endif
</div>
</nav>

</div.container>
@yield('content')
@include('template.'.config('settings.template').'.content.includes.cookie-banner')
@if($_warenkorb_aktiv)