diff --git a/packages/nextjs/app/_components/CompletedGrants.tsx b/packages/nextjs/app/_components/CompletedGrants.tsx index 751976b..56fced9 100644 --- a/packages/nextjs/app/_components/CompletedGrants.tsx +++ b/packages/nextjs/app/_components/CompletedGrants.tsx @@ -5,29 +5,34 @@ import { GrantData } from "~~/services/database/schema"; const CompletedGrantCard = ({ title, description, askAmount, builder, link, completedAt }: GrantData) => { return ( -
-
- - Learn more - - {completedAt && ( -

- {new Date(completedAt).toLocaleDateString()} -

- )} -

{title}

+
+
+
+ ETH Icon + {askAmount} ETH +
+ {completedAt ? new Date(completedAt).toLocaleDateString() : ""} +
+
+

{title}

-
-
-

- {askAmount} ETH -

-

{description}

+
+
+
+
+
+

{description}

+
+
); @@ -37,7 +42,7 @@ export const CompletedGrants = async ({ limit }: { limit?: number }) => { const completedGrants = await getAllCompletedGrants(limit); return ( -
+

Completed grants

diff --git a/packages/nextjs/public/assets/eth-completed-grant.png b/packages/nextjs/public/assets/eth-completed-grant.png new file mode 100644 index 0000000..1be90dd Binary files /dev/null and b/packages/nextjs/public/assets/eth-completed-grant.png differ diff --git a/packages/nextjs/tailwind.config.js b/packages/nextjs/tailwind.config.js index e62eb35..ebe53d0 100644 --- a/packages/nextjs/tailwind.config.js +++ b/packages/nextjs/tailwind.config.js @@ -71,6 +71,9 @@ module.exports = { }, theme: { extend: { + colors: { + customBlue: '#D5DAFF', + }, boxShadow: { center: "0 0 12px -2px rgb(0 0 0 / 0.05)", },