Skip to content

Commit

Permalink
add twitter link
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Feb 21, 2024
1 parent 191689e commit b42a772
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions packages/nextjs/app/_components/EcosystemGrants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ const EcosystemGrantsCard = ({
description,
imageLink,
amountGranted,
twitterLink,
}: {
title: string;
description: string;
imageLink: string;
amountGranted: string;
twitterLink: string;
}) => {
return (
<div className="bg-base-100 rounded-2xl min-h-[380px] max-w-[370px] flex flex-col">
Expand All @@ -22,9 +24,14 @@ const EcosystemGrantsCard = ({
{description ||
"Lorem ipsum dolor sit amet, qui minim labore adipisicing minim sint cillum sint consectetur cupidatat.Lorem ipsum dolor sit amet, qui minim labore adipisicing."}
</p>
<div className="bg-primary rounded-lg py-1 px-2 text-xs font-bold">
Amount:
<span className="text-sm"> {amountGranted}</span>
<div className="flex justify-between items-baseline w-full">
<div className="bg-primary rounded-lg py-1 px-2 text-xs font-bold">
Amount:
<span className="text-sm"> {amountGranted}</span>
</div>
<a href={twitterLink} target="_blank" className="text-sm underline underline-offset-1">
Twitter
</a>
</div>
</div>
</div>
Expand All @@ -47,20 +54,23 @@ export const EcosystemGrants = () => {
description=""
imageLink="/assets/jessy-hacker-house.png"
amountGranted="1 ETH"
twitterLink="https://twitter.com/wehack247"
/>
{/* Solidty By Example */}
<EcosystemGrantsCard
title="Solidity By Example"
description=""
imageLink="/assets/solidity-by-example.png"
amountGranted="1 ETH"
twitterLink="https://twitter.com/ProgrammerSmart"
/>
{/* Winter */}
<EcosystemGrantsCard
title="W1nt3r"
description="Lorem ipsum dolor sit amet, officia excepteur ex fugiat reprehenderit enim labore culpa sint ad nisi Lorem pariatur mollit ex esse exercitation amet."
imageLink="/assets/winter.png"
amountGranted="1 ETH"
twitterLink="https://x.com/w1nt3r_eth"
/>
</div>
</div>
Expand Down

0 comments on commit b42a772

Please sign in to comment.