Skip to content

Commit 23d738d

Browse files
committed
add emails
1 parent f2ffd40 commit 23d738d

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

src/components/Team.astro

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ const teamMembers = [
77
description: "Experienced iOS dev, decent photographer.",
88
github: "https://github.com/saumilthecode",
99
linkedin: "https://www.linkedin.com/in/saumil707/",
10-
youtube: ""
10+
youtube: "",
11+
1112
},
1213
{
1314
name: "Zenneth",
@@ -16,7 +17,8 @@ const teamMembers = [
1617
description: "Lua Dev. Python and Lua Mastermind.",
1718
github: "https://github.com/zenneth",
1819
linkedin: "",
19-
youtube: ""
20+
youtube: "",
21+
2022
},
2123
{
2224
name: "Daivik",
@@ -25,7 +27,8 @@ const teamMembers = [
2527
description: "iOS dev, YouTuber.",
2628
github: "https://github.com/gz56",
2729
linkedin: "",
28-
youtube: "https://www.youtube.com/@realgz56yt2"
30+
youtube: "https://www.youtube.com/@realgz56yt2",
31+
2932
},
3033
{
3134
name: "Ethan",
@@ -34,18 +37,19 @@ const teamMembers = [
3437
description: "Lego connoisseur. Python and Lua enjoyer.",
3538
github: "https://github.com/ethandal",
3639
linkedin: "",
37-
youtube: ""
40+
youtube: "",
41+
3842
}
3943
];
4044
---
45+
4146
<!-- Font Awesome stylesheet link -->
4247
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
4348

4449
<!-- Team Section -->
4550
<section class="team">
4651
<div class="tem">
4752
<h1 style="font-size:10vw; margin-bottom: 20px;">Our Team</h1>
48-
4953
</div>
5054
<h6 style="font-size:smaller; margin-top: 20px;">we think we know what we're doing</h6>
5155
<div class="team-grid">
@@ -58,20 +62,25 @@ const teamMembers = [
5862

5963
<div class="social-links">
6064
{member.github && (
61-
<a href={member.github} target="_blank" class="social-btn github">
65+
<a href={member.github} target="_blank" rel="noopener noreferrer" class="social-btn github">
6266
<i class="fa fa-github"></i>
6367
</a>
6468
)}
6569
{member.linkedin && (
66-
<a href={member.linkedin} target="_blank" class="social-btn linkedin">
70+
<a href={member.linkedin} target="_blank" rel="noopener noreferrer" class="social-btn linkedin">
6771
<i class="fa fa-linkedin"></i>
6872
</a>
6973
)}
7074
{member.youtube && (
71-
<a href={member.youtube} target="_blank" class="social-btn youtube">
75+
<a href={member.youtube} target="_blank" rel="noopener noreferrer" class="social-btn youtube">
7276
<i class="fa fa-youtube"></i>
7377
</a>
7478
)}
79+
{member.email && (
80+
<a href={`mailto:${member.email}`} class="social-btn email">
81+
<i class="fa fa-envelope"></i>
82+
</a>
83+
)}
7584
</div>
7685
</div>
7786
))}
@@ -129,18 +138,15 @@ const teamMembers = [
129138
text-decoration: none;
130139
font-size: 1.2rem;
131140
}
132-
/* .github { background-color: #333; }
133-
.linkedin { background-color: #0077b5; }
134-
.youtube { background-color: #ff0000; } */
135141

136142
/* Responsive adjustments */
137-
@media (max-width: 768px) {
143+
@media (max-width: 768px) {
138144
.team {
139-
padding: 1rem; /* Reduce side padding */
145+
padding: 1rem;
140146
}
141147

142148
.team-grid {
143-
gap: 0.5rem; /* Adjust grid gap for a tighter layout */
149+
gap: 0.5rem;
144150
}
145151

146152
.team-member {
@@ -158,4 +164,4 @@ const teamMembers = [
158164
padding: 0.4rem;
159165
}
160166
}
161-
</style>
167+
</style>

0 commit comments

Comments
 (0)