hide nav on mobile

This commit is contained in:
Paul Miller
2023-04-22 16:39:31 -05:00
parent a9e43fde7e
commit 6460547d53
11 changed files with 41 additions and 10 deletions

View File

@@ -3,9 +3,9 @@ import { DefaultMain, NodeManagerGuard, SafeArea } from "~/components/layout";
import BalanceBox from "~/components/BalanceBox";
import NavBar from "~/components/NavBar";
import ReloadPrompt from "~/components/Reload";
import { Scan } from '~/assets/svg/Scan';
import { A } from 'solid-start';
import { Activity } from './Activity';
import settings from '~/assets/icons/settings.svg';
export default function App() {
return (
@@ -14,7 +14,7 @@ export default function App() {
<DefaultMain>
<header class="w-full flex justify-between items-center mt-4 mb-2">
<img src={logo} class="h-10" alt="logo" />
<A class="p-2 hover:bg-white/5 rounded-lg active:bg-m-blue" href="scanner"><Scan /></A>
<A class="md:hidden p-2 hover:bg-white/5 rounded-lg active:bg-m-blue" href="/settings"><img src={settings} alt="Settings" /></A>
</header>
<ReloadPrompt />
<BalanceBox />