-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeature-grid.tsx
47 lines (45 loc) · 1.56 KB
/
feature-grid.tsx
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
35
36
37
38
39
40
41
42
43
44
45
46
47
import type React from "react";
import { Zap, Shield, DollarSign } from "lucide-react";
export function FeatureGrid() {
return (
<div className="container mx-auto px-4 py-24">
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
<FeatureCard
icon={<Zap className="w-6 h-6" />}
title="High-Performance Staking"
description="Build and manage efficient staking solutions for maximum returns."
/>
<FeatureCard
icon={<Shield className="w-6 h-6" />}
title="Secure Restaking"
description="Leverage restaking protocols while ensuring top-notch security."
/>
<FeatureCard
icon={<DollarSign className="w-6 h-6" />}
title="MEV Optimization"
description="Maximize MEV earnings with our advanced strategies and tools."
/>
<FeatureCard
icon={<Shield className="w-6 h-6" />}
title="Relay+ Protect"
description="Advanced MEV protection and transaction privacy for Ethereum."
/>
</div>
</div>
);
}
function FeatureCard({
icon,
title,
description,
}: { icon: React.ReactNode; title: string; description: string }) {
return (
<div className="p-8 rounded-lg bg-white/5 border border-white/10">
<div className="w-12 h-12 rounded-lg bg-[#31C4B9]/10 flex items-center justify-center text-[#31C4B9] mb-4">
{icon}
</div>
<h3 className="text-lg font-semibold mb-2">{title}</h3>
<p className="text-gray-400 text-sm">{description}</p>
</div>
);
}