-
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
6ce723f
commit ca25fc6
Showing
16 changed files
with
234 additions
and
71 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,4 @@ | ||
const emailjsServiceId = String(import.meta.VITE_EMAILJS_SERVICE_ID) | ||
const emailjsTemplateId = String(import.meta.VITE_EMAILJS_TEMPLATE_ID) | ||
|
||
export default {emailjsServiceId,emailjsTemplateId} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,46 @@ | ||
import React from 'react' | ||
import React from "react"; | ||
import { Link, useNavigate } from "react-router-dom"; | ||
|
||
const ProjectCard = () => { | ||
const ProjectCard = ({ | ||
codelink = "#", | ||
demolink = "#", | ||
desc = "", | ||
title = "Project title", | ||
bgimg = "/webicon.svg", | ||
className = "", | ||
}) => { | ||
const navigate = useNavigate(); | ||
return ( | ||
<div> | ||
|
||
<div | ||
onClick={() => { | ||
navigate(codelink); | ||
}} | ||
title={desc} | ||
className={`left-most px-6 py-4 w-[95%] md:w-[50%] md:min-w-[50%] h-[320px] flex-col items-center border border-black/30 rounded-lg justify-center overflow-hidden relative cursor-pointer ${className}`} | ||
> | ||
<img | ||
src={bgimg} | ||
className="absolute top-0 left-0 -z-10 h-full w-full object-cover rounded-lg opacity-70" | ||
/> | ||
<h2 className="skillheader capitalize mb-4 w-full text-center text-xl font-bold mix-blend-difference px-4 py-1 rounded-t-lg bg-black/30"> | ||
{title} | ||
</h2> | ||
<span className="linkes w-full absolute bottom-0 left-0 flex items-center justify-between px-4 py-2 bg-black/30"> | ||
<Link | ||
to={codelink} | ||
className="text-gray-200 font-semibold text-sm hover:text-gray-100 duration-200 outline-none " | ||
> | ||
Code | ||
</Link> | ||
<Link | ||
to={demolink} | ||
className="text-gray-200 font-semibold text-sm hover:text-gray-100 duration-200 outline-none" | ||
> | ||
Demo | ||
</Link> | ||
</span> | ||
</div> | ||
) | ||
} | ||
); | ||
}; | ||
|
||
export default ProjectCard | ||
export default ProjectCard; |
Oops, something went wrong.