From 4e99bfe1878620769d48532b182692e51c7266ef Mon Sep 17 00:00:00 2001
From: rohan09-raj <rajrohan1914@gmail.com>
Date: Sun, 14 Aug 2022 00:19:58 +0530
Subject: admin panel and api integration

---
 admin/src/components/Card/Card.jsx | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 admin/src/components/Card/Card.jsx

(limited to 'admin/src/components/Card/Card.jsx')

diff --git a/admin/src/components/Card/Card.jsx b/admin/src/components/Card/Card.jsx
new file mode 100644
index 0000000..9460955
--- /dev/null
+++ b/admin/src/components/Card/Card.jsx
@@ -0,0 +1,13 @@
+import React from 'react'
+import styles from './Card.module.css'
+
+const Card = ({ title, image, onClick }) => {
+  return (
+    <div onClick={ onClick } className={styles.card}>
+      <img className={styles.card__image} src={image} alt="" />
+      <h2 className={styles.card__title}>{title}</h2>
+    </div>
+  )
+}
+
+export default Card
-- 
cgit 

