diff --git a/src/components/HomePage/ResourcesSection.tsx b/src/components/HomePage/ResourcesSection.tsx index 0a40a0d3c..a43e9e069 100644 --- a/src/components/HomePage/ResourcesSection.tsx +++ b/src/components/HomePage/ResourcesSection.tsx @@ -67,21 +67,21 @@ function Resource({ duration, }: Resource) { return ( - +
-
+
{title}
-

{title}

-

{description}

+

{title}

+

{description}

-
-
+
+
{`${duration} ${type === "video" ? "watch" : "read"}`}
@@ -123,74 +123,71 @@ export default function ResourcesSection() { }; return ( -
-
+
+
{/* Section header */} -
+
- RESOURCES -

Want to know more?

+ RESOURCES +

Want to know more?

{/* Link to view all blogs */} - - All Blogs + + All Blogs
{/* Filter buttons for resource types */} -
+
{/* Displaying the current set of resources */} -
-
+
+
{currentResources.map((resource, idx) => { return ; })}
{/* Pagination controls */} -
- -
diff --git a/src/components/HomePage/style.css b/src/components/HomePage/style.css index 15aeb0013..c5588ba4c 100644 --- a/src/components/HomePage/style.css +++ b/src/components/HomePage/style.css @@ -50,7 +50,7 @@ gap: 10px; margin: 1.5rem 0; border-radius: 0.5rem; - padding: 0.5rem; + padding: 0 0 30px 10px; font-family: "Jakarta", sans-serif; font-size: 0.875rem; font-weight: 600; @@ -59,8 +59,6 @@ white-space: nowrap; -ms-overflow-style: none; scrollbar-width: none; - background-color: #07574e73; - border: 1px solid #666; } .bg-secondary-700 { @@ -76,8 +74,9 @@ border: none; cursor: pointer; transition: background-color 0.2s, color 0.2s; - border-radius: 0.5rem; + border-radius: 25px; font-size: 0.875rem; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1.5px 4px rgba(0, 0, 0, 0.06); } .resources-section @@ -174,8 +173,8 @@ .resources-content .resources-grid .resource-description { - line-height: 1.375; - padding: 0 0.5rem; + line-height: 1.375; + padding: 0 0.5rem; } .resources-section