diff --git a/metager/resources/views/index.blade.php b/metager/resources/views/index.blade.php index 1f48b113aa778dd244a61816712550cda7c65305..7e36b9c93a2510224003821a6cf68d13371b732e 100644 --- a/metager/resources/views/index.blade.php +++ b/metager/resources/views/index.blade.php @@ -35,7 +35,16 @@ @if(Request::filled('key')) <input type="hidden" name="key" value="{{ Request::input('key', '') }}" form="searchForm"> @endif - + @if(app(\App\Models\Authorization\Authorization::class)->availableTokens >= 0 && !app(\App\Models\Authorization\Authorization::class)->canDoAuthenticatedSearch(false)) + <div id="startpage-quicklinks"> + <a class="metager-key" href="{{ app(\App\Models\Authorization\Authorization::class)->getAdfreeLink() }}"> + <img src="/img/svg-icons/key-empty.svg" alt="Key Icon" /> + <span> + @lang("index.key.tooltip.empty") + </span> + </a> + </div> + @endif </div> <div id="tiles-container"> <div id="tiles">