Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion frontend/react-app/src/components/UserInfo.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import "../css/Profile.css"
import logo from '../logo.svg';
import { User, UserCircle } from "lucide-react";

//user information used in the profile page
function UserInfo({userInfo}){
Expand All @@ -15,7 +16,7 @@ function UserInfo({userInfo}){
return (
<div className="user-info">
<div className="profile-picture">
<img src={user.profilePictureUrl} alt="Profile Picture" />
<UserCircle size={100}/>
</div>
<div className="profile-info">
<h1 className="profile-name">{userInfo.accountId}</h1>
Expand Down
3 changes: 1 addition & 2 deletions frontend/react-app/src/css/Profile.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,4 @@
}
.logout-btn:hover {
background-color: #6e6658;
}

}
4 changes: 2 additions & 2 deletions frontend/react-app/src/pages/Profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ function Profile(){
return (
<div className='pageContainer'>
<Header/>
<div className='pageBody'>
<div className='profile-page'>
<UserInfo
userInfo = {userData}/>
<h1>My teams</h1>
<h1>My Teams</h1>
<div className="teams-grid">
{teams.map((team) => (
<Teams team={team} key={team.teamId}/>
Expand Down