diff --git a/public/assets/projects/567_bakery.png b/public/assets/projects/567_bakery.png index eee4abd..41b6e35 100644 Binary files a/public/assets/projects/567_bakery.png and b/public/assets/projects/567_bakery.png differ diff --git a/public/assets/projects/567_bakery_2.png b/public/assets/projects/567_bakery_2.png deleted file mode 100644 index 41b6e35..0000000 Binary files a/public/assets/projects/567_bakery_2.png and /dev/null differ diff --git a/public/assets/projects/macaroons_demo.png b/public/assets/projects/macaroons_demo.png new file mode 100644 index 0000000..5b0096d Binary files /dev/null and b/public/assets/projects/macaroons_demo.png differ diff --git a/public/assets/projects/opensearch.png b/public/assets/projects/opensearch.png new file mode 100644 index 0000000..dc7486e Binary files /dev/null and b/public/assets/projects/opensearch.png differ diff --git a/src/components/Contact.jsx b/src/components/Contact.jsx index 2394ed1..586d2ff 100644 --- a/src/components/Contact.jsx +++ b/src/components/Contact.jsx @@ -1,12 +1,11 @@ -import React, { useContext } from 'react'; -import ToastContext from '../contexts/ToastContext'; +import React, { useContext } from "react"; +import ToastContext from "../contexts/ToastContext"; -import SectionTitle from './SectionTitle'; -import axios from 'axios'; +import SectionTitle from "./SectionTitle"; +import axios from "axios"; function Contact() { const { showToast } = useContext(ToastContext); - async function handleSubmit(e) { e.preventDefault(); // Prevent the default form submission behavior @@ -18,19 +17,19 @@ function Contact() { try { const response = await axios.post(form.action, formData, { headers: { - Accept: 'application/json', + Accept: "application/json", }, }); if (response.status === 200) { - showToast('Message sent successfully!', 'success'); + showToast("Message sent successfully!", "success"); // Reset the form if needed form.reset(); } else { - showToast('Error submitting Message. Please try again.', 'error'); + showToast("Error submitting Message. Please try again.", "error"); } } catch (error) { - showToast('Error submitting Message. Please try again.','error'); + showToast("Error submitting Message. Please try again.", "error"); } } @@ -40,7 +39,7 @@ function Contact() { Contact Me

If you want to contanct me 📮, you can use the form below or send me - an email 📧 to{' '} + an email 📧 to{" "}