File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
web/src/components/nav-bar Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 1- import { Navbar ,
1+ import {
2+ Navbar ,
23 NavbarBrand ,
34 NavbarContent ,
4- NavbarItem ,
5- NavbarMenuToggle ,
6- NavbarMenu ,
7- NavbarMenuItem } from "@nextui-org/react" ;
8- import { Button , Link } from "@nextui-org/react" ;
5+ NavbarItem
6+ } from "@nextui-org/react" ;
7+ import { Button } from "@nextui-org/react" ;
98
109 export default function Nav ( ) {
1110 return (
@@ -14,7 +13,7 @@ import { Button, Link } from "@nextui-org/react";
1413 < p className = "font-bold text-inherit text-slate-900" > STARR Lab Rad-Effects Database</ p >
1514 </ NavbarBrand >
1615 < NavbarContent justify = "end" >
17- { /* TODO: add which nsid is logged in */ }
16+ < span > Logged in as: { localStorage . getItem ( ' nsid' ) } </ span >
1817 < NavbarItem >
1918 < Button className = "bg-usask-green" variant = "flat" >
2019 < span className = "text-slate-50" > Log out</ span >
You can’t perform that action at this time.
0 commit comments