@php $aboutLinks = [ 'About Us' => '/about', 'Cookies Policy' => '/cookies-policy', ]; // About links live in column 2, so the seeded /about row must not repeat in Customer Care. $careLinks = collect($footerMenus)->reject(fn ($menu) => $menu['destination_link'] === '/about')->values(); if ($careLinks->isEmpty()) { $careLinks = collect([ ['name' => 'Return & Refund Policy', 'destination_link' => '/return-refund-policy'], ['name' => 'Privacy Policy', 'destination_link' => '/privacy-policy'], ['name' => 'Terms & Conditions', 'destination_link' => '/terms-conditions'], ['name' => 'Help Center', 'destination_link' => '/help-center'], ]); } // FAQs is always offered, unless an admin already put it in the footer menu. if (! $careLinks->contains('destination_link', '/faq')) { $careLinks->push(['name' => 'FAQs', 'destination_link' => '/faq']); } $socialNetworks = [ 'facebook' => ['Facebook', 'bi-facebook'], 'instagram' => ['Instagram', 'bi-instagram'], 'youtube' => ['YouTube', 'bi-youtube'], 'linkedin' => ['LinkedIn', 'bi-linkedin'], 'x' => ['X', 'bi-twitter-x'], ]; // Each key has a logo in components/storefront/payment-logos, except COD, which has no brand mark. $paymentMethods = ['sslcommerz' => 'SSLCommerz', 'bkash' => 'bKash', 'nagad' => 'Nagad', 'visa' => 'VISA', 'mastercard' => 'Mastercard', 'amex' => 'AMEX', 'cod' => 'Cash on Delivery (COD)']; @endphp