Skip to content

Commit 6f23624

Browse files
committed
fix(apis): add page to present mesh apis at /apis
1 parent 93f9c63 commit 6f23624

File tree

2 files changed

+65
-2
lines changed

2 files changed

+65
-2
lines changed

apps/docs/app/(home)/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ import {
102102
</div>
103103
</div>
104104

105-
<div className="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
105+
<div className="grid md:grid-cols-2 lg:grid-cols-4 gap-6 items-stretch">
106106
{[
107107
{
108108
title: "Wallets",
@@ -184,7 +184,7 @@ import {
184184
}
185185
].map((card) => (
186186
<Link key={card.title} href={card.href}>
187-
<Card className="text-center hover:border-primary/50 transition-colors px-4 py-8">
187+
<Card className="h-full text-center hover:border-primary/50 transition-colors px-4 py-8">
188188
<CardTitle className="font-heading">{card.title}</CardTitle>
189189
<CardDescription>{card.description}</CardDescription>
190190
</Card>
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: "Mesh API"
3+
description: "From wallet integrations to transaction builders, Mesh makes Web3 development easy with reliable, scalable, and well-engineered APIs & developer tools."
4+
---
5+
6+
import {
7+
Card,
8+
CardAction,
9+
CardContent,
10+
CardDescription,
11+
CardFooter,
12+
CardHeader,
13+
CardTitle,
14+
} from "@/components/ui/card";
15+
import {
16+
BoltIcon,
17+
PaintBrushIcon,
18+
RocketLaunchIcon,
19+
WalletIcon,
20+
BanknotesIcon,
21+
MagnifyingGlassIcon,
22+
WrenchScrewdriverIcon,
23+
ComputerDesktopIcon,
24+
DocumentCheckIcon,
25+
CloudIcon,
26+
} from "@heroicons/react/24/solid";
27+
import Link from "next/link";
28+
29+
<div className="grid md:grid-cols-2 lg:grid-cols-4 gap-6 items-stretch">
30+
{[
31+
{
32+
title: "Wallets",
33+
href: "/apis/wallets",
34+
icon: <WalletIcon />,
35+
description: "Wallets APIs for interacting with the blockchain"
36+
},
37+
{
38+
title: "Transaction Builder",
39+
href: "/apis/txbuilder",
40+
icon: <BanknotesIcon />,
41+
description: "Build transactions with cardano-cli like APIs"
42+
},
43+
{
44+
title: "Transaction Parser",
45+
href: "/apis/txparser",
46+
icon: <MagnifyingGlassIcon />,
47+
description: "Parse transactions for testing and rebuilding"
48+
},
49+
{
50+
title: "Utilities",
51+
href: "/apis/utilities",
52+
icon: <WrenchScrewdriverIcon />,
53+
description: "Serializers, resolvers and data types for converting between different formats"
54+
},
55+
].map((card) => (
56+
<Link key={card.title} href={card.href} className="no-underline">
57+
<Card className="h-full text-center hover:border-primary/50 transition-colors px-4 py-8">
58+
<CardTitle className="font-heading">{card.title}</CardTitle>
59+
<CardDescription>{card.description}</CardDescription>
60+
</Card>
61+
</Link>
62+
))}
63+
</div>

0 commit comments

Comments
 (0)