Skip to content

Commit

Permalink
Merge branch 'sef-global:development' into monthly-checking-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Disura-Randunu authored Oct 27, 2024
2 parents fd47591 + e46954a commit 5a1a08a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Layout/Navbar/index.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -84,6 +83,7 @@ const Navbar: React.FC = () => {
src="/scholarx-logo.png"
className="md:h-12 h-10"
alt="ScholarX Logo"
referrerPolicy="no-referrer"
/>
</Link>
<div className="flex items-center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
/>
<div>
<h3 className="font-medium sm:text-lg">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
/>
) : (
<div className="w-12 h-12 bg-gray-200 rounded-full flex items-center justify-center">
Expand Down
1 change: 1 addition & 0 deletions src/pages/EditProfileForm/EditProfileForm.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
/>
) : (
<div className="w-[90px] h-[90px] rounded-full bg-gray-200 flex items-center justify-center">
Expand Down
1 change: 1 addition & 0 deletions src/pages/MenteeRegistration/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ const MenteeRegistration: React.FC = () => {
src={profilePic}
alt="Profile"
className="w-[90px] h-[90px] rounded-full object-cover"
referrerPolicy="no-referrer"
/>
) : (
<div className="w-[90px] h-[90px] rounded-full bg-gray-200 flex items-center justify-center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ const MentorRegistrationPage: React.FC = () => {
src={profilePic}
alt="Profile"
className="w-[90px] h-[90px] rounded-full object-cover"
referrerPolicy="no-referrer"
/>
) : (
<div className="w-[90px] h-[90px] rounded-full bg-gray-200 flex items-center justify-center">
Expand Down

0 comments on commit 5a1a08a

Please sign in to comment.