Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Added the section clarifying the network maturity criteria #14954

Merged
merged 7 commits into from
Feb 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions public/images/network-maturity/developing.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions public/images/network-maturity/emerging.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions public/images/network-maturity/maturing.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions public/images/network-maturity/robust.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
109 changes: 109 additions & 0 deletions src/components/NetworkMaturity.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
import InlineLink from "./ui/Link"
import {
Table,
TableBody,
TableCell,
TableHead,
TableHeader,
TableRow,
} from "./ui/table"
import ExpandableCard from "./ExpandableCard"

import DevelopingImage from "@/public/images/network-maturity/developing.svg"
import EmergingImage from "@/public/images/network-maturity/emerging.svg"
import MaturingImage from "@/public/images/network-maturity/maturing.svg"
import RobustImage from "@/public/images/network-maturity/robust.svg"

const NetworkMaturity = () => {
return (
<div className="mx-9 mt-10">
<ExpandableCard title="Network maturity explained">
<div>
<div className="space-y-4">
<p>
We review the network’s progress towards{" "}
<InlineLink href="https://medium.com/l2beat/introducing-stages-a-framework-to-evaluate-rollups-maturity-d290bb22befe">
Ethereum alignment
</InlineLink>{" "}
(<strong>rollup stages 0-2</strong>),{" "}
Copy link
Contributor

@konopkja konopkja Feb 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add empty space between end of sentence and information in brackets?
Ethereum alignment(rollup stages 0-2) -> Ethereum alignment (rollup stages 0-2)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching that, I have made both changes and pushed a commit right away.

<strong>total value locked (TVL)</strong>,
<strong> time live in production</strong>, and{" "}
<strong>risk considerations</strong>. These levels help track
network development and provide a standardized way for the
community to evaluate progress.
</p>
<p>
Technical progress alone is not enough, user adoption and age are
essential part of the overall strength and maturity on any
network.
</p>
</div>

<Table className="mt-4 w-full max-w-[760px]">
<TableHeader>
<TableRow>
<TableHead className="w-1/2">Maturity</TableHead>
<TableHead className="w-1/2">Requirements</TableHead>
</TableRow>
</TableHeader>
<TableBody>
<TableRow>
<TableCell className="border-none bg-[#3C4CEB] align-middle text-white">
<div className="flex items-center gap-2">
<RobustImage />
<strong>Robust</strong>
</div>
</TableCell>
<TableCell>
• Stage 2<br />• At least $1B TVL
</TableCell>
</TableRow>

<TableRow>
<TableCell className="bg-[#6995F7] align-middle text-white">
<div className="flex items-center gap-2">
<MaturingImage />
<strong>Maturing</strong>
</div>
</TableCell>
<TableCell>
• Stage 1<br />• At least $150M TVL
<br />• 6+ months live in production
</TableCell>
</TableRow>

<TableRow>
<TableCell className="bg-[#CADFFB] align-middle text-black">
<div className="flex items-center gap-2">
<DevelopingImage />
<strong>Developing</strong>
</div>
</TableCell>
<TableCell>
• Stage 0<br />• Risk assessment: 3/5 (L2beat)
<br />• At least $150M TVL
<br />• 6+ months live in production
</TableCell>
</TableRow>

<TableRow>
<TableCell className="bg-[#E8F1FF] align-middle text-black">
<div className="flex items-center gap-2">
<EmergingImage />
<strong>Emerging</strong>
</div>
</TableCell>
<TableCell>
• Stage 0<br />• Risk assessment: 2/5 (L2beat)
<br />• At least $150M TVL or 6+ months live in production
</TableCell>
</TableRow>
</TableBody>
</Table>
</div>
</ExpandableCard>
</div>
)
}

export default NetworkMaturity
3 changes: 3 additions & 0 deletions src/pages/[locale]/layer-2/networks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Callout from "@/components/Callout"
import { ContentHero, ContentHeroProps } from "@/components/Hero"
import Layer2NetworksTable from "@/components/Layer2NetworksTable"
import MainArticle from "@/components/MainArticle"
import NetworkMaturity from "@/components/NetworkMaturity"
import PageMetadata from "@/components/PageMetadata"
import { ButtonLink } from "@/components/ui/buttons/Button"

Expand Down Expand Up @@ -194,6 +195,8 @@ const Layer2Networks = ({ layer2Data, locale, mainnetData }) => {
</div>
</div>

<NetworkMaturity />

<div
id="callout-cards"
className="flex w-full flex-col px-8 py-9 lg:flex-row lg:gap-16"
Expand Down