diff --git a/README.md b/README.md index e70c85b..746284c 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,3 @@ To do: - Get proper artwork into database. - Modify about page with proper info, info dependendant on what is requested. - -OTHER NOTES: - -This project uses an email react form that is on the contact form, created by "Chaoo Charles" -https://github.com/chaoocharles/react-email.js -https://www.youtube.com/watch?v=bMq2riFCF90 diff --git a/package-lock.json b/package-lock.json index 70956cc..dc90ab0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,6 @@ "name": "hello", "version": "0.1.0", "dependencies": { - "@emailjs/browser": "^3.12.1", "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", @@ -2357,14 +2356,6 @@ "postcss-selector-parser": "^6.0.10" } }, - "node_modules/@emailjs/browser": { - "version": "3.12.1", - "resolved": "https://registry.npmjs.org/@emailjs/browser/-/browser-3.12.1.tgz", - "integrity": "sha512-C5nK07CgSCFx3onsuRt/ZaaMvIi0T3SHHanM7fKozjSvbZu+OjHHP9W608fYpic0OavF7yIlfy4+lRDO33JdbA==", - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/@emotion/is-prop-valid": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.1.tgz", diff --git a/package.json b/package.json index 68d9002..5805750 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,6 @@ "version": "0.1.0", "private": true, "dependencies": { - "@emailjs/browser": "^3.12.1", "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", diff --git a/src/components/EmailContactForm.jsx b/src/components/EmailContactForm.jsx deleted file mode 100644 index 2af32a6..0000000 --- a/src/components/EmailContactForm.jsx +++ /dev/null @@ -1,102 +0,0 @@ - - -import React, { useRef } from "react"; -import emailjs from "@emailjs/browser"; -import styled from "styled-components"; - -const ContactForm = () => { - const form = useRef(); - - - - const sendEmail = (e) => { - e.preventDefault(); - - emailjs - .sendForm( - "replace with service id", - "replace with template id", - form.current, - "replace with user id" - ) - .then( - (result) => { - console.log(result.text); - console.log("message sent"); - }, - (error) => { - console.log(error.text); - } - ); - }; - - return ( - -
- - - - - -