@section('site_title', formatTitle([__('Account'), config('settings.title')])) @include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => route('dashboard'), 'title' => __('Home')], ['title' => __('Account')] ]])

{{ __('Account') }}

@php $settings[] = [ 'icon' => 'portrait', 'title' => __('Profile'), 'description' => __('Update your profile information'), 'route' => route('account.profile') ]; $settings[] = [ 'icon' => 'lock', 'title' => __('Security'), 'description' => __('Change your security information'), 'route' => route('account.security') ]; $settings[] = [ 'icon' => 'tune', 'title' => __('Preferences'), 'description' => __('Change your preferences'), 'route' => route('account.preferences') ]; if(paymentProcessors()) { $settings[] = [ 'icon' => 'package', 'title' => __('Plan'), 'description' => __('View your plan details'), 'route' => route('account.plan') ]; $settings[] = [ 'icon' => 'credit-card', 'title' => __('Payments'), 'description' => __('View your payments and invoices'), 'route' => route('account.payments') ]; } $settings[] = [ 'icon' => 'code', 'title' => __('API'), 'description' => __('View and change your developer key'), 'route' => route('account.api') ]; $settings[] = [ 'icon' => 'delete', 'title' => __('Delete'), 'description' => __('Delete your account and associated data'), 'route' => route('account.delete') ]; @endphp
@foreach($settings as $setting)
@include('icons.' . $setting['icon'], ['class' => 'fill-current width-4 height-4'])
{{ $setting['title'] }}
{{ $setting['description'] }} @include((__('lang_dir') == 'rtl' ? 'icons.chevron-left' : 'icons.chevron-right'), ['class' => 'flex-shrink-0 width-3 height-3 fill-current mx-2'])
@endforeach