diff --git a/packages/nextjs/app/_components/CompletedGrants.tsx b/packages/nextjs/app/_components/CompletedGrants.tsx index db3f513..0c39cdc 100644 --- a/packages/nextjs/app/_components/CompletedGrants.tsx +++ b/packages/nextjs/app/_components/CompletedGrants.tsx @@ -1,17 +1,28 @@ import Image from "next/image"; +import { Address } from "~~/components/scaffold-eth"; import { getAllCompletedGrants } from "~~/services/database/grants"; import { GrantData } from "~~/services/database/schema"; -const CompletedGrantCard = ({ title, description, askAmount }: GrantData) => { +const CompletedGrantCard = ({ title, description, askAmount, builder, link }: GrantData) => { return ( -
-
-
Learn more
+
+
+ + Learn more +

{title}

-
-

{description}

-

Amounted Granted: {askAmount} ETH

+
+
+

+ {askAmount} ETH +

+

{description}

); @@ -20,19 +31,13 @@ export const CompletedGrants = async () => { const completedGrants = await getAllCompletedGrants(); return ( -
-
-
+
+
+

Completed grants

- sparkle + sparkle
-
+
{completedGrants.map(grant => ( ))}