diff --git a/components/Header/index.tsx b/components/Header/index.tsx
index eecca17..48cafa6 100644
--- a/components/Header/index.tsx
+++ b/components/Header/index.tsx
@@ -1,6 +1,8 @@
import React from 'react';
import Link from 'next/link';
import { usePathname } from 'next/navigation';
+import CONFIG from '@/lib/configs';
+import { useProfile } from '@/utils/ProfileProvider';
import Icon from '../Icon';
import { Container, HamburgerButton } from './styles';
@@ -11,6 +13,7 @@ interface HeaderProps {
export default function Header({ toggleNavColumn, isLoggedIn }: HeaderProps) {
const currentPath = usePathname();
+ const { profileReady } = useProfile();
const onNavColumnClick = () => {
toggleNavColumn();
@@ -28,11 +31,17 @@ export default function Header({ toggleNavColumn, isLoggedIn }: HeaderProps) {
- {/* still need to check if onboarding completed or not, after ProfileContext merged*/}
{isLoggedIn ? (
-
+ profileReady ? (
+ // display profile icon if user is logged in and onboarded
+
+ ) : (
+ // display onboarding link if user is logged in but not onboarded
+ Complete Onboarding
+ )
) : (
- Login/Sign Up
+ // display login link if user is not logged in
+ Login/Sign Up
)}
);