feat&fix(Wip home page, services and illustrations & add static pages)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition, type RouteFormDefinition } from './../../../../../../wayfinder'
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition } from './../../../../../../wayfinder'
|
||||
/**
|
||||
* @see \App\Filament\Resources\Services\Pages\CreateService::__invoke
|
||||
* @see app/Filament/Resources/Services/Pages/CreateService.php:7
|
||||
@@ -43,41 +43,4 @@ CreateService.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => (
|
||||
method: 'head',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Filament\Resources\Services\Pages\CreateService::__invoke
|
||||
* @see app/Filament/Resources/Services/Pages/CreateService.php:7
|
||||
* @route '/admin/services/create'
|
||||
*/
|
||||
const CreateServiceForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: CreateService.url(options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Filament\Resources\Services\Pages\CreateService::__invoke
|
||||
* @see app/Filament/Resources/Services/Pages/CreateService.php:7
|
||||
* @route '/admin/services/create'
|
||||
*/
|
||||
CreateServiceForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: CreateService.url(options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Filament\Resources\Services\Pages\CreateService::__invoke
|
||||
* @see app/Filament/Resources/Services/Pages/CreateService.php:7
|
||||
* @route '/admin/services/create'
|
||||
*/
|
||||
CreateServiceForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: CreateService.url({
|
||||
[options?.mergeQuery ? 'mergeQuery' : 'query']: {
|
||||
_method: 'HEAD',
|
||||
...(options?.query ?? options?.mergeQuery ?? {}),
|
||||
}
|
||||
}),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
CreateService.form = CreateServiceForm
|
||||
|
||||
export default CreateService
|
||||
Reference in New Issue
Block a user