Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes #8

Merged
merged 4 commits into from
Oct 5, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
run: npm install

- name: Run ESLint
run: npm run lint
run: npm run lint
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@vitejs/plugin-react": "^4.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^5.3.0",
"react-router-dom": "^6.22.2",
"vite": "^5.1.4"
},
Expand Down
38 changes: 26 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added public/images/Faq Bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/Team bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions public/images/faqcover.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions public/images/teamcover.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 68 additions & 2 deletions src/Components/Teams/Card/Card.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,72 @@
import styles from "./Card.module.scss";
const Card = () => {
return <div className={styles.card}>Card</div>;
const Card = (props) => {
return (
<div className={styles.cardBox}>
<div className={styles.topLeftLine}></div>
<div className={styles.bottomLeftLine}></div>
<div className={styles.bottomRightLine}></div>
<div className={styles.card}>
<div className={styles.box}>
<img className={styles.img} src={props.img} alt="members" loading="lazy" />
</div>
<div className={styles.content}>
<p className={styles.name}>{props.name}</p>
{props.designation && <p className={styles.designation}>{props.designation}</p>}
</div>
<div className={styles.glowbox}>
<div className={styles.social}>
{props.fb && (
<div className={styles.icon}>
<a href={props.fb} target="_blank" rel="noreferrer">
<img
className={`${styles.logo} ${styles.fbImg}`}
src="https://res.cloudinary.com/dxafdfvui/image/upload/v1705083563/fbpxl_imhsav.svg"
alt="facebook"
/>
</a>
</div>
)}

{props.linkedin && (
<div className={styles.icon}>
<a href={props.linkedin} target="_blank" rel="noreferrer">
<img
className={`${styles.logo} ${styles.linkedinImg}`}
src="https://res.cloudinary.com/dgnlmdkyq/image/upload/v1705425898/Nits%20hacks%206.0/Teams/nnj4l11tum53qdgmny4v.png"
alt="linkedin"
/>
</a>
</div>
)}

{props.git && (
<div className={styles.icon}>
<a href={props.git} target="_blank" rel="noreferrer">
<img
className={`${styles.logo} ${styles.gitImg}`}
src="https://res.cloudinary.com/dgnlmdkyq/image/upload/v1705429562/Nits%20hacks%206.0/Teams/lavkmin5prqostnlukqh.png"
alt=" github"
/>
</a>
</div>
)}

{props.cf && (
<div className={styles.icon}>
<a href={props.cf} target="_blank" rel="noreferrer">
<img
className={`${styles.logo} ${styles.cfImg}`}
src="https://res.cloudinary.com/dgnlmdkyq/image/upload/v1705486367/Nits%20hacks%206.0/Teams/lfqewnoiatuujzkelmqk.png"
alt=" codeforces"
/>
</a>
</div>
)}
</div>
</div>
</div>
</div>
);
};

export default Card;
Loading
Loading