Add Algolia search credit when in use

This commit is contained in:
Christopher C. Wells 2021-04-05 22:27:44 -07:00
parent 6955557ae8
commit 6dc3d8a9e1
3 changed files with 10 additions and 2 deletions

2
public/css/app.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@ -24,13 +24,20 @@
</x-inputs.icon-green>
<div class="flex items-center justify-end mt-4 space-x-4">
<fieldset class="flex space-x-2">
<x-inputs.input name="group_entries" type="checkbox" class="h-5 w-5" value="1" checked />
<x-inputs.label for="groupEntries" value="Group entries by day and meal" />
<x-inputs.input type="checkbox" name="group_entries" value="1" checked />
</fieldset>
<x-inputs.button x-on:click="removeTemplate($el);">Add entries</x-inputs.button>
</div>
</div>
</form>
@if(env('SCOUT_DRIVER') === 'algolia')
<div class="flex justify-center pt-12 sm:pt-0 sm:justify-start">
<a href="https://www.algolia.com/" target="_blank">
<img src="{{ asset('images/search-by-algolia-light-background.svg') }}" alt="Search by Algolia">
</a>
</div>
@endif
@once
@push('scripts')