diff --git a/src/Components/Contact.jsx b/src/Components/Contact.jsx new file mode 100644 index 0000000..ed1221f --- /dev/null +++ b/src/Components/Contact.jsx @@ -0,0 +1,23 @@ +import React from 'react' +import {ContactCard} from "./index" +const Contact = () => { + return ( +
+
+

Talk to me

+
+ + + + +
+
+
+

Contact me

+
+
+
+ ) +} + +export default Contact diff --git a/src/Components/ContactCard.jsx b/src/Components/ContactCard.jsx new file mode 100644 index 0000000..8415d5e --- /dev/null +++ b/src/Components/ContactCard.jsx @@ -0,0 +1,23 @@ +import React from "react"; +import { Link } from "react-router-dom"; +const ContactCard = ({linkicon,link,linktype,linkid}) => { + return link && linkid && ( + + {linkicon ? + {linkicon} : "" + } + {linktype ? + + {linktype} + : "" + } + + + {linkid} + +

write me 👉

+ + ); +}; + +export default ContactCard; diff --git a/src/Components/Contect.jsx b/src/Components/Contect.jsx deleted file mode 100644 index 5c5cdc2..0000000 --- a/src/Components/Contect.jsx +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react' - -const Contect = () => { - return ( -
- -
- ) -} - -export default Contect diff --git a/src/Components/ContectCard.jsx b/src/Components/ContectCard.jsx deleted file mode 100644 index 113638f..0000000 --- a/src/Components/ContectCard.jsx +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react' - -const ContectCard = () => { - return ( -
- -
- ) -} - -export default ContectCard diff --git a/src/Components/Header/Header.jsx b/src/Components/Header/Header.jsx index c711da4..92bff84 100644 --- a/src/Components/Header/Header.jsx +++ b/src/Components/Header/Header.jsx @@ -8,7 +8,7 @@ const Header = () => { { url: "/skills", name: "Skills" }, { url: "/education", name: "Education" }, { url: "/projects", name: "Projects" }, - { url: "/contect", name: "Contect" }, + { url: "/contact", name: "Contact" }, ]; const [onHam, setOnHam] = useState(false); diff --git a/src/Components/Home.jsx b/src/Components/Home.jsx index fab74ee..a0ecb08 100644 --- a/src/Components/Home.jsx +++ b/src/Components/Home.jsx @@ -22,7 +22,7 @@ const Home = () => {
kuldeep image diff --git a/src/Components/SkillCard.jsx b/src/Components/SkillCard.jsx deleted file mode 100644 index e69de29..0000000 diff --git a/src/Components/index.js b/src/Components/index.js index ecfb1c2..ba3477c 100644 --- a/src/Components/index.js +++ b/src/Components/index.js @@ -1,6 +1,6 @@ import BigButton from "./BigButton.jsx"; import ClientCard from "./ClientCard.jsx"; -import ContectCard from "./ContectCard.jsx"; +import ContactCard from "./ContactCard.jsx"; import Education from "./Education.jsx"; import Home from "./Home.jsx"; import Input from "./InputCom.jsx"; @@ -9,7 +9,7 @@ import Header from "./Header/Header.jsx"; import Footer from "./Footer/Footer.jsx"; import ProjectCard from "./ProjectCard.jsx"; import About from "./About.jsx"; -import Contect from "./Contect.jsx"; +import Contact from "./Contact.jsx"; import Logo from "./Logo.jsx"; import Projects from "./Projects.jsx"; @@ -20,10 +20,10 @@ export { ClientCard, BigButton, Input, - ContectCard, + ContactCard, ProjectCard, About, - Contect, + Contact, Header, Projects, Logo, diff --git a/src/main.jsx b/src/main.jsx index ec3a8b1..f0ba703 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -6,7 +6,7 @@ import { createBrowserRouter, RouterProvider } from "react-router-dom"; import { Home, About, - Contect, + Contact, Projects, Skills, Education, @@ -25,8 +25,8 @@ const router = createBrowserRouter([ element: , }, { - path: "/contect", - element: , + path: "/contact", + element: , }, { path: "/projects",