portfolio/components/Projects.js

23 lines
675 B
JavaScript
Raw Normal View History

2021-11-16 21:32:21 +00:00
import styles from '../styles/Home.module.css';
import ExternalLink from './ExternalLink';
export default function Projects({projectData}) {
return (
<>
<p className={styles.description}>
Projects
</p>
<div className={styles.grid}>
{projectData.map((project, idx) => (
<a href={project.href}
className={styles.card}
key={idx}>
<h2>{project.name}<ExternalLink/></h2>
<p>{project.description}</p>
</a>
))}
</div>
</>
)
};