Skip to content

feat: add home page to mintd#1760

Open
thesimplekid wants to merge 3 commits intocashubtc:mainfrom
thesimplekid:add_home_page
Open

feat: add home page to mintd#1760
thesimplekid wants to merge 3 commits intocashubtc:mainfrom
thesimplekid:add_home_page

Conversation

@thesimplekid
Copy link
Collaborator

@thesimplekid thesimplekid commented Mar 23, 2026

Description


It is common for users to click on the mint url
and see nothing and think the mint is not working
not realizing they need to use that url only within a cashu wallet as it is api only. This adds a minimal home page showing basic mint info and a note to use a cashu wallet.

image

Notes to the reviewers


Suggested CHANGELOG Updates

CHANGED

ADDED

REMOVED

FIXED


Checklist

@github-project-automation github-project-automation bot moved this to Backlog in CDK Mar 23, 2026
@thesimplekid thesimplekid force-pushed the add_home_page branch 2 times, most recently from 16dedcc to 8eb4564 Compare March 23, 2026 10:10
@thesimplekid thesimplekid added this to the 0.16.0 milestone Mar 23, 2026
Copy link
Contributor

@swedishfrenchpress swedishfrenchpress left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vibe designed an update here: https://github.com/swedishfrenchpress/cdk/tree/add_home_page_redesign

I would like to see how it displays info from a real mint. I gave Claude explicit instructions to make sure it accounts for all the info that a real mint could display like mint url, motd, description etc..

Mock up:
image

@github-project-automation github-project-automation bot moved this from Backlog to In progress in CDK Mar 23, 2026
@thesimplekid
Copy link
Collaborator Author

@swedishfrenchpress your changes applied in 883252d

Comment on lines +922 to +928
head {
title { (name) }
meta charset="utf-8";
meta name="viewport" content="width=device-width, initial-scale=1";
link rel="preconnect" href="https://fonts.googleapis.com";
link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet";
style { (maud::PreEscaped(CSS)) }
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we would like to avoid the google fonts.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, third party fonts are a privacy issue. Either bundle the font or rely on the users system font

@thesimplekid thesimplekid force-pushed the add_home_page branch 2 times, most recently from 6e1984d to 73f79b8 Compare March 23, 2026 23:03
thesimplekid and others added 3 commits March 23, 2026 23:04
It is comment for users to click on the mint url
and see nothing and think the mint is not working
not realizing they need to use that url only within
a cashu wallet as it is api only. This adds a minimal home page
showing basic mint info and a note to use a cashu wallet.
Replace the old light/dark mode info page with a new dark-theme design
featuring a sticky topbar, hero section with avatar, MOTD banner,
unified detail card with features grid, and contact chips. Also fix
duplicate mint/melt limits by deduplicating with BTreeSet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

3 participants