Skip to content

Commit

Permalink
Team Section cosmetic changes (#35)
Browse files Browse the repository at this point in the history
* Cosmetic changes to team section

* Adding link classname to a link

* Update style.module.css

* Update index.tsx

---------

Co-authored-by: avVergnet <[email protected]>
Co-authored-by: Angela Hu <[email protected]>
  • Loading branch information
3 people authored Oct 2, 2023
1 parent 857600b commit 34f8898
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/components/team-card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const TeamCard: React.FC = () => {
const teamMembers = [
{
name: 'Nikhil Dange',
position: 'Hack Technical Lead',
position: 'Hack President',
email: '[email protected]',
linkedinLink: 'https://www.linkedin.com/in/nsdange/',
imageUrl: 'assets/nikhil.JPG',
Expand Down
19 changes: 11 additions & 8 deletions src/components/team-card/style.module.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
.team {
display: grid;
/* grid-template-columns: 19% 19% 19% 19% 19%; */
grid-template-columns: repeat(5, 1fr);
justify-content: center;
gap: 0.5rem;
padding-left: 0.5rem;
padding-right: 0.5rem;
}
display: grid;
margin: 0 auto;
grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
row-gap: 2rem;
column-gap: 2rem;
max-width: 90%;
text-align: center;
justify-content: center;
margin-bottom: 2rem;
margin-top: 1rem;
}

.card {
text-align: center;
Expand Down
7 changes: 6 additions & 1 deletion src/sections/About/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,12 @@ const About: React.FC = () => {
your resume, learn new technologies, and work with a team. We&apos;ll provide the
mentorship and guidance, so don&apos;t worry about having any prior experience. Learn
more and apply at{' '}
<a href="https://projects.acmucsd.com" target="_blank" rel="noopener noreferrer">
<a
className={styles.link}
href="https://projects.acmucsd.com"
target="_blank"
rel="noopener noreferrer"
>
projects.acmucsd.com
</a>
!
Expand Down
4 changes: 0 additions & 4 deletions src/sections/Team/style.module.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
.container {
margin-bottom: 2rem;
}
.team {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 30vh;
max-height: 100vh;
}
Expand Down

0 comments on commit 34f8898

Please sign in to comment.