Add user account and settings boilerplate. UserAvatarMenu now navigates to placeholder pages for both Account and Settings

This commit is contained in:
Daniel S. Hansen
2025-07-29 14:47:03 -07:00
parent 96cbf90dfb
commit be925c1f35
6 changed files with 75 additions and 8 deletions
@@ -8,7 +8,7 @@ const user = {
// avatar: "src\\assets\\user_profile.svg"
}
export default function Header() {
export default function Header({ view, setView }) {
const recipe = useRecipe({ key: "header" });
const styles = recipe();
@@ -20,7 +20,12 @@ export default function Header() {
<Text color="color" fontWeight="bold" textStyle="lg">{user.name}</Text>
<Text color="fg.muted" textStyle="sm">{user.email}</Text>
</Stack>
<UserAvatarMenu name={user.name} avatar={user.avatar} />
<UserAvatarMenu
name={user.name}
avatar={user.avatar}
view={ view }
setView={ setView }
/>
</Flex>
</chakra.div>
);