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\Http\Controllers\DashboardController::index
|
||||
* @see app/Http/Controllers/DashboardController.php:15
|
||||
@@ -43,43 +43,6 @@ index.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
|
||||
method: 'head',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\DashboardController::index
|
||||
* @see app/Http/Controllers/DashboardController.php:15
|
||||
* @route '/dashboard'
|
||||
*/
|
||||
const indexForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: index.url(options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\DashboardController::index
|
||||
* @see app/Http/Controllers/DashboardController.php:15
|
||||
* @route '/dashboard'
|
||||
*/
|
||||
indexForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: index.url(options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\DashboardController::index
|
||||
* @see app/Http/Controllers/DashboardController.php:15
|
||||
* @route '/dashboard'
|
||||
*/
|
||||
indexForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: index.url({
|
||||
[options?.mergeQuery ? 'mergeQuery' : 'query']: {
|
||||
_method: 'HEAD',
|
||||
...(options?.query ?? options?.mergeQuery ?? {}),
|
||||
}
|
||||
}),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
index.form = indexForm
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\DashboardController::requestServiceActivation
|
||||
* @see app/Http/Controllers/DashboardController.php:30
|
||||
@@ -114,28 +77,6 @@ requestServiceActivation.post = (options?: RouteQueryOptions): RouteDefinition<'
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\DashboardController::requestServiceActivation
|
||||
* @see app/Http/Controllers/DashboardController.php:30
|
||||
* @route '/dashboard/service-activation'
|
||||
*/
|
||||
const requestServiceActivationForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
|
||||
action: requestServiceActivation.url(options),
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\DashboardController::requestServiceActivation
|
||||
* @see app/Http/Controllers/DashboardController.php:30
|
||||
* @route '/dashboard/service-activation'
|
||||
*/
|
||||
requestServiceActivationForm.post = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
|
||||
action: requestServiceActivation.url(options),
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
requestServiceActivation.form = requestServiceActivationForm
|
||||
|
||||
const DashboardController = { index, requestServiceActivation }
|
||||
|
||||
export default DashboardController
|
||||
Reference in New Issue
Block a user