@extends('admin.layout') @section('title', 'Instellingen') @section('heading', 'Instellingen') @section('subheading', 'Alles wat de backend en de front-end runtime nodig hebben. Geheimen worden versleuteld opgeslagen.') @section('actions')
@endsection @section('content') @php // One icon per subject, so the tab bar reads at a glance. $groupIcons = [ 'wordpress' => 'globe', 'woocommerce' => 'shopping-bag', 'slicewp' => 'users', 'payments' => 'credit-card', 'routing' => 'activity', 'runtime' => 'server', 'ai' => 'sparkles', 'account' => 'key-round', ]; $groupKeys = array_keys($groups); $activeGroup = $groupKeys[0] ?? null; $missingPerGroup = []; foreach ($groups as $group => $entries) { $missingPerGroup[$group] = count(array_filter( $entries, static fn (array $entry): bool => ! $entry['is_set'], )); } @endphp{{ $groupHints[$group] }}
@endif @if ($missingPerGroup[$group] > 0)@include('admin.partials.icon', ['name' => 'circle-alert', 'class' => 'h-3.5 w-3.5']) {{ $missingPerGroup[$group] }} van deze {{ count($entries) }} instellingen {{ $missingPerGroup[$group] === 1 ? 'is' : 'zijn' }} nog niet ingevuld.
@endif