Website Themes

Choose a website theme and the design clients see when they sign in.
@can('cms_settings_update')
@csrf
The package must include theme.json and its Blade views.
@include('shared.client-presentation-select', [ 'inputId' => 'package_client_presentation', 'inputName' => 'client_presentation', 'currentMode' => old('client_presentation', ''), 'allowSaved' => true, ])
@endcan
@forelse($websiteTemplates as $template) @php $protectedTheme = data_get($template->theme_meta, 'protected', $template->source !== 'uploaded'); $packagedPreview = config('themes.available.'.$template->slug.'.preview'); $preview = trim((string) $template->preview_image) ?: $packagedPreview; @endphp
@if($preview) {{ $template->name }} preview @else
@endif @if($template->status === 'active')Active@endif
{{ $template->name }}
{{ $template->slug }} ยท {{ ucfirst($template->source ?: 'system') }}
@include('shared.client-presentation-select', [ 'inputId' => 'card_client_presentation_'.$template->id, 'inputName' => 'client_presentation', 'currentMode' => \App\Support\ClientPresentation::modeFor($template), 'readOnly' => !auth()->user()->can('cms_settings_update'), ])
@can('cms_settings_update') Design @if(!$protectedTheme)@endif @endcan
@empty
No themes are registered.
@endforelse
@can('cms_settings_update') @endcan