-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import React from "react"; | ||
import { GrNodes } from "react-icons/gr"; | ||
import { BetweenVerticalEnd } from "lucide-react"; | ||
import Link from "next/link"; | ||
|
||
const StakingIntroCards = () => { | ||
const cards = [ | ||
{ | ||
icon: <BetweenVerticalEnd className="text-blue-500" size={24} />, | ||
title: "Validator Staking", | ||
description: | ||
"Learn about Tangle's Nominated Proof of Stake (NPoS) system for validator selection and rewards.", | ||
link: "../restake/staking-intro", | ||
}, | ||
{ | ||
icon: <BetweenVerticalEnd className="text-blue-500" size={24} />, | ||
title: "Liquid Staking", | ||
description: | ||
"Explore Tangle's liquid staking protocols for validator-specific staking operations and liquid staked tokens (LSTs).", | ||
link: "../restake/lst-concepts", | ||
}, | ||
{ | ||
icon: <GrNodes className="text-blue-500" size={24} />, | ||
title: "Restaking", | ||
description: | ||
"Discover Tangle's permissionless and asset-configurable restaking system for Blueprints and shared security.", | ||
link: "../restake/restake-introduction", | ||
}, | ||
]; | ||
|
||
return ( | ||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8 my-12"> | ||
{cards.map((card, index) => ( | ||
<Link href={card.link} key={index} className="block"> | ||
<div className="border border-black p-4 h-full flex flex-col transition-colors duration-300 hover:bg-purple-100"> | ||
<div className="flex-shrink-0 mb-2">{card.icon}</div> | ||
<h3 className="text-xl font-bold mb-4">{card.title}</h3> | ||
<p className="text-sm flex-grow">{card.description}</p> | ||
</div> | ||
</Link> | ||
))} | ||
</div> | ||
); | ||
}; | ||
|
||
export default StakingIntroCards; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.