{{-- The customer's own settings. ## Four attempts, and what was wrong with each 1. One column 768px wide in a 1240px shell, everything in it, two thousand pixels deep. 2. Four tabs — better — but cards of different heights in a grid, which on the contract tab read as a staircase. 3. Panels and rows: right idea, wrong proportions. Full-width slabs stacked down the page, each with its title INSIDE it, so the page was a column of long boxes and nothing said where one topic ended. ## What it is now The shape serious settings pages actually use: a section list on the left, a measured content column on the right, and the heading OUTSIDE the card it belongs to. - The nav is the structure. It is sticky, so the sections stay reachable however far down a form goes, and it says which one you are in without making you read a row of tabs. - 820px is the content column. Nobody types a phone number into a field 1100px wide; a settings page that lets them looks like a spreadsheet. - A section is a heading, a sentence, and then a card of rows. Putting the heading inside the card gave every group two frames — the title bar and the border — and that is what made them read as boxes rather than as topics. - What cannot be undone lives at the end, in a card that says so with its border. Below `lg` the nav becomes a scrolling strip of chips above the content, and the rows stack, because on a telephone a label belongs above its field. --}} @php $sections = [ 'profile' => 'users', 'security' => 'shield-check', 'branding' => 'pen', 'contract' => 'receipt', ]; @endphp
{{ __('settings.eyebrow') }}
{{ __('settings.subtitle') }}
{{ __('admin_settings.password_sub') }}
{{ __('settings.twofa_sub') }}
{{ __('settings.contract_sub') }}
@if ($cancellationScheduled) {{ __('settings.cancel_scheduled_body', ['date' => $instance?->service_ends_at?->local()->isoFormat('LL')]) }} @elseif ($hasActivePackage) {{ __('settings.package_active', ['plan' => $instance ? __('billing.plan.'.$instance->plan) : '—']) }} @else {{ __('settings.no_package') }} @endif
@if ($hasActivePackage && ! $cancellationScheduled)@if ($withdrawal->open) {{ __('withdrawal.card_sub', [ 'date' => $withdrawal->endsAt->local()->isoFormat('LL'), 'days' => $withdrawal->daysLeft(), ]) }} @else {{ $withdrawal->refusal }} @endif
@if ($withdrawal->open){{ __('dpa.sub') }}
{{ __('dpa.in_force_note') }}
{{ __('settings.close_account_sub') }}