Skip to content

Commit

Permalink
work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKuldeep01 committed Jul 29, 2024
1 parent 5c331cb commit 8595f8f
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 31 deletions.
23 changes: 23 additions & 0 deletions src/Components/Contact.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React from 'react'
import {ContactCard} from "./index"
const Contact = () => {
return (
<div className="content w-full min-h-screen pt-24 px-10 flex md:flex-row items-center justify-center flex-col gap-4">
<div className="leftbox w-full h-full md:w-[30%] md:h-screen flex-col items-center justify-center gap-0">
<h1 className='text-slate-900/90 text-3xl font-bold text-center py-2 px-4 my-4'> Talk to me </h1>
<div className="talkcards w-full h-auto flex-wrap flex justify-center px-4 py-2 ">

<ContactCard link={"mailto:kkharoliya20@gmail.com"} linkicon={"i"} linktype={"Email"} linkid={"kkharoliya20@gmail.com"} />
<ContactCard link={"https://wa.me/919728541543"} linktype={"Whatsapp"} linkid={"+ 91-9728541543"} />
<ContactCard link={"https://linkedin.com/in/kuldeep-kumar-a4b71a258"} linktype={"LinkedIn"} linkid={"kuldeep-kumar-a4b71a258"} />
</div>
</div>
<div className="rightbox bg-blue-300 md:w-[70%] w-full md:h-auto h-screen">
<h1 className='text-slate-900/90 text-3xl font-bold text-center py-2 px-4 my-4'> Contact me </h1>
<div className="contenttocontact w-full flex-col "></div>
</div>
</div>
)
}

export default Contact
23 changes: 23 additions & 0 deletions src/Components/ContactCard.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React from "react";
import { Link } from "react-router-dom";
const ContactCard = ({linkicon,link,linktype,linkid}) => {
return link && linkid && (
<Link to={link} className= "border border-gray-900 flex flex-col rounded-lg px-2 py-4 m-2 text-center justify-between w-auto md:w-[180px] md:max-h-[145px] ">
{linkicon ?
<span className="block icons text-lg font-bold p-2 text-black/90">{linkicon}</span> : ""
}
{linktype ?
<span className="block linktype text-base font-semibold text-slate-800/80">
{linktype}
</span>: ""
}

<span className="block linkid text-sm font-semibold text-slate-800/50">
{linkid}
</span>
<p className="pointer text-xs font-semibold text-slate-800/50">write me 👉</p>
</Link>
);
};

export default ContactCard;
11 changes: 0 additions & 11 deletions src/Components/Contect.jsx

This file was deleted.

11 changes: 0 additions & 11 deletions src/Components/ContectCard.jsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/Components/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Home = () => {
<div className="rightside w-full my-8 sm:w-1/2 sm:my-4 h-full flex items-center justify-center">
<div className="image w-[250px] h-[250px] bg-black/20 rounded-[40%] rotate-[35deg] p-4 border-8 border-black shadow-2xl shadow-slate-950 ">
<img
src="/vite.svg"
src="/webicon.svg"
alt="kuldeep image"
className="w-full h-full object-cover -rotate-[35deg] p-2"
/>
Expand Down
Empty file removed src/Components/SkillCard.jsx
Empty file.
8 changes: 4 additions & 4 deletions src/Components/index.js
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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";

Expand All @@ -20,10 +20,10 @@ export {
ClientCard,
BigButton,
Input,
ContectCard,
ContactCard,
ProjectCard,
About,
Contect,
Contact,
Header,
Projects,
Logo,
Expand Down
6 changes: 3 additions & 3 deletions src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { createBrowserRouter, RouterProvider } from "react-router-dom";
import {
Home,
About,
Contect,
Contact,
Projects,
Skills,
Education,
Expand All @@ -25,8 +25,8 @@ const router = createBrowserRouter([
element: <About />,
},
{
path: "/contect",
element: <Contect />,
path: "/contact",
element: <Contact />,
},
{
path: "/projects",
Expand Down

0 comments on commit 8595f8f

Please sign in to comment.