@php $brandName = (string) brand_name(); $year = now()->format('Y'); // Admin → Settings → Footer overrides (empty = sensible defaults). $footerTitle = (string) \App\Models\SystemSetting::get('footer_title', ''); $footerCopyright = (string) \App\Models\SystemSetting::get('footer_copyright', ''); $footerDescription = (string) \App\Models\SystemSetting::get('footer_description', ''); // 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