diff --git a/sc4p-frontend/src/components/AdminBadge.tsx b/sc4p-frontend/src/components/AdminBadge.tsx
new file mode 100644
index 0000000..7665c8f
--- /dev/null
+++ b/sc4p-frontend/src/components/AdminBadge.tsx
@@ -0,0 +1,27 @@
+import React from "react";
+import { useAuth } from "../AuthContext"; // Adjust the path as needed
+
+const AdminBadge: React.FC = () => {
+ const { isAdmin } = useAuth();
+
+ return (
+
+ {isAdmin ? "Admin" : "User"}
+
+ );
+};
+
+export default AdminBadge;
diff --git a/sc4p-frontend/src/components/Navbar.tsx b/sc4p-frontend/src/components/Navbar.tsx
index 34a082f..f466b65 100644
--- a/sc4p-frontend/src/components/Navbar.tsx
+++ b/sc4p-frontend/src/components/Navbar.tsx
@@ -1,5 +1,7 @@
import React, { useState } from "react";
import BellIcon from "../images/bell-icon.png";
+import AdminBadge from "./AdminBadge";
+
const Navbar: React.FC = () => {
const [isToggled, setIsToggled] = useState(false);
@@ -34,14 +36,13 @@ const Navbar: React.FC = () => {
2nd Chance for Pets
- {/* Right-side Buttons */}
- {/* Toggle Button */}
-
- {/* Sliding Circle */}
-
-
+
);