Skip to content

Commit

Permalink
Merge pull request #38 from POSUA-NITS/dev
Browse files Browse the repository at this point in the history
merge dev into master
  • Loading branch information
hereisadi authored Mar 29, 2024
2 parents 56ac593 + e8b78dd commit f5a7b09
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 3 deletions.
19 changes: 17 additions & 2 deletions src/Components/TeamPageUI/PatronCard.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
import React, { useState } from "react";
import React, { useState, useEffect } from "react";

const PatronCard = ({ name, email, photoLink, designation }) => {
const [hover, sethover] = useState(false);
const [windowSize, setWindowSize] = useState(null);
useEffect(() => {
if (typeof window !== "undefined") {
const handleSize = () => {
setWindowSize(window.innerWidth);
};

window.addEventListener("resize", handleSize);
handleSize();

return () => {
window.removeEventListener("resize", handleSize);
};
}
return () => {};
}, []);
return (
<div
className="w-[15rem] h-[20rem] relative"
Expand All @@ -21,7 +36,7 @@ const PatronCard = ({ name, email, photoLink, designation }) => {
/>
<div className="absolute w-full h-full flex flex-col items-center justify-end bottom-[3.6rem] leading-4 z-[54]">
<div
className="text-[.85rem] font-semibold"
className={`${windowSize < 660 && name.length > 12 ? "text-[2.9vw]" : windowSize > 660 ? "text-[.77vw]" : "text-[.85rem]"} font-semibold`}
style={{ color: "#BC0404", fontFamily: "DM Serif Display" }}
>
{name}
Expand Down
82 changes: 81 additions & 1 deletion src/Pages/Team/Team.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,36 @@ const Team = () => {
github: "https://github.com/michaeljohnson",
linkedin: "https://www.linkedin.com/in/michaeljohnson",
},
{
id: 4,
name: "Syed Intekhab Hussain",
designation: "Hospitality Head",
photoLink:
"https://res.cloudinary.com/dp92qug2f/image/upload/v1711715776/SyedIntekhab_posua-SYEDINTEKHABHUSSAIN-min-ezgif.com-jpg-to-webp-converter_vlcbma.webp",
facebook: "https://www.facebook.com/michaeljohnson",
github: "https://github.com/michaeljohnson",
linkedin: "https://www.linkedin.com/in/michaeljohnson",
},
{
id: 5,
name: "Ashish Handique",
designation: "Hospitality Head",
photoLink:
"https://res.cloudinary.com/dp92qug2f/image/upload/v1711716150/AshishHandique-MEA028ASHISHHANDIQUE-min-ezgif.com-png-to-webp-converter_itxtaa.webp",
facebook: "https://www.facebook.com/michaeljohnson",
github: "https://github.com/michaeljohnson",
linkedin: "https://www.linkedin.com/in/michaeljohnson",
},
{
id: 6,
name: "Suraj Saha",
designation: "Hospitality Head",
photoLink:
"https://res.cloudinary.com/dp92qug2f/image/upload/v1711716857/ezgif.com-jpg-to-webp-converter_4_h9xwsx.webp",
facebook: "https://www.facebook.com/michaeljohnson",
github: "https://github.com/michaeljohnson",
linkedin: "https://www.linkedin.com/in/michaeljohnson",
},
];
const decoration = [
{
Expand All @@ -82,6 +112,26 @@ const Team = () => {
github: "https://github.com/michaeljohnson",
linkedin: "https://www.linkedin.com/in/michaeljohnson",
},
{
id: 4,
name: "Dhritishmita Dehingia",
designation: "Decoration Head",
photoLink:
"https://res.cloudinary.com/dp92qug2f/image/upload/v1711716937/ezgif.com-jpg-to-webp-converter_5_h1txms.webp",
facebook: "https://www.facebook.com/michaeljohnson",
github: "https://github.com/michaeljohnson",
linkedin: "https://www.linkedin.com/in/michaeljohnson",
},
{
id: 5,
name: "Akash Sonowal",
designation: "Decoration Head",
photoLink:
"https://res.cloudinary.com/dp92qug2f/image/upload/v1711716013/ezgif.com-jpg-to-webp-converter_1_xju6wt.webp",
facebook: "https://www.facebook.com/michaeljohnson",
github: "https://github.com/michaeljohnson",
linkedin: "https://www.linkedin.com/in/michaeljohnson",
},
];
const design = [
{
Expand Down Expand Up @@ -178,6 +228,16 @@ const Team = () => {
github: "https://github.com/michaeljohnson",
linkedin: "https://www.linkedin.com/in/michaeljohnson",
},
{
id: 6,
name: "Arnab Tamuly",
designation: "Infra & Logistics",
photoLink:
"https://res.cloudinary.com/dp92qug2f/image/upload/v1711716395/ezgif.com-jpg-to-webp-converter_2_vjiwbe.webp",
facebook: "https://www.facebook.com/michaeljohnson",
github: "https://github.com/michaeljohnson",
linkedin: "https://www.linkedin.com/in/michaeljohnson",
},
];
const Rally = [
{
Expand Down Expand Up @@ -212,6 +272,16 @@ const Team = () => {
github: "https://github.com/michaeljohnson",
linkedin: "https://www.linkedin.com/in/michaeljohnson",
},
{
id: 2,
name: "Ajanit Priyanubhab Bora",
designation: "Publicity Head",
photoLink:
"https://res.cloudinary.com/dp92qug2f/image/upload/v1711709628/WhatsApp_Image_2024-03-29_at_16_emjrxi.webp",
facebook: "https://www.facebook.com/michaeljohnson",
github: "https://github.com/michaeljohnson",
linkedin: "https://www.linkedin.com/in/michaeljohnson",
},
{
id: 8,
name: "Jubilee Deka",
Expand Down Expand Up @@ -296,6 +366,16 @@ const Team = () => {
github: "https://github.com/michaeljohnson",
linkedin: "https://www.linkedin.com/in/michaeljohnson",
},
{
id: 3,
name: "Archana Sonowal",
designation: "Head (Food)",
photoLink:
"https://res.cloudinary.com/dp92qug2f/image/upload/v1711715659/ezgif.com-jpg-to-webp-converter_nshtti.webp",
facebook: "https://www.facebook.com/michaeljohnson",
github: "https://github.com/michaeljohnson",
linkedin: "https://www.linkedin.com/in/michaeljohnson",
},
];
const photography = [
{
Expand Down Expand Up @@ -624,7 +704,7 @@ const Team = () => {
},
{
id: 14,
name: "Kaustav Deb",
name: "Kaustav Dev",
designation: "UI/UX",
photoLink:
"https://res.cloudinary.com/dhry5xscm/image/upload/v1711662253/posua/IMG-20230731-WA0061_-_ME_026_Kaustav_ravlle.webp",
Expand Down

0 comments on commit f5a7b09

Please sign in to comment.