@php
    $nameKey = 'modules.catalog.' . $slug . '.name';
    $moduleLabel = \Illuminate\Support\Facades\Lang::has($nameKey)
        ? __($nameKey)
        : (string) ($moduleName ?? $slug);
    $breadcrumbs = [
        ['label' => __('common.home'), 'url' => route('dashboard.index')],
        ['label' => $moduleLabel],
    ];
@endphp

<x-ui.layout.page
    :title="__('dashboard.placeholder.title', ['module' => $moduleLabel])"
    :subtitle="__('dashboard.placeholder.subtitle')"
    page-icon="fe fe-grid"
    :breadcrumbs="$breadcrumbs"
>
    <div class="card border-0 shadow-sm" style="max-width: 640px;">
        <div class="card-body p-4">
            <p class="text-muted mb-4">{{ __('dashboard.placeholder.body') }}</p>
            <x-ui.buttons.secondary :href="route('dashboard.index')" icon="fe fe-arrow-left">
                {{ __('dashboard.placeholder.back') }}
            </x-ui.buttons.secondary>
        </div>
    </div>
</x-ui.layout.page>
