diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..146b9c9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +backend/raster.db \ No newline at end of file diff --git a/backend/.gitignore b/backend/.gitignore deleted file mode 100644 index 06dc486..0000000 --- a/backend/.gitignore +++ /dev/null @@ -1 +0,0 @@ -raster.db \ No newline at end of file diff --git a/frontend/src/components/NavBar.jsx b/frontend/src/components/NavBar.jsx index f30f591..bcff6d7 100644 --- a/frontend/src/components/NavBar.jsx +++ b/frontend/src/components/NavBar.jsx @@ -1,5 +1,5 @@ import { Link } from 'react-router-dom' -import { ChevronDown, LogIn, LogOut, UserIcon } from 'lucide-react' +import { ChevronDown, LogIn, LogOut, UserIcon, Settings } from 'lucide-react' import * as Popover from '@radix-ui/react-popover' import { useState } from 'react'; import { useAccount } from '../contexts/useAccount'; @@ -24,21 +24,39 @@ export default function NavBar({ path }) { - -
-

Logged in as: {user?.Username || 'Guest'}

-
- {user ? ( -
-

Log Out

- -
- ) : ( -
- Log In - -
- )} + +
+
+

Signed in as

+

{user?.Username || 'Guest'}

+
+ +
+ {user ? ( + <> + + + + + ) : ( + + + Log In + + )} +