|
1 | 1 | import InlineLink from "./ui/Link"
|
| 2 | +import { |
| 3 | + Table, |
| 4 | + TableBody, |
| 5 | + TableCell, |
| 6 | + TableHead, |
| 7 | + TableHeader, |
| 8 | + TableRow, |
| 9 | +} from "./ui/table" |
2 | 10 | import ExpandableCard from "./ExpandableCard"
|
3 | 11 |
|
4 | 12 | import DevelopingImage from "@/public/images/network-maturity/developing.svg"
|
@@ -31,71 +39,67 @@ const NetworkMaturity = () => {
|
31 | 39 | </p>
|
32 | 40 | </div>
|
33 | 41 |
|
34 |
| - <table className="mt-4 w-full max-w-[760px] border-collapse"> |
35 |
| - <thead> |
36 |
| - <tr className="border-b border-black"> |
37 |
| - <th className="w-1/2 bg-[#F7F7F7] p-3 text-left font-semibold"> |
38 |
| - Maturity |
39 |
| - </th> |
40 |
| - <th className="w-1/2 border-l border-white bg-[#F7F7F7] p-3 text-left font-semibold"> |
41 |
| - Requirements |
42 |
| - </th> |
43 |
| - </tr> |
44 |
| - </thead> |
45 |
| - <tbody> |
46 |
| - <tr className="h-[60px]"> |
47 |
| - <td className="border-none bg-[#3C4CEB] p-3 align-middle text-white"> |
| 42 | + <Table className="mt-4 w-full max-w-[760px]"> |
| 43 | + <TableHeader> |
| 44 | + <TableRow> |
| 45 | + <TableHead className="w-1/2">Maturity</TableHead> |
| 46 | + <TableHead className="w-1/2">Requirements</TableHead> |
| 47 | + </TableRow> |
| 48 | + </TableHeader> |
| 49 | + <TableBody> |
| 50 | + <TableRow> |
| 51 | + <TableCell className="border-none bg-[#3C4CEB] align-middle text-white"> |
48 | 52 | <div className="flex items-center gap-2">
|
49 | 53 | <RobustImage />
|
50 | 54 | <strong>Robust</strong>
|
51 | 55 | </div>
|
52 |
| - </td> |
53 |
| - <td className="border-none p-3"> |
| 56 | + </TableCell> |
| 57 | + <TableCell> |
54 | 58 | • Stage 2<br />• At least $1B TVL
|
55 |
| - </td> |
56 |
| - </tr> |
| 59 | + </TableCell> |
| 60 | + </TableRow> |
57 | 61 |
|
58 |
| - <tr className="h-[60px]"> |
59 |
| - <td className="border-none bg-[#6995F7] p-3 align-middle text-white"> |
| 62 | + <TableRow> |
| 63 | + <TableCell className="bg-[#6995F7] align-middle text-white"> |
60 | 64 | <div className="flex items-center gap-2">
|
61 | 65 | <MaturingImage />
|
62 | 66 | <strong>Maturing</strong>
|
63 | 67 | </div>
|
64 |
| - </td> |
65 |
| - <td className="border-none p-3"> |
| 68 | + </TableCell> |
| 69 | + <TableCell> |
66 | 70 | • Stage 1<br />• At least $150M TVL
|
67 | 71 | <br />• 6+ months live in production
|
68 |
| - </td> |
69 |
| - </tr> |
| 72 | + </TableCell> |
| 73 | + </TableRow> |
70 | 74 |
|
71 |
| - <tr className="h-[60px]"> |
72 |
| - <td className="border-none bg-[#CADFFB] p-3 align-middle"> |
| 75 | + <TableRow> |
| 76 | + <TableCell className="bg-[#CADFFB] align-middle text-black"> |
73 | 77 | <div className="flex items-center gap-2">
|
74 | 78 | <DevelopingImage />
|
75 | 79 | <strong>Developing</strong>
|
76 | 80 | </div>
|
77 |
| - </td> |
78 |
| - <td className="border-none p-3"> |
| 81 | + </TableCell> |
| 82 | + <TableCell> |
79 | 83 | • Stage 0<br />• Risk assessment: 3/5 (L2beat)
|
80 | 84 | <br />• At least $150M TVL
|
81 | 85 | <br />• 6+ months live in production
|
82 |
| - </td> |
83 |
| - </tr> |
| 86 | + </TableCell> |
| 87 | + </TableRow> |
84 | 88 |
|
85 |
| - <tr className="h-[60px]"> |
86 |
| - <td className="border-none bg-[#E8F1FF] p-3 align-middle"> |
| 89 | + <TableRow> |
| 90 | + <TableCell className="bg-[#E8F1FF] align-middle text-black"> |
87 | 91 | <div className="flex items-center gap-2">
|
88 | 92 | <EmergingImage />
|
89 | 93 | <strong>Emerging</strong>
|
90 | 94 | </div>
|
91 |
| - </td> |
92 |
| - <td className="border-none p-3"> |
| 95 | + </TableCell> |
| 96 | + <TableCell> |
93 | 97 | • Stage 0<br />• Risk assessment: 2/5 (L2beat)
|
94 | 98 | <br />• At least $150M TVL or 6+ months live in production
|
95 |
| - </td> |
96 |
| - </tr> |
97 |
| - </tbody> |
98 |
| - </table> |
| 99 | + </TableCell> |
| 100 | + </TableRow> |
| 101 | + </TableBody> |
| 102 | + </Table> |
99 | 103 | </div>
|
100 | 104 | </ExpandableCard>
|
101 | 105 | </div>
|
|
0 commit comments