forked from MergeFi/frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.tsx
More file actions
34 lines (31 loc) · 1.11 KB
/
Copy pathpage.tsx
File metadata and controls
34 lines (31 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { fetchBounties } from "@/lib/api";
import { mockBounties } from "@/lib/mock-data";
import { BountyCard } from "@/components/bounty/BountyCard";
export const metadata = {
title: "Paid Issues | MergeFi",
};
export default async function IssuesPage() {
const bounties = await fetchBounties(mockBounties);
return (
<div className="mx-auto max-w-6xl px-6 py-12">
<div className="mb-8">
<p className="text-sm font-medium uppercase tracking-widest text-indigo-600 dark:text-indigo-400">
Bounties
</p>
<h1 className="mt-2 text-3xl font-semibold text-slate-900 dark:text-white">
Paid issues
</h1>
<p className="mt-2 max-w-2xl text-slate-500 dark:text-slate-400">
Every bounty below is backed by funds already locked in a Soroban
escrow contract. Claim one, open a pull request, and get paid the
moment it's merged.
</p>
</div>
<div className="grid gap-4 md:grid-cols-2">
{bounties.map((bounty) => (
<BountyCard key={bounty.id} bounty={bounty} />
))}
</div>
</div>
);
}