-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add spring 2024 eboard members (pt.1), alumni section, and cont…
…ributors section
- Loading branch information
Showing
13 changed files
with
188 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import React, {FunctionComponent} from "react"; | ||
import {Col, Row} from "react-bootstrap"; | ||
import SocialMediaIcon from "./Footer/SocialMediaIcon"; | ||
|
||
const AlumniCard: FunctionComponent<{ | ||
imgSrc: string, | ||
name: string, | ||
role:string, | ||
linkedin?: string, | ||
github?: string, | ||
website?: string, | ||
instagram?: string, | ||
}> | ||
= props => { | ||
return(<Col className="alumni__card"> | ||
<img src={props.imgSrc} alt = {props.name + " Profile Picture"} className="alumni__profile"/> | ||
<h4 className = "alumni__name"> {props.name}</h4> | ||
<h5 className = "alumni__title"> {props.role}</h5> | ||
<div className="socials"> | ||
{(() => { | ||
if (props.linkedin) { | ||
return ( | ||
<SocialMediaIcon altText={props.name + " LinkedIn"} src={"../assets/socials/Linkedin.svg"} link={props.linkedin}/> | ||
) | ||
} | ||
})()} | ||
|
||
{(() => { | ||
if (props.github) { | ||
return ( | ||
<SocialMediaIcon altText={props.name + " Github"} src={"../assets/socials/Github.svg"} link={props.github}/> | ||
) | ||
} | ||
})()} | ||
|
||
{(() => { | ||
if (props.website) { | ||
return ( | ||
<SocialMediaIcon altText={props.name + " Personal Site"} src={"../assets/socials/Globe.svg"} link={props.website}/> | ||
) | ||
} | ||
})()} | ||
|
||
{(() => { | ||
if (props.instagram) { | ||
return ( | ||
<SocialMediaIcon altText={props.name + " Instagram"} src={"../assets/socials/instagram-white.svg"} link={props.instagram}/> | ||
) | ||
} | ||
})()} | ||
</div> | ||
</Col>) | ||
} | ||
|
||
export default AlumniCard; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.contributorsRow { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: center; | ||
gap: 50px; // space between items | ||
padding: 10px; // padding around the items | ||
margin-bottom: 65px; | ||
} | ||
|
||
.contributor { | ||
flex: 0 1 auto; // wrapping and flexible item width | ||
font-size: 1.55rem; | ||
a { | ||
color: inherit; | ||
text-decoration: underline solid transparent; | ||
transition: text-decoration 0.5s ease; | ||
} | ||
|
||
a:hover { | ||
text-decoration: underline solid Currentcolor; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import React from 'react'; | ||
import styles from "./ContributorsRow.module.scss"; | ||
|
||
type Contributor = { | ||
name: string; | ||
url: string; | ||
}; | ||
|
||
type ContributorsRowProps = { | ||
contributors: Contributor[]; | ||
}; | ||
|
||
const ContributorsRow: React.FC<ContributorsRowProps> = ({ contributors }) => { | ||
return ( | ||
<div className={styles.contributorsRow}> {/* Scoped CSS class */} | ||
{contributors.map((contributor, index) => ( | ||
<span key={index} className={styles.contributor}> {/* Scoped CSS class */} | ||
<a href={contributor.url} target="_blank" rel="noopener noreferrer"> | ||
{contributor.name} | ||
</a> | ||
</span> | ||
))} | ||
</div> | ||
); | ||
}; | ||
|
||
export default ContributorsRow; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters