Skip to content

Commit

Permalink
feat: add home button to sidebar in desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
afspeirs committed Mar 16, 2024
1 parent 6c0a41f commit 778f259
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/components/Sidebar/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PlusIcon, SettingsIcon } from 'lucide-react';
import { HomeIcon, PlusIcon, SettingsIcon } from 'lucide-react';
import { useMediaQuery } from 'usehooks-ts';

import { AuthUserInformation } from '@/components/AuthUserInformation';
Expand Down Expand Up @@ -26,6 +26,17 @@ export function Footer() {
<li>
<AuthUserInformation />
</li>
<li className="max-sm:hidden">
<Tooltip content="Home">
<Button
Icon={HomeIcon}
iconOnly
href="/"
>
Home
</Button>
</Tooltip>
</li>
<li>
<Tooltip content="Settings">
<Button
Expand Down

0 comments on commit 778f259

Please sign in to comment.