37 lines
1.5 KiB
PHP
37 lines
1.5 KiB
PHP
<footer class="footer">
|
|
<div class="wrap footer-grid">
|
|
<div class="footer-brand">
|
|
<a class="logo" href="{{ url('/') }}">{{ $siteTitle }}</a>
|
|
<p>{{ $siteDescription }}</p>
|
|
</div>
|
|
<div>
|
|
<b>Explore</b>
|
|
@foreach ($footerNavigation as $item)
|
|
<a href="{{ $item['url'] }}">{{ $item['label'] }}</a>
|
|
@endforeach
|
|
</div>
|
|
<div>
|
|
<b>Account</b>
|
|
@auth
|
|
<a href="{{ route('dashboard') }}">Dashboard</a>
|
|
@if (Route::has('profile.edit'))<a href="{{ route('profile.edit') }}">Profile</a>@endif
|
|
@else
|
|
@if (Route::has('login'))<a href="{{ route('login') }}">Log in</a>@endif
|
|
@if (Route::has('register'))<a href="{{ route('register') }}">Register</a>@endif
|
|
@endauth
|
|
</div>
|
|
<div>
|
|
<b>Connect</b>
|
|
@if ($facebookUrl)<a href="{{ $facebookUrl }}" target="_blank" rel="noopener">Facebook</a>@endif
|
|
@if ($xUrl)<a href="{{ $xUrl }}" target="_blank" rel="noopener">X</a>@endif
|
|
@if ($linkedinUrl)<a href="{{ $linkedinUrl }}" target="_blank" rel="noopener">LinkedIn</a>@endif
|
|
@unless($facebookUrl || $xUrl || $linkedinUrl)<a href="mailto:{{ config('mail.from.address') }}">Contact</a>@endunless
|
|
</div>
|
|
</div>
|
|
|
|
<div class="wrap copyright">
|
|
<span>© {{ date('Y') }} {{ $siteTitle }}. All rights reserved.</span>
|
|
<a href="#top">Back to top ↑</a>
|
|
</div>
|
|
</footer>
|