{{-- Quick links to a service's hosting tools, for rows in listing pages. Which tools exist is the service's own answer (hostingFeatureKeys), so a container plan shows Apps alone and a non-hosting service shows nothing at all. Only a short, fixed set is linked here - the service page still lists everything - because a row is not the place for nine links. --}} @php $svcTools = $svc->hostingFeatureKeys(); $svcShortcuts = [ 'containers' => ['client.services.containers', 'ri-apps-2-line', __('client.hosting.tools.apps')], 'files' => ['client.services.files', 'ri-folder-line', __('client.hosting.tools.files')], 'emails' => ['client.services.emails', 'ri-mail-line', __('client.hosting.tools.emails')], 'databases' => ['client.services.databases', 'ri-database-2-line', __('client.hosting.tools.databases')], 'laravel' => ['client.services.laravel', 'ri-fire-line', __('client.hosting.tools.laravel')], 'nodejs' => ['client.services.nodejs', 'ri-nodejs-line', __('client.hosting.tools.nodejs')], 'python' => ['client.services.python', 'ri-terminal-box-line', __('client.hosting.tools.python')], ]; $svcShown = array_filter($svcShortcuts, fn ($v, $k) => in_array($k, $svcTools, true), ARRAY_FILTER_USE_BOTH); @endphp {{-- Inline, like the hosting pages do: the client layout has no styles stack, and the CSS bundle is built by Vite, which a blade-only change must not depend on. @once keeps it to one copy per page however many rows there are. --}} @once @endonce @if($svcShown)
@foreach($svcShown as $key => [$route, $icon, $label]) {{ $label }} @endforeach
@endif