feat: enhance partners section with new input fields, improved styling, and localization support for better user experience

This commit is contained in:
Ümit Tunç
2026-05-21 00:36:32 +03:00
parent dbb9853066
commit fd30e5d1b7
2 changed files with 251 additions and 45 deletions
@@ -18,6 +18,12 @@ class PartnersSection
Repeater::make('data.partners')
->label('Partnerler')
->schema([
TextInput::make('name')
->label('Partner Adı')
->placeholder('Örn: Microsoft')
->maxLength(120)
->columnSpanFull(),
FileUpload::make('logo')
->label('Logo')
->image()
@@ -26,13 +32,14 @@ class PartnersSection
->visibility('public')
->required()
->columnSpanFull(),
TextInput::make('url')
->label('Website URL')
->url()
->placeholder('https://example.com')
->columnSpanFull(),
])
->itemLabel(fn (array $state): ?string => $state['name'] ?? null)
->grid(4)
->columnSpanFull()
->reorderableWithButtons()