frontpage/components/Blog/Card.tsx

11 lines
389 B
TypeScript
Raw Normal View History

2022-09-30 19:23:14 +02:00
import type { NextPage } from "next";
import styles from "../../styles/Blog/Card.module.scss";
const ProjectCard: NextPage<{ title: string, description: string }> = ({ title, description}) => {
return <div className={styles.card}>
2022-10-01 14:04:21 +02:00
<h3 className={styles.title}>{title}</h3>
<p className={styles.description}>{description}</p>
2022-09-30 19:23:14 +02:00
</div>;
};
export default ProjectCard;