Use cookies for dark mode
(also reverts most back-end changes from previous commit)
This commit is contained in:
@@ -3,7 +3,16 @@
|
||||
<nav class="navbar navbar-expand-md navbar-{{ dark_mode() ? 'dark' : 'light' }} page-navbar">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="{{ route('dash') }}" aria-label="Go to Dashboard">
|
||||
<img src="/images/logo{{ dark_mode() ? '-dark' : '' }}.svg" aria-hidden=true alt="LOGO" height="32px" style="margin: -10px 0" class="mr-2">{{--
|
||||
<img
|
||||
id="navbar-logo"
|
||||
src="/images/logo{{ dark_mode() ? '-dark' : '' }}.svg"
|
||||
src-light="/images/logo.svg"
|
||||
src-dark="/images/logo-dark.svg"
|
||||
aria-hidden=true
|
||||
alt="LOGO"
|
||||
height="32px"
|
||||
style="margin: -10px 0"
|
||||
class="mr-2">{{--
|
||||
--}}datatable.directory
|
||||
</a>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user