Add Agolia credit to recipe edit page as well

This commit is contained in:
Christopher C. Wells 2021-04-05 22:38:03 -07:00
parent 4a273d7731
commit ffba473855
4 changed files with 13 additions and 5 deletions

View File

@ -2,6 +2,10 @@
[![CI Status](https://github.com/kcal-app/kcal/actions/workflows/ci.yml/badge.svg)](https://github.com/kcal-app/kcal/actions/workflows/ci.yml)
[![Coverage Status](https://coveralls.io/repos/github/kcal-app/kcal/badge.svg)](https://coveralls.io/github/kcal-app/kcal)
## Search
## Development
### Laravel Sail

View File

@ -0,0 +1,5 @@
<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>

View File

@ -32,11 +32,7 @@
</div>
</form>
@if(config('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>
<x-search-by-algolia />
@endif
@once

View File

@ -182,6 +182,9 @@
</x-inputs.button>
</div>
</form>
@if(config('scout.driver') === 'algolia')
<x-search-by-algolia />
@endif
@once
@push('styles')