portfolio/components/Projects.js

23 lines
692 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 (
<section>
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}>
<h3>{project.name}<ExternalLink/></h3>
2021-11-16 21:32:21 +00:00
<p>{project.description}</p>
</a>
))}
</div>
</section>
2021-11-16 21:32:21 +00:00
)
};