Skip to content

Commit

Permalink
Delete Learn more button from active grants (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pabl0cks authored Sep 12, 2024
1 parent 2bd5d44 commit 792911b
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions packages/nextjs/app/active-grants/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { formatDateFromNow } from "~~/utils/grants";

export const dynamic = "force-dynamic";

const ActiveGrantCard = ({ title, description, askAmount, builder, link, approvedAt }: GrantData) => {
const ActiveGrantCard = ({ title, description, askAmount, builder, approvedAt }: GrantData) => {
return (
<div className="w-72 md:w-[290px] bg-primary min-h-full rounded-2xl overflow-hidden shadow-lg">
<div className="flex justify-between items-center bg-white py-3 px-4 text-sm">
Expand All @@ -27,16 +27,6 @@ const ActiveGrantCard = ({ title, description, askAmount, builder, link, approve
<div className="text-left flex-1">
<p className="m-0 line-clamp-3 text-sm">{description}</p>
</div>
<div className="text-left mt-auto">
<a
href={link}
className="badge bg-primary rounded-2xl py-4 px-5 hover:opacity-80 mt-2"
rel="noopener noreferrer"
target="_blank"
>
Learn more
</a>
</div>
</div>
</div>
);
Expand Down

0 comments on commit 792911b

Please sign in to comment.