--- title: "footer-06" description: "Contact footer: address, phone and email beside two link columns, closing on an oversized company wordmark." category: "Footer" --- # footer-06 Contact footer: address, phone and email beside two link columns, closing on an oversized company wordmark. ## Installation ```bash php artisan ui:add-block footer-06 ``` ## Dependencies - composer: `gehrisandro/tailwind-merge-laravel` ## Source `resources/views/components/ui/blocks/footer-06.blade.php` ```blade {{-- Every piece of content is a prop, so you can drive this footer from a CMS. A link is either a plain string or ['label' => ..., 'href' => ...]. A social is ['label' =>, 'href' =>, 'icon' =>] where icon is a key of the $icons map below ('facebook', 'instagram', 'x', 'linkedin', 'youtube'), or pass 'svg' => '' to use a mark of your own. The wordmark defaults to `brand`; set it separately for a longer legal name, and retune the clamp below if the word no longer fills the container. --}} @props([ 'brand' => 'LaralCN', 'brandHref' => '#', 'wordmark' => null, 'addressLabel' => 'Address:', 'address' => 'Level 1, 12 Sample St, Sydney NSW 2000', 'contactLabel' => 'Contact:', 'phone' => '1800 123 4567', 'email' => 'email@example.com', 'columns' => [ ['links' => ['Link One', 'Link Two', 'Link Three', 'Link Four', 'Link Five']], ['links' => ['Link Six', 'Link Seven', 'Link Eight', 'Link Nine', 'Link Ten']], ], 'socials' => [ ['label' => 'Facebook', 'icon' => 'facebook'], ['label' => 'Instagram', 'icon' => 'instagram'], ['label' => 'X', 'icon' => 'x'], ['label' => 'LinkedIn', 'icon' => 'linkedin'], ['label' => 'Youtube', 'icon' => 'youtube'], ], 'legal' => ['Privacy Policy', 'Terms of Service', 'Cookies Settings'], 'copyright' => null, ]) @php $link = static fn($item): array => is_array($item) ? $item + ['href' => '#'] : ['label' => $item, 'href' => '#']; $icons = [ 'facebook' => '', 'instagram' => '', 'x' => '', 'linkedin' => '', 'youtube' => '', ]; @endphp
{{-- Contact details --}}
{{ $logo ?? '' }} @empty($logo) @endempty {{ $brand }} @if ($address)

{{ $addressLabel }}

{{ $address }}

@endif @if ($phone || $email)

{{ $contactLabel }}

@if ($phone) {{ $phone }} @endif @if ($email) {{ $email }} @endif
@endif
{{-- Link columns --}} @foreach ($columns as $column) @endforeach
{{-- Oversized wordmark. The clamp is tuned to fill the container with "LaralCN"; retune the max when you change the word or the font. --}}

{{ $wordmark ?? $brand }}

{{ $copyright ?? '© ' . date('Y') . ' ' . $brand . '. All rights reserved.' }}

```