@include('shared.breadcrumbs', ['breadcrumbs' => [
['url' => route('dashboard'), 'title' => __('Home')],
['title' => __('Account')]
]])
{{ __('Account') }}
@php
$settings[] = [
'icon' => 'account-box',
'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' => 'package',
'title' => __('Plan'),
'description' => __('View your plan details'),
'route' => route('account.plan')
];
if (enabledPaymentProcessors()) {
$settings[] = [
'icon' => 'credit-card',
'title' => __('Payments'),
'description' => (config('settings.invoicing') ? __('View your payments and invoices') : __('View your payments')),
'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