Build
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<x-app-layout>
|
||||
<x-slot name="header"><h2 class="text-xl font-semibold">Providers</h2></x-slot>
|
||||
<div class="mx-auto max-w-7xl space-y-4 p-6">
|
||||
@foreach ($profiles as $profile)
|
||||
<a href="{{ route('providers.show', $profile) }}" class="block rounded border bg-white p-4 shadow-sm">
|
||||
<h3 class="font-semibold">{{ $profile->business_name }}</h3>
|
||||
<p class="text-sm text-gray-600">{{ $profile->headline }}</p>
|
||||
<p class="mt-2 text-sm">{{ $profile->service_area }}</p>
|
||||
@foreach ($profile->externalImports as $import)
|
||||
<span class="mt-2 inline-block rounded bg-gray-100 px-2 py-1 text-xs">{{ $import->platform }} {{ $import->rating ? $import->rating.'/5' : '' }}</span>
|
||||
@endforeach
|
||||
</a>
|
||||
@endforeach
|
||||
{{ $profiles->links() }}
|
||||
</div>
|
||||
</x-app-layout>
|
||||
Reference in New Issue
Block a user