Skip to content

Commit 0cb6745

Browse files
committed
added new members
1 parent e2206fc commit 0cb6745

File tree

2 files changed

+105
-2
lines changed

2 files changed

+105
-2
lines changed

src/components/Contact.jsx

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,21 @@ import Airtable from "airtable";
1212
const SECRET_API_TOKEN = process.env.REACT_APP_AIRTABLE_SECRET_API_TOKEN;
1313
const BASE_ID = process.env.REACT_APP_BASE_ID;
1414

15-
const base = new Airtable({ apiKey: SECRET_API_TOKEN }).base(BASE_ID);
15+
// const base = new Airtable({ apiKey: SECRET_API_TOKEN }).base(BASE_ID);
16+
let base;
17+
18+
try {
19+
if (!SECRET_API_TOKEN) {
20+
throw new Error("Airtable API token is not defined.");
21+
}
22+
if (!BASE_ID) {
23+
throw new Error("Airtable Base ID is not defined.");
24+
}
25+
26+
base = new Airtable({ apiKey: SECRET_API_TOKEN }).base(BASE_ID);
27+
} catch (error) {
28+
console.error("Error initializing Airtable:", error.message);
29+
}
1630

1731
const Contact = () => {
1832
const [data, setData] = useState({

src/data/teams.json

Lines changed: 90 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
}
157157
},
158158
{
159-
"image": "https://ibb.co/LQQP7gM",
159+
"image": "https://i.ibb.co/J7VGLQv/yash-yadav.png",
160160
"name": "Yash Yadav",
161161
"position": "Volunteer in Web and Blockchain Development",
162162
"link": {
@@ -165,6 +165,95 @@
165165
"rel": "noopener noreferrer"
166166
}
167167

168+
},
169+
{
170+
"image": "https://i.ibb.co/dD5g3Sj/jiya-gupta.png",
171+
"name": "Jiya Gupta",
172+
"position": "Volunteer in Web Development",
173+
"link": {
174+
"url": "https://twitter.com/JiyaGupta_dev",
175+
"target": "_blank",
176+
"rel": "noopener noreferrer"
177+
}
178+
},
179+
{
180+
181+
"image": "https://i.ibb.co/Br2T11w/yash-raj.png",
182+
"name": "Yash Raj",
183+
"position": "Volunteer in Backend and devops",
184+
"link": {
185+
"url": "https://twitter.com/",
186+
"target": "_blank",
187+
"rel": "noopener noreferrer"
188+
}
189+
},
190+
{
191+
192+
"image": "",
193+
"name": "Vinayak Rastogi",
194+
"position": "Volunteer in Backend development",
195+
"link": {
196+
"url": "https://twitter.com/yashastro23",
197+
"target": "_blank",
198+
"rel": "noopener noreferrer"
199+
}
200+
201+
},
202+
{
203+
204+
"image": "https://i.ibb.co/0j0KMdc/dev-mishra.png",
205+
"name": "Dev Mishra",
206+
"position": "Volunteer in Springboot and Java",
207+
"link": {
208+
"url": "https://twitter.com/",
209+
"target": "_blank",
210+
"rel": "noopener noreferrer"
211+
}
212+
213+
},
214+
{
215+
"image": "https://i.ibb.co/sRTbgHb/Ksauraj.jpg",
216+
"name": "Ksauraj",
217+
"position": "Volunteer in linux ",
218+
"link": {
219+
"url": "https://twitter.com/",
220+
"target": "_blank",
221+
"rel": "noopener noreferrer"
222+
}
223+
224+
225+
},
226+
{
227+
"image": "",
228+
"name": "Sarthak Gupta",
229+
"position": "Volunteer in Frontend Development",
230+
"link": {
231+
"url": "https://twitter.com/",
232+
"target": "_blank",
233+
"rel": "noopener noreferrer"
234+
}
235+
236+
},
237+
{
238+
"image": "",
239+
"name": "Priyansh Mishra",
240+
"position": "Volunteer in Machine Learning",
241+
"link": {
242+
"url": "https://twitter.com/",
243+
"target": "_blank",
244+
"rel": "noopener noreferrer"
245+
}
246+
247+
},
248+
{
249+
"image": "",
250+
"name": "Abhay Pratap Maurya",
251+
"position": "Volunteer in Machine Learning",
252+
"link": {
253+
"url": "https://twitter.com/abhay_pratap_23",
254+
"target": "_blank",
255+
"rel": "noopener noreferrer"
256+
}
168257
}
169258
]
170259
}

0 commit comments

Comments
 (0)