diff --git a/src/components/Layout.js b/src/components/Layout.js
index ecfa82c..d748d2a 100644
--- a/src/components/Layout.js
+++ b/src/components/Layout.js
@@ -1,3 +1,10 @@
+import NavBar from "./NavBar";
+
export default function Layout({ children }) {
- return
{children}
;
+ return (
+
+ );
}
diff --git a/src/components/NavBar.js b/src/components/NavBar.js
new file mode 100644
index 0000000..5a81b3c
--- /dev/null
+++ b/src/components/NavBar.js
@@ -0,0 +1,25 @@
+import { Navbar, Text } from "@nextui-org/react";
+import { useSession } from "next-auth/react";
+
+export default function NavBar() {
+ const { data: session, status } = useSession();
+
+ return (
+
+
+
+ Imageify
+
+
+
+ {status === "authenticated" ? (
+ signed in
+ ) : (
+
+ Login
+
+ )}
+
+
+ );
+}