diff --git a/src/App.js b/src/App.js
index 497953e..9a09d23 100644
--- a/src/App.js
+++ b/src/App.js
@@ -20,104 +20,40 @@ function Portfolio() {
return (
+
+
+
-
+
-
+
+
-
-
-
- Contact Me!
-
-
-
{/*
Contact Me!
*/}
+
);
}
-function Books() {
- return (
-
-
Books Page
- {/* Add your books content here */}
-
- );
-}
-
-function Home() {
- return (
-
-
-
-
Welcome to Aman Tahiliani's Space
-
Software Developer | Tech Enthusiast
-
-
-
-
-
-
-
- );
-}
-
-function AnimatedRoutes() {
- const location = useLocation();
- return (
-
-
-
- } />
- } />
- } />
- {/* } /> */}
-
-
-
- );
-}
-
-function App() {
- return (
-
-
-
- );
-}
-
export default App;
diff --git a/src/components/Header.js b/src/components/Header.js
index fb7d8b4..af951cc 100644
--- a/src/components/Header.js
+++ b/src/components/Header.js
@@ -19,7 +19,7 @@ class Header extends Component {
About
- Publications
+ Experience
@@ -28,17 +28,18 @@ class Header extends Component {
-
- Experience
-
+
Devtools
+
+ Publications
+
- Contact Me!
+ Social Links
diff --git a/src/components/contact.js b/src/components/contact.js
index 9b79399..fcc6fac 100644
--- a/src/components/contact.js
+++ b/src/components/contact.js
@@ -1,70 +1,52 @@
-import React, { Component, useState } from "react";
+import React from "react";
import "bootstrap/dist/css/bootstrap.css";
-// import { Row, Col, TabContainer } from "react-bootstrap";
+import { FaGithub, FaLinkedin, FaInstagram, FaEnvelope } from "react-icons/fa";
import "../css/contact.css";
function Contact() {
- const [name, setName] = useState("");
- const [organization, setOrganization] = useState("");
- const [message, setMessage] = useState("");
- const [popup, setPopup] = useState("");
-
- let handleSubmit = async (e) => {
- e.preventDefault();
- try {
- let res = await fetch("http://localhost:8000/sendMail", {
- method: "POST",
- body: JSON.stringify({
- name: name,
- organization: organization,
- message: message,
- }),
- });
- // let resJson = await res.json();
- console.log(res.status);
- if (res.status === 200) {
- setName("");
- setOrganization("");
- setMessage("");
- setPopup("Message sent successfully");
- } else {
- setPopup("Some error occured");
- }
- } catch (err) {
- console.log(err);
- }
- };
return (
-