portfolio/components/Projects.js

23 lines
678 B
JavaScript
Raw Normal View History

import styles from '../styles/Home.module.scss';
2021-11-16 21:32:21 +00:00
import ExternalLink from './ExternalLink';
export default function Projects({projectData}) {
return (
<>
2021-11-17 21:50:19 +00:00
<h2 className={styles.description}>
2021-11-16 21:32:21 +00:00
Projects
2021-11-17 21:50:19 +00:00
</h2>
2021-11-16 21:32:21 +00:00
<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>
</>
)
};