-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProjectCard.jsx
49 lines (43 loc) · 1.43 KB
/
ProjectCard.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import Image from 'next/image'
import Link from 'next/link'
import { FaGithub, FaLinkedin, FaLinkedinIn, FaSass, FaTwitter } from "react-icons/fa";
const ProjectCard = (props) => {
let stack = props.stack;
return (
<div className='flex flex-col gap-2 shadow-md '>
<div className="flex-col">
<Image
src={props.image}
width={500}
height={500}
/>
<div className="flex flex-col items-start p-3">
<Link href={props.link}>
<h3 className='desc'>{props.name}</h3>
<p className='mt-3'>{props.description}</p>
</Link>
</div>
</div>
<div className="flex flex-col px-3 gap-4 items-end pb-5">
<ul className='flex font-extralight text-sm gap-3 flex-wrap '>
{props.stack.map((st, index) => (
<li className='text-[12px] text-blue-950 rounded-lg ' key={index}>{st}</li>
))}
</ul>
<ul className='flex px-3 gap-6 text-sm'>
<li>
<Link href={props.github}>
<FaGithub size={25}/>
</Link>
</li>
<li>
<Link href={props.link}>
<FaSass size={25}/>
</Link>
</li>
</ul>
</div>
</div>
)
}
export default ProjectCard