Skip to content

Commit a773674

Browse files
committed
feat(contact): complete EmailJS integration with actual credentials
- Add EmailJS service ID: service_vdkx6od - Add EmailJS template ID: template_8u7ryea - Add EmailJS public key: q2ic3TavT5Sv1CTEP - Remove placeholder comments and setup guide - Clean up component code for production - Contact form now fully functional with EmailJS
1 parent b7e509d commit a773674

2 files changed

Lines changed: 4 additions & 138 deletions

File tree

EMAILJS_SETUP.md

Lines changed: 0 additions & 134 deletions
This file was deleted.

src/components/Contact.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const Contact: React.FC = () => {
1414

1515
// Initialize EmailJS
1616
useEffect(() => {
17-
emailjs.init("YOUR_PUBLIC_KEY"); // You'll need to replace this with your actual EmailJS public key
17+
emailjs.init("q2ic3TavT5Sv1CTEP");
1818
}, []);
1919

2020
const handleSubmit = async (e: React.FormEvent) => {
@@ -34,10 +34,10 @@ const Contact: React.FC = () => {
3434

3535
// Send email using EmailJS
3636
const result = await emailjs.send(
37-
'YOUR_SERVICE_ID', // Replace with your EmailJS service ID
38-
'YOUR_TEMPLATE_ID', // Replace with your EmailJS template ID
37+
'service_vdkx6od',
38+
'template_8u7ryea',
3939
templateParams,
40-
'YOUR_PUBLIC_KEY' // Replace with your EmailJS public key
40+
'q2ic3TavT5Sv1CTEP'
4141
);
4242

4343
if (result.status === 200) {

0 commit comments

Comments
 (0)