@section('title', __('general.page_settings_title')) @section('head') @endsection @php $breadcrumb = [ ['label' => __('general.top_menu_item_general')], ['label' => __('general.page_settings_h1')], ]; /** * One row per network so the markup is written once. The columns mix * formats on purpose: some hold a full URL, others a handle or a number, * which is what the hint under each field explains. */ $socialFields = [ ['name' => 'social_facebook', 'label' => 'Facebook', 'icon' => 'fa-facebook', 'hint' => __('general.settings_hint_url')], ['name' => 'social_instagram', 'label' => 'Instagram', 'icon' => 'fa-instagram', 'hint' => __('general.settings_hint_handle')], ['name' => 'social_whatsapp', 'label' => 'WhatsApp', 'icon' => 'fa-whatsapp', 'hint' => __('general.settings_hint_phone')], ['name' => 'social_youtube', 'label' => 'YouTube', 'icon' => 'fa-youtube', 'hint' => __('general.settings_hint_url')], ['name' => 'social_twitter', 'label' => 'X / Twitter', 'icon' => 'fa-x-twitter', 'hint' => __('general.settings_hint_handle')], ['name' => 'social_tiktok', 'label' => 'TikTok', 'icon' => 'fa-tiktok', 'hint' => __('general.settings_hint_handle')], ['name' => 'social_telegram', 'label' => 'Telegram', 'icon' => 'fa-telegram', 'hint' => __('general.settings_hint_handle')], ['name' => 'social_twitch', 'label' => 'Twitch', 'icon' => 'fa-twitch', 'hint' => __('general.settings_hint_url')], ['name' => 'social_linkedin', 'label' => 'LinkedIn', 'icon' => 'fa-linkedin', 'hint' => __('general.settings_hint_url')], ['name' => 'social_soundcloud', 'label' => 'SoundCloud', 'icon' => 'fa-soundcloud', 'hint' => __('general.settings_hint_url')], ['name' => 'social_mixcloud', 'label' => 'Mixcloud', 'icon' => 'fa-mixcloud', 'hint' => __('general.settings_hint_url')], ['name' => 'social_pinterest', 'label' => 'Pinterest', 'icon' => 'fa-pinterest', 'hint' => __('general.settings_hint_url')], ['name' => 'social_lastfm', 'label' => 'Last.fm', 'icon' => 'fa-lastfm', 'hint' => __('general.settings_hint_url')], ['name' => 'social_snapchat', 'label' => 'Snapchat', 'icon' => 'fa-snapchat', 'hint' => __('general.settings_hint_handle')], ]; $filled = collect($socialFields)->filter(fn ($f) => ! empty($socialData->{$f['name']}))->count(); @endphp @include('includes/header-novo') @include('includes.breadcrumb') {{ __('general.page_settings_h1') }} {{ __('general.settings_intro') }} @include('includes.flash') {{ __('general.settings_block_identity') }} {{ __('general.settings_block_identity_desc') }} @include('includes.spinner') {{ __('general.settings_logo') }} {{ __('general.settings_logo_hint') }} {{ __('general.action_change') }} avatar ? '' : 'hidden' }}> {{ __('site.btn_remove') }} {{ __('general.settings_radio_name') }} {{ __('general.label_timezone') }} {{ __('general.settings_tz_none') }} @include('includes.timezone-options') {{ __('general.settings_block_contact') }} {{ __('general.settings_block_contact_desc') }} {{ __('general.label_contact_email') }} {{ __('general.settings_phone_landline') }} {{ __('general.settings_phone_mobile_placeholder') }} {{ __('general.label_address') }} {{ __('general.settings_show_map') }} {{ __('general.settings_show_map_desc') }} contact_map)> {{ __('general.label_social') }} {{ trans_choice('general.settings_social_filled', $filled, ['n' => $filled, 'total' => count($socialFields)]) }} {{ __('general.settings_site_url') }} @foreach($socialFields as $f) @php $value = old($f['name'], $socialData->{$f['name']}); @endphp {{ $f['label'] }} @endforeach @include('includes.spinner') {{ __('general.action_save_changes') }} @section('scripts') @endsection @include('includes/footer-novo')
{{ __('general.settings_intro') }}
{{ __('general.settings_block_identity_desc') }}
{{ __('general.settings_tz_none') }}
{{ __('general.settings_block_contact_desc') }}
{{ trans_choice('general.settings_social_filled', $filled, ['n' => $filled, 'total' => count($socialFields)]) }}