-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c331cb
commit 8595f8f
Showing
9 changed files
with
55 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters