meetup landing page

This commit is contained in:
Benjamin Takats
2023-01-16 16:00:49 +01:00
parent 5a0428fe61
commit 6dd898e6d2
11 changed files with 283 additions and 41 deletions

View File

@@ -70,8 +70,14 @@ class Meetup extends Resource
->creationRules('unique:meetups,name')
->updateRules('unique:meetups,name,{{resourceId}}'),
Text::make('Link')
->rules('required', 'string'),
Text::make(__('Telegram-Link'), 'telegram_link')
->rules('url', 'nullable'),
Text::make(__('Website'), 'webpage')
->rules('url', 'nullable'),
Text::make(__('Twitter Username'), 'twitter_username')
->rules('string', 'nullable'),
BelongsTo::make(__('City'), 'city', City::class)
->searchable()