diff --git a/client/src/components/Header/Header.jsx b/client/src/components/Header/Header.jsx
index 60fa076..819859c 100644
--- a/client/src/components/Header/Header.jsx
+++ b/client/src/components/Header/Header.jsx
@@ -1,36 +1,40 @@
import { useRecipe, Button, Stack, Text, Flex } from "@chakra-ui/react"
import UserAvatarMenu from "./UserAvatarMenu.jsx";
-import { useNavigate } from "react-router-dom";
import { NavLink } from "react-router-dom";
-//TODO: Dynamically populate per each user
-const user = {
- name: "venessa kuchenik",
- email: "vkuchenik@contractor.usgs.gov",
- // avatar: "src\\assets\\user_profile.svg"
+// Import the asset properly so Vite can bundle it for any server
+// import defaultAvatar from "@/assets/user_profile.svg";
+
+// TODO: Pull this dynamically from an Auth Context later!
+const placeholderUser = {
+ name: "Princess Zelda",
+ email: "zelda.royal@hyrule.gov",
+ // avatar: defaultAvatar
}
-export default function Header() {
- const navigate = useNavigate();
- const recipe = useRecipe({ key: "header" });
- const styles = recipe();
+// Accept a 'user' prop now, fallback to placeholder if empty
+export default function Header({ user = placeholderUser }) {
+ const recipe = useRecipe({ key: "header" });
+ const styles = recipe();
- return (
-
-
-
-
- {user.name}
- {user.email}
-
-
-
-
- );
-}
+ return (
+
+ {/* Home Link Logo */}
+
+ {/* User Profile Section */}
+
+
+ {user.name}
+ {user.email}
+
+
+
+
+ );
+}
\ No newline at end of file