diff --git a/src/components/Layout/Layout.jsx b/src/components/Layout/Layout.jsx
index 5b817ee..8350afa 100644
--- a/src/components/Layout/Layout.jsx
+++ b/src/components/Layout/Layout.jsx
@@ -10,7 +10,7 @@ import { ThemeProvider } from '../../context/ThemeContext';
*/
const Layout = ({ stars, children }) => {
return (
-
+
{
+ return
+ {resource.image && (
+
+ )}
+
+
{resource.title}
+
{resource.description}
+
+ Learn More
+
+
+
;
+};
+
+export default ResourceCard;
diff --git a/src/components/Resources/ResourceSection.jsx b/src/components/Resources/ResourceSection.jsx
index 11df0e6..6d18c56 100644
--- a/src/components/Resources/ResourceSection.jsx
+++ b/src/components/Resources/ResourceSection.jsx
@@ -1,18 +1,11 @@
-import { Link } from "react-router-dom";
+import ResourceCard from "./ResourceCard";
const ResourceSection = ({ title, resources }) => (
-
- {title}
-
+
+ {title}
+
{resources.map((resource, index) => (
-
- {resource.image &&
}
-
{resource.title}
-
{resource.description}
-
- Learn More
-
-
+
))}