Skip to content

Commit 1166231

Browse files
dalibranclaude
andcommitted
docs(website): restructure Wallets use case with card landing
Replace the standalone Light Wallets page with a Wallets landing that introduces both wallet shapes and surfaces the Light wallets integration guide and the Daedalus case study as cards. Merge the separate Case Studies section into Use Cases so the Daedalus study lives under Wallets in the sidebar. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0daea07 commit 1166231

10 files changed

Lines changed: 149 additions & 31 deletions

File tree

docs/website/docusaurus.config.js

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ const config = {
246246
items: [
247247
{
248248
type: "doc",
249-
docId: "use-cases/wallets",
250-
label: "Light wallets",
249+
docId: "use-cases/wallets/index",
250+
label: "Wallets",
251251
},
252252
{
253253
type: "doc",
@@ -256,18 +256,6 @@ const config = {
256256
},
257257
],
258258
},
259-
{
260-
type: "dropdown",
261-
label: "Case Studies",
262-
position: "left",
263-
items: [
264-
{
265-
type: "doc",
266-
docId: "case-studies/daedalus",
267-
label: "Daedalus",
268-
},
269-
],
270-
},
271259
{
272260
type: "docsVersionDropdown",
273261
position: "right",

docs/website/root/case-studies/daedalus.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: daedalus
33
title: Daedalus
4-
sidebar_label: Daedalus
4+
sidebar_label: "Case Study: Daedalus Wallet"
55
---
66

77
# Daedalus: faster initial sync with Mithril
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Wallets
3+
sidebar_label: Wallets
4+
---
5+
6+
import Link from '@docusaurus/Link';
7+
8+
# Mithril for wallets
9+
10+
Cardano wallets come in two broad shapes: **light wallets** that delegate ledger storage to hosted infrastructure, and **full-node wallets** that run a Cardano node locally. Mithril improves user experience for both — in different ways.
11+
12+
For **light wallets**, Mithril enables trustless verification of transaction inclusion. Instead of trusting a hosted API response, a wallet verifies a stake-weighted Mithril proof locally — preserving familiar infrastructure while adding a cryptographic guarantee.
13+
14+
For **full-node wallets**, Mithril dramatically shortens the time to a usable wallet on first install. Rather than replaying the chain from genesis, the wallet bootstraps from a Mithril-certified snapshot of the Cardano node database, with the same trust guarantees as a chain-replayed node.
15+
16+
<div className="wallet-card-grid">
17+
<Link to="/use-cases/wallets/light-wallets" className="wallet-card">
18+
<div className="wallet-card__content">
19+
<h3>Light wallets</h3>
20+
<p>An integration guide for light wallets</p>
21+
</div>
22+
</Link>
23+
<Link to="/case-studies/daedalus" className="wallet-card">
24+
<div className="wallet-card__content">
25+
<h3>Daedalus Wallet</h3>
26+
<p>A full-node wallet case study</p>
27+
</div>
28+
<img
29+
src="/doc/img/daedalus-logo.svg"
30+
alt="Daedalus"
31+
className="wallet-card__logo"
32+
/>
33+
</Link>
34+
</div>

docs/website/root/use-cases/wallets.mdx renamed to docs/website/root/use-cases/wallets/light-wallets.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
id: wallets
3-
title: Light Wallets
2+
id: light-wallets
3+
title: Light wallets
44
sidebar_label: Light wallets
55
---
66

docs/website/sidebars.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,16 @@ const sidebars = {
2626
],
2727
useCasesSideBar: [
2828
{
29-
type: "autogenerated",
30-
dirName: "use-cases",
31-
},
32-
],
33-
caseStudiesSideBar: [
34-
{
35-
type: "autogenerated",
36-
dirName: "case-studies",
29+
type: "category",
30+
label: "Wallets",
31+
link: { type: "doc", id: "use-cases/wallets/index" },
32+
collapsed: false,
33+
items: [
34+
{ type: "doc", id: "use-cases/wallets/light-wallets" },
35+
{ type: "doc", label: "Case Study: Daedalus Wallet", id: "case-studies/daedalus"},
36+
],
3737
},
38+
{ type: "doc", id: "use-cases/bridges" },
3839
],
3940
};
4041

docs/website/src/css/custom.css

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,60 @@ a.menu__link {
265265
margin-bottom: 0;
266266
}
267267

268+
.wallet-card-grid {
269+
display: grid;
270+
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
271+
gap: 1rem;
272+
margin: 2rem 0;
273+
}
274+
275+
.wallet-card {
276+
display: flex;
277+
align-items: center;
278+
justify-content: space-between;
279+
gap: 1rem;
280+
padding: 1.25rem 1.5rem;
281+
border: 1px solid var(--ifm-color-emphasis-200);
282+
border-radius: 0.5rem;
283+
color: inherit;
284+
background: var(--ifm-card-background-color, var(--ifm-background-surface-color));
285+
transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
286+
}
287+
288+
.markdown .wallet-card,
289+
.markdown .wallet-card:hover {
290+
text-decoration: none;
291+
}
292+
293+
.wallet-card:hover {
294+
border-color: var(--ifm-color-primary);
295+
transform: translateY(-1px);
296+
box-shadow: 0 4px 12px var(--ifm-color-emphasis-200);
297+
}
298+
299+
.wallet-card__content {
300+
flex: 1;
301+
min-width: 0;
302+
}
303+
304+
.wallet-card__content h3 {
305+
margin: 0 0 0.25rem;
306+
font-size: 1.125rem;
307+
font-weight: 600;
308+
}
309+
310+
.wallet-card__content p {
311+
margin: 0;
312+
color: var(--ifm-color-emphasis-700);
313+
font-size: 0.9375rem;
314+
}
315+
316+
.wallet-card__logo {
317+
flex-shrink: 0;
318+
width: 70px;
319+
height: auto;
320+
}
321+
268322
.markdown a {
269323
text-decoration: underline;
270324
text-underline-offset: 2px;

docs/website/versioned_docs/version-maintained/case-studies/daedalus.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: daedalus
33
title: Daedalus
4-
sidebar_label: Daedalus
4+
sidebar_label: "Case Study: Daedalus Wallet"
55
---
66

77
# Daedalus: faster initial sync with Mithril
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Wallets
3+
sidebar_label: Wallets
4+
---
5+
6+
import Link from '@docusaurus/Link';
7+
8+
# Mithril for wallets
9+
10+
Cardano wallets come in two broad shapes: **light wallets** that delegate ledger storage to hosted infrastructure, and **full-node wallets** that run a Cardano node locally. Mithril improves user experience for both — in different ways.
11+
12+
For **light wallets**, Mithril enables trustless verification of transaction inclusion. Instead of trusting a hosted API response, a wallet verifies a stake-weighted Mithril proof locally — preserving familiar infrastructure while adding a cryptographic guarantee.
13+
14+
For **full-node wallets**, Mithril dramatically shortens the time to a usable wallet on first install. Rather than replaying the chain from genesis, the wallet bootstraps from a Mithril-certified snapshot of the Cardano node database, with the same trust guarantees as a chain-replayed node.
15+
16+
<div className="wallet-card-grid">
17+
<Link to="/use-cases/wallets/light-wallets" className="wallet-card">
18+
<div className="wallet-card__content">
19+
<h3>Light wallets</h3>
20+
<p>An integration guide for light wallets</p>
21+
</div>
22+
</Link>
23+
<Link to="/case-studies/daedalus" className="wallet-card">
24+
<div className="wallet-card__content">
25+
<h3>Daedalus Wallet</h3>
26+
<p>A full-node wallet case study</p>
27+
</div>
28+
<img
29+
src="/doc/img/daedalus-logo.svg"
30+
alt="Daedalus"
31+
className="wallet-card__logo"
32+
/>
33+
</Link>
34+
</div>

docs/website/versioned_docs/version-maintained/use-cases/wallets.mdx renamed to docs/website/versioned_docs/version-maintained/use-cases/wallets/light-wallets.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
id: wallets
3-
title: Light Wallets
2+
id: light-wallets
3+
title: Light wallets
44
sidebar_label: Light wallets
55
---
66

docs/website/versioned_sidebars/version-maintained-sidebars.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,15 @@
2323
],
2424
"useCasesSideBar": [
2525
{
26-
"type": "autogenerated",
27-
"dirName": "use-cases"
28-
}
26+
"type": "category",
27+
"label": "Wallets",
28+
"link": { "type": "doc", "id": "use-cases/wallets/index" },
29+
"collapsed": false,
30+
"items": [
31+
{ "type": "doc", "id": "use-cases/wallets/light-wallets" },
32+
{ "type": "doc", "id": "case-studies/daedalus", "label": "Case Study: Daedalus Wallet" }
33+
]
34+
},
35+
{ "type": "doc", "id": "use-cases/bridges" }
2936
]
3037
}

0 commit comments

Comments
 (0)