Skip to content

Commit d60fdea

Browse files
committed
Feat: Added the section clarifying the network maturity criteria
1 parent 48e7c7d commit d60fdea

File tree

7 files changed

+205
-1
lines changed

7 files changed

+205
-1
lines changed
Lines changed: 12 additions & 0 deletions
Loading
Lines changed: 15 additions & 0 deletions
Loading
Lines changed: 20 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 28 additions & 0 deletions
Loading

src/components/NetworkMaturity.tsx

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
import { useState } from "react"
2+
3+
import DevelopingImage from "@/public/images/network-maturity/developing.svg"
4+
import EmergingImage from "@/public/images/network-maturity/emerging.svg"
5+
import MaturingImage from "@/public/images/network-maturity/maturing.svg"
6+
import Button from "@/public/images/network-maturity/network-maturity-icon.svg"
7+
import RobustImage from "@/public/images/network-maturity/robust.svg"
8+
9+
const NetworkMaturity = () => {
10+
const [isExpanded, setIsExpanded] = useState(false)
11+
12+
return (
13+
<div className="network-maturity-card mx-9 mt-10 rounded-lg border bg-white p-6">
14+
{/* Header with toggle button */}
15+
<div
16+
className="flex cursor-pointer items-center justify-between"
17+
onClick={() => setIsExpanded(!isExpanded)}
18+
>
19+
<h2 className="text-xl font-bold">Network maturity explained</h2>
20+
<button aria-label="Toggle section">
21+
<Button
22+
className={`transform transition-transform ${isExpanded ? "" : "rotate-180"}`}
23+
></Button>
24+
</button>
25+
</div>
26+
27+
{/* Collapsible Content */}
28+
{isExpanded && (
29+
<div className="mt-4 border-t py-6">
30+
<div className="space-y-4">
31+
{" "}
32+
<p>
33+
We review the network’s progress towards{" "}
34+
<a href="https://medium.com/l2beat/introducing-stages-a-framework-to-evaluate-rollups-maturity-d290bb22befe">
35+
Ethereum alignment
36+
</a>
37+
(<strong>rollup stages 0-2</strong>),{" "}
38+
<strong>total value locked (TVL)</strong>,
39+
<strong> time live in production</strong>, and{" "}
40+
<strong>risk considerations</strong>. These levels help track
41+
network development and provide a standardized way for the
42+
community to evaluate progress.
43+
</p>
44+
<p>
45+
Technical progress alone is not enough, user adoption and age are
46+
essential part of the overall strength and maturity on any
47+
network.
48+
</p>
49+
</div>
50+
51+
<table className="mt-4 w-full max-w-[760px] border-collapse">
52+
<thead>
53+
<tr className="border-b border-black">
54+
<th className="w-1/2 bg-[#F7F7F7] p-3 text-left font-semibold">
55+
Maturity
56+
</th>
57+
<th className="w-1/2 border-l border-white bg-[#F7F7F7] p-3 text-left font-semibold">
58+
Requirements
59+
</th>
60+
</tr>
61+
</thead>
62+
<tbody>
63+
<tr className="h-[60px]">
64+
<td className="border-none bg-[#3C4CEB] p-3 align-middle text-white">
65+
<div className="flex items-center gap-2">
66+
<RobustImage />
67+
<strong>Robust</strong>
68+
</div>
69+
</td>
70+
<td className="border-none p-3">
71+
• Stage 2<br />• At least $1B TVL
72+
</td>
73+
</tr>
74+
75+
<tr className="h-[60px]">
76+
<td className="border-none bg-[#6995F7] p-3 align-middle text-white">
77+
<div className="flex items-center gap-2">
78+
<MaturingImage />
79+
<strong>Maturing</strong>
80+
</div>
81+
</td>
82+
<td className="border-none p-3">
83+
• Stage 1<br />• At least $150M TVL
84+
<br />• 6+ months live in production
85+
</td>
86+
</tr>
87+
88+
<tr className="h-[60px]">
89+
<td className="border-none bg-[#CADFFB] p-3 align-middle">
90+
<div className="flex items-center gap-2">
91+
<DevelopingImage />
92+
<strong>Developing</strong>
93+
</div>
94+
</td>
95+
<td className="border-none p-3">
96+
• Stage 0<br />• Risk assessment: 3/5 (L2beat)
97+
<br />• At least $150M TVL
98+
<br />• 6+ months live in production
99+
</td>
100+
</tr>
101+
102+
<tr className="h-[60px]">
103+
<td className="border-none bg-[#E8F1FF] p-3 align-middle">
104+
<div className="flex items-center gap-2">
105+
<EmergingImage />
106+
<strong>Emerging</strong>
107+
</div>
108+
</td>
109+
<td className="border-none p-3">
110+
• Stage 0<br />• Risk assessment: 2/5 (L2beat)
111+
<br />• At least $150M TVL or 6+ months live in production
112+
</td>
113+
</tr>
114+
</tbody>
115+
</table>
116+
</div>
117+
)}
118+
</div>
119+
)
120+
}
121+
122+
export default NetworkMaturity

0 commit comments

Comments
 (0)