add media stuff

This commit is contained in:
Benjamin Takats
2022-12-03 19:44:41 +01:00
parent 3749c3653b
commit a8fa8ecc5b
16 changed files with 219 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
@props(['id' => null, 'maxWidth' => null])
@props(['id' => null, 'maxWidth' => null, 'bg' => 'bg-white'])
<x-jet-modal :id="$id" :maxWidth="$maxWidth" {{ $attributes }}>
<x-jet-modal :id="$id" :maxWidth="$maxWidth" :bg="$bg" {{ $attributes }}>
<div class="px-6 py-4">
<div class="text-lg">
{{ $title }}
@@ -11,7 +11,7 @@
</div>
</div>
<div class="flex flex-row justify-end px-6 py-4 bg-gray-100 text-right">
<div class="flex flex-row justify-end px-6 py-4 {{ $bg }} text-right">
{{ $footer }}
</div>
</x-jet-modal>