diff --git a/src/components/Layout/Navbar/index.tsx b/src/components/Layout/Navbar/index.tsx index 6fbbc337..07ad6a5b 100644 --- a/src/components/Layout/Navbar/index.tsx +++ b/src/components/Layout/Navbar/index.tsx @@ -1,6 +1,5 @@ import { RefObject, useContext, useEffect, useRef, useState } from 'react'; import { Link, useLocation, useNavigate } from 'react-router-dom'; - import { useLoginModalContext } from '../../../contexts/LoginModalContext'; import { UserContext, UserContextType } from '../../../contexts/UserContext'; import StickyBanner from '../../Banner/StickyBanner'; @@ -84,6 +83,7 @@ const Navbar: React.FC = () => { src="/scholarx-logo.png" className="md:h-12 h-10" alt="ScholarX Logo" + referrerPolicy="no-referrer" />
diff --git a/src/components/MenteeApplication/MenteeApplication.component.tsx b/src/components/MenteeApplication/MenteeApplication.component.tsx index c543c0d7..926caac7 100644 --- a/src/components/MenteeApplication/MenteeApplication.component.tsx +++ b/src/components/MenteeApplication/MenteeApplication.component.tsx @@ -143,6 +143,7 @@ const MenteeApplication: React.FC = () => { src={mentee?.mentor.profile.image_url} className="w-14 h-14 rounded-full object-cover" alt="" + referrerPolicy="no-referrer" />

diff --git a/src/pages/Dashboard/scenes/OngoingMentorshipPrograms/OngoingMentorshipPrograms.tsx b/src/pages/Dashboard/scenes/OngoingMentorshipPrograms/OngoingMentorshipPrograms.tsx index da7d422d..7e0952f6 100644 --- a/src/pages/Dashboard/scenes/OngoingMentorshipPrograms/OngoingMentorshipPrograms.tsx +++ b/src/pages/Dashboard/scenes/OngoingMentorshipPrograms/OngoingMentorshipPrograms.tsx @@ -29,6 +29,7 @@ const OngoingMentorshipPrograms: React.FC = () => { src={mentee.profile.image_url} alt={`${mentee.application.firstName} ${mentee.application.lastName}`} className="w-12 h-12 rounded-full object-cover" + referrerPolicy="no-referrer" /> ) : (
diff --git a/src/pages/EditProfileForm/EditProfileForm.component.tsx b/src/pages/EditProfileForm/EditProfileForm.component.tsx index 75dae3e0..6cb85e60 100644 --- a/src/pages/EditProfileForm/EditProfileForm.component.tsx +++ b/src/pages/EditProfileForm/EditProfileForm.component.tsx @@ -141,6 +141,7 @@ const EditProfileForm: React.FC = () => { src={profile.profilePic} alt="Profile" className="w-[90px] h-[90px] rounded-full object-cover" + referrerPolicy="no-referrer" /> ) : (
diff --git a/src/pages/MenteeRegistration/index.tsx b/src/pages/MenteeRegistration/index.tsx index 32992437..ee344fec 100644 --- a/src/pages/MenteeRegistration/index.tsx +++ b/src/pages/MenteeRegistration/index.tsx @@ -201,6 +201,7 @@ const MenteeRegistration: React.FC = () => { src={profilePic} alt="Profile" className="w-[90px] h-[90px] rounded-full object-cover" + referrerPolicy="no-referrer" /> ) : (
diff --git a/src/pages/MentorRegistration/MentorRegistration.component.tsx b/src/pages/MentorRegistration/MentorRegistration.component.tsx index 616beb70..aed43ad0 100644 --- a/src/pages/MentorRegistration/MentorRegistration.component.tsx +++ b/src/pages/MentorRegistration/MentorRegistration.component.tsx @@ -205,6 +205,7 @@ const MentorRegistrationPage: React.FC = () => { src={profilePic} alt="Profile" className="w-[90px] h-[90px] rounded-full object-cover" + referrerPolicy="no-referrer" /> ) : (