-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35d12ea
commit 5b3b123
Showing
3 changed files
with
69 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
import { Button } from "@/components/ui/button"; | ||
import { Bell, Bookmark, Home, Mail } from "lucide-react"; | ||
import Link from "next/link"; | ||
|
||
interface MenuBarProps { | ||
className?: string; | ||
} | ||
|
||
export default function MenuBar({ className }: MenuBarProps) { | ||
return ( | ||
<div className={className}> | ||
<Button | ||
variant="ghost" | ||
className="flex items-center justify-start gap-3" | ||
title="Home" | ||
asChild | ||
> | ||
<Link href="/"> | ||
<Home /> | ||
<span className="hidden lg:inline">Home</span> | ||
</Link> | ||
</Button> | ||
<Button | ||
variant="ghost" | ||
className="flex items-center justify-start gap-3" | ||
title="Notifications" | ||
asChild | ||
> | ||
<Link href="/notifications"> | ||
<Bell /> | ||
<span className="hidden lg:inline">Notifications</span> | ||
</Link> | ||
</Button> | ||
<Button | ||
variant="ghost" | ||
className="flex items-center justify-start gap-3" | ||
title="Messages" | ||
asChild | ||
> | ||
<Link href="/messages"> | ||
<Mail /> | ||
<span className="hidden lg:inline">Messages</span> | ||
</Link> | ||
</Button> | ||
<Button | ||
variant="ghost" | ||
className="flex items-center justify-start gap-3" | ||
title="Bookmarks" | ||
asChild | ||
> | ||
<Link href="/bookmarks"> | ||
<Bookmark /> | ||
<span className="hidden lg:inline">Bookmarks</span> | ||
</Link> | ||
</Button> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
export default function Home() { | ||
return <main>Front page</main>; | ||
return ( | ||
<main className="h-[200vh] w-full bg-red-50"> | ||
<div className="w-full">Front page</div> | ||
</main> | ||
); | ||
} |