Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rfairooz committed Jan 23, 2024
1 parent 7fe0b44 commit 537a34f
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 6 deletions.
8 changes: 6 additions & 2 deletions src/app/board/page.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import React from "react";

import Team from "@/components/board/Team";
const page = () => {
return <div>page</div>;
return (
<div>
<Team />
</div>
);
};

export default page;
4 changes: 2 additions & 2 deletions src/components/board/Profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ const Profile = ({
pronouns,
}) => {
return (
<div className="border-2 border-black font-poppins bg-white w-72 h-auto rounded-xl">
<div className="border-2 border-black font-poppins bg-white w-full h-auto rounded-xl">
<Image
src={image}
alt="Picture of board member"
className="rounded-xl border-2 border-black mt-3 mr-auto ml-auto w-60 h-58"
className=" mt-3 mr-auto ml-auto"
/>
<div className="ml-5">
<div className="font-bold text-xl mt-3">{name}</div>
Expand Down
58 changes: 56 additions & 2 deletions src/components/board/Team.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,61 @@
import React from "react";

import Profile from "@/components/board/Profile";
import Javen from "@/public/assets/board/Javen.svg";
const Team = () => {
return <div>Team</div>;
return (
<div className="flex justify-center items-center">
<div className="grid grid-cols-4 w-10/12 gap-3 justify-center items-center bg-red-200">
<div>
<Profile
name="Javen Dosanjh"
email="[email protected]"
title="Vice President"
image={Javen}
year="2nd"
major="Computer Science"
pronouns="he/him"
linkedin="linkedin.com"
/>
</div>
<div>
<Profile
name="Javen Dosanjh"
email="[email protected]"
title="Vice President"
image={Javen}
year="2nd"
major="Computer Science"
pronouns="he/him"
linkedin="linkedin.com"
/>
</div>
<div>
<Profile
name="Javen Dosanjh"
email="[email protected]"
title="Vice President"
image={Javen}
year="2nd"
major="Computer Science"
pronouns="he/him"
linkedin="linkedin.com"
/>
</div>
<div>
<Profile
name="Javen Dosanjh"
email="[email protected]"
title="Vice President"
image={Javen}
year="2nd"
major="Computer Science"
pronouns="he/him"
linkedin="linkedin.com"
/>
</div>
</div>
</div>
);
};

export default Team;

0 comments on commit 537a34f

Please sign in to comment.