Skip to content

Instantly share code, notes, and snippets.

@GeeH
Created May 12, 2020 15:32
Show Gist options
  • Save GeeH/9bcba903eb42eea920ccce0b14638d35 to your computer and use it in GitHub Desktop.
Save GeeH/9bcba903eb42eea920ccce0b14638d35 to your computer and use it in GitHub Desktop.
<div class="flex items-start w-full">
<?php /** @var App\Person $person */ ?>
@foreach($people as $person)
<div class="flex flex-col w-64 m-2 bg-white border border-2 rounded shadow-md">
<div class="font-semibold bg-gray-200 text-gray-700 py-3 px-6 mb-0">
{{ $person->name }}
</div>
<div class="w-full p-6">
<p class="text-gray-700">
{{ $person->timezone }}
</p>
</div>
</div>
@endforeach
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment