mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-07 11:55:42 +00:00
Mobile view dark mode toggle
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import Image from 'next/image';
|
import Image from 'next/image';
|
||||||
|
import ThemeToggle from './ThemeToggle';
|
||||||
|
|
||||||
// AppSidebar (which carries the logo) is `hidden lg:flex` — invisible on
|
// AppSidebar (which carries the logo) is `hidden lg:flex` — invisible on
|
||||||
// mobile, so mobile pages had no branding/way back to home at all. This is
|
// mobile, so mobile pages had no branding/way back to home at all. This is
|
||||||
@@ -19,6 +20,9 @@ export default function MobileTopBar() {
|
|||||||
priority
|
priority
|
||||||
/>
|
/>
|
||||||
</Link>
|
</Link>
|
||||||
|
<div className="ml-auto">
|
||||||
|
<ThemeToggle />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user