diff --git a/Filament/Blocks/ImageSpatie.php b/Filament/Blocks/ImageSpatie.php index cf2615d6..3e41a618 100755 --- a/Filament/Blocks/ImageSpatie.php +++ b/Filament/Blocks/ImageSpatie.php @@ -61,5 +61,26 @@ function (HasForms $livewire, SpatieMediaLibraryFileUpload $component, Temporary ->label('didascalia'), ]) ->columns($context === 'form' ? 2 : 1); +<<<<<<< HEAD +======= + } + + public static function getRatios(): array + { + return [ + '4-3' => '4/3', + '3-4' => '3/4', + 'free' => 'free', + ]; + } + + public static function getRatioClass(string $ratio): string + { + return match ($ratio) { + '4-3' => 'aspect-[4/3]', + '3-4' => 'aspect-[3/4]', + default => '', + }; +>>>>>>> d76209a (Dusting) } }