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, applyUrlDefaults } from './../../wayfinder'
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition, applyUrlDefaults } from './../../wayfinder'
|
||||
/**
|
||||
* @see vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemServiceProvider.php:98
|
||||
* @route '/storage/{path}'
|
||||
@@ -57,40 +57,6 @@ local.head = (args: { path: string | number } | [path: string | number ] | strin
|
||||
method: 'head',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemServiceProvider.php:98
|
||||
* @route '/storage/{path}'
|
||||
*/
|
||||
const localForm = (args: { path: string | number } | [path: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: local.url(args, options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemServiceProvider.php:98
|
||||
* @route '/storage/{path}'
|
||||
*/
|
||||
localForm.get = (args: { path: string | number } | [path: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: local.url(args, options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemServiceProvider.php:98
|
||||
* @route '/storage/{path}'
|
||||
*/
|
||||
localForm.head = (args: { path: string | number } | [path: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: local.url(args, {
|
||||
[options?.mergeQuery ? 'mergeQuery' : 'query']: {
|
||||
_method: 'HEAD',
|
||||
...(options?.query ?? options?.mergeQuery ?? {}),
|
||||
}
|
||||
}),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
local.form = localForm
|
||||
|
||||
const storage = {
|
||||
local: Object.assign(local, local),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user