myvideogamelist.com/resources/views/partials/theme-mode/_main.blade.php
Jimmy Brancaccio b39ecf1638 Initial Commit
The initial public commit of MVGL website code.
2024-01-14 13:51:43 -06:00

16 lines
568 B
PHP

<?php
$iconClass = isset($params['toggle-btn-icon-class']) ? $params['toggle-btn-icon-class'] : 'fs-2';
?>
<!--begin::Menu toggle-->
<a href="#" class="{{ $btnClass }}"
data-kt-menu-trigger="click" data-kt-menu-attach="parent" data-kt-menu-placement="bottom-end" data-kt-menu-flip="bottom">
@if (theme()->getCurrentMode() === 'dark')
<i class="fas fa-moon {{ $iconClass }}"></i>
@else
<i class="fas fa-brightness-low {{ $iconClass }}"></i>
@endif
</a>
<!--begin::Menu toggle-->
{{ theme()->getView('partials/theme-mode/__menu') }}