|
|
|
@ -19,7 +19,7 @@ $aclass = $dropdown ? 'dropdown-item' : 'nav-link'; |
|
|
|
|
{!! $li !!} |
|
|
|
|
<form method="POST" action="{{ route('toggle-dark-mode') }}" aria-hidden="true"> |
|
|
|
|
@csrf |
|
|
|
|
<button id="toggle-dark-mode-btn" class="{{ $aclass }}" type="submit" onclick="event.preventDefault(); toggleDarkMode();"> |
|
|
|
|
<button id="toggle-dark-mode-btn" class="btn-link border-0 {{ $aclass }}" type="submit" onclick="event.preventDefault(); toggleDarkMode();"> |
|
|
|
|
<div class="dark-mode-switch-on"> |
|
|
|
|
<i class="fa-sun-o fa-pr"></i>{{ __('Light Mode') }} |
|
|
|
|
</div> |
|
|
|
|