mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-14 12:15:42 +00:00
23 lines
675 B
JavaScript
23 lines
675 B
JavaScript
|
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>
|
||
|
</>
|
||
|
)
|
||
|
};
|