-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservices.tsx
123 lines (119 loc) · 4.06 KB
/
services.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
import { Card, CardContent } from "@/components/ui/card";
import { Database, MessageSquare, Eye, Server, Code } from "lucide-react";
import Link from "next/link";
const services = [
{
icon: <Server className="w-16 h-16" />,
title: "NEAR RPC",
description:
"Enterprise-grade infrastructure with superior performance and reliability.",
features: [
"Faster query responses and transaction submissions",
"Increased reliability and fewer downtimes",
"Enhanced security features",
"Customizable configurations",
],
link: "#pricing",
action: "Get started →",
},
{
icon: <Database className="w-16 h-16" />,
title: "NEARDATA",
description:
"Free indexed blockchain data access for seamless development.",
features: [
"Free access to mainnet and testnet data",
"No authentication required",
"Efficient caching system",
],
link: "https://github.com/fastnear/neardata-server/",
},
{
icon: <Code className="w-16 h-16" />,
title: "Ultra-Fast API",
description: "Low-latency API optimized for wallets and explorers.",
features: [
"Account ID mapping",
"Delegated staking pool information",
"Token data retrieval",
"Top holder analytics",
],
link: "https://github.com/fastnear/fastnear-api-server-rs",
},
{
icon: <MessageSquare className="w-16 h-16" />,
title: "Custom Indexer Solutions",
description: "Tailored database solutions for specific project needs.",
features: [
"Dedicated data collection",
"Customized reports and analytics",
"Expert support team",
"Scalable architecture",
],
link: "https://t.me/fast_near",
},
{
icon: <Eye className="w-16 h-16" />,
title: "Explorer API",
description: "Comprehensive blockchain explorer infrastructure.",
features: [
"Transaction details",
"Account information",
"Block data access",
"Receipt tracking",
],
link: "https://github.com/fastnear/explorer-api",
},
];
export function Services() {
return (
<section className="py-24 bg-background relative">
<div
className="absolute top-0 left-0 right-0 h-24 bg-background"
style={{ clipPath: "polygon(0 100%, 100% 0, 100% 100%)" }}
/>
<div className="container mx-auto px-4 md:px-6">
<div className="text-center mb-16">
<h2 className="text-4xl font-bold mb-4">Our Services</h2>
<p className="text-xl text-muted-foreground">
Explore our range of offerings designed to accelerate your
development.
</p>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
{services.map((service, index) => (
<Card
key={index}
className="group relative overflow-hidden border-t-4 border-transparent hover:border-primary transition-all duration-300"
>
<CardContent className="p-6 flex flex-col h-full min-h-[400px]">
<div className="text-primary mb-6">{service.icon}</div>
<h3 className="text-2xl font-bold mb-4">{service.title}</h3>
<p className="text-muted-foreground mb-6">
{service.description}
</p>
<ul className="space-y-2 mb-8">
{service.features.map((feature, idx) => (
<li
key={idx}
className="flex items-center text-sm text-muted-foreground"
>
<span className="mr-2 text-primary">•</span>
{feature}
</li>
))}
</ul>
<Link
href={service.link}
className="mt-auto text-primary hover:text-primary/80 font-medium inline-flex items-center"
>
{service.action || "Learn more →"}
</Link>
</CardContent>
</Card>
))}
</div>
</div>
</section>
);
}