@php
$brandName = (string) \App\Models\SystemSetting::get('app_name', config('app.name', 'WaDesk'));
$year = now()->format('Y');
// Footer sits on a dark panel — prefer the dark-theme logo (falls back
// to the default logo, then to the SVG mark below).
$brandLogo = \App\Support\Brand::logoUrl('dark');
// Social links from admin → Settings → Site info (site_info). Only the
// ones the admin actually filled in are rendered.
$socials = array_filter([
'x' => site_info('social_x'),
'linkedin' => site_info('social_linkedin'),
'instagram' => site_info('social_instagram'),
'youtube' => site_info('social_youtube'),
'facebook' => site_info('social_facebook'),
'github' => site_info('social_github'),
]);
$socialIcons = [
'x' => '',
'linkedin' =>
'',
'instagram' =>
'',
'youtube' => '',
'facebook' => '',
'github' =>
'',
];
@endphp