|
| 1 | +import React from "react"; |
| 2 | +import Link from "@docusaurus/Link"; |
| 3 | +import Layout from "@theme/Layout"; |
| 4 | +import styles from "./wallets.module.css"; |
| 5 | + |
| 6 | +function WalletCard({ wallet }) { |
| 7 | + return ( |
| 8 | + <a |
| 9 | + href={wallet.link} |
| 10 | + target="_blank" |
| 11 | + rel="noopener noreferrer" |
| 12 | + className={styles.walletCard} |
| 13 | + > |
| 14 | + <div className={styles.walletImageContainer}> |
| 15 | + {wallet.screenshot ? ( |
| 16 | + <img |
| 17 | + src={wallet.screenshot} |
| 18 | + alt={`${wallet.name} screenshot`} |
| 19 | + className={styles.walletImage} |
| 20 | + /> |
| 21 | + ) : ( |
| 22 | + <div className={styles.walletImagePlaceholder}> |
| 23 | + <span>Screenshot coming soon</span> |
| 24 | + </div> |
| 25 | + )} |
| 26 | + </div> |
| 27 | + <div className={styles.walletContent}> |
| 28 | + <h3 className={styles.walletName}>{wallet.name}</h3> |
| 29 | + <p className={styles.walletDescription}>{wallet.description}</p> |
| 30 | + <div className={styles.walletTags}> |
| 31 | + {wallet.platforms.map((platform) => ( |
| 32 | + <span key={platform} className={`${styles.tag} ${styles.platformTag}`}> |
| 33 | + {platform} |
| 34 | + </span> |
| 35 | + ))} |
| 36 | + {wallet.isBeta && ( |
| 37 | + <span className={`${styles.tag} ${styles.betaTag}`}>beta</span> |
| 38 | + )} |
| 39 | + </div> |
| 40 | + <span className={styles.walletLink}> |
| 41 | + Learn more → |
| 42 | + </span> |
| 43 | + </div> |
| 44 | + </a> |
| 45 | + ); |
| 46 | +} |
| 47 | + |
| 48 | +function CLISection() { |
| 49 | + return ( |
| 50 | + <div className={styles.cliSection}> |
| 51 | + <div className={styles.cliContent}> |
| 52 | + <h3>Fedimint CLI</h3> |
| 53 | + <p> |
| 54 | + Command-line wallet included in Fedimint, primarily used for testing and debugging. |
| 55 | + Perfect for developers and advanced users who want direct access to Fedimint's core functionality. |
| 56 | + </p> |
| 57 | + <div className={styles.walletTags}> |
| 58 | + <span className={`${styles.tag} ${styles.platformTag}`}>CLI</span> |
| 59 | + </div> |
| 60 | + <a |
| 61 | + href="https://github.com/fedimint/fedimint/" |
| 62 | + target="_blank" |
| 63 | + rel="noopener noreferrer" |
| 64 | + className={styles.walletLink} |
| 65 | + > |
| 66 | + View on GitHub → |
| 67 | + </a> |
| 68 | + </div> |
| 69 | + </div> |
| 70 | + ); |
| 71 | +} |
| 72 | + |
| 73 | +export default function Wallets() { |
| 74 | + const wallets = [ |
| 75 | + { |
| 76 | + name: "Fedi", |
| 77 | + description: "Source-available mobile app for Fedimint with caht and community features. A fully-featured, production-ready wallet designed for everyday use.", |
| 78 | + link: "https://www.fedi.xyz/product/", |
| 79 | + platforms: ["iOS", "Android", "APK"], |
| 80 | + isBeta: false, |
| 81 | + screenshot: require("@site/static/img/wallets/fedi.png").default, |
| 82 | + }, |
| 83 | + { |
| 84 | + name: "Ecash App", |
| 85 | + description: "Open source Fedimint wallet under active development. Built with a focus on power-users and exploration of new Fedimint features.", |
| 86 | + link: "https://ecash.love", |
| 87 | + platforms: ["APK"], |
| 88 | + isBeta: false, |
| 89 | + screenshot: require("@site/static/img/wallets/ecash-app.png").default, |
| 90 | + }, |
| 91 | + { |
| 92 | + name: "Vipr", |
| 93 | + description: "Open source PWA Fedimint wallet in beta stage. Expect evolving features and ongoing improvements.", |
| 94 | + link: "https://beta.vipr.cash/", |
| 95 | + platforms: ["Web"], |
| 96 | + isBeta: true, |
| 97 | + screenshot: require("@site/static/img/wallets/vipr.png").default, |
| 98 | + }, |
| 99 | + { |
| 100 | + name: "Harbor", |
| 101 | + description: "Open source Fedimint wallet in very early development. Currently supports signet only, perfect for testing and experimentation.", |
| 102 | + link: "https://github.com/MutinyWallet/harbor", |
| 103 | + platforms: ["Desktop"], |
| 104 | + isBeta: true, |
| 105 | + screenshot: require("@site/static/img/wallets/harbor.png").default, |
| 106 | + }, |
| 107 | + ]; |
| 108 | + |
| 109 | + return ( |
| 110 | + <Layout |
| 111 | + title="Wallets" |
| 112 | + description="Explore the ecosystem of Fedimint wallets - from mobile apps to web-based solutions." |
| 113 | + > |
| 114 | + <section |
| 115 | + style={{ |
| 116 | + background: "var(--body-background)", |
| 117 | + color: "var(--header-font-color)", |
| 118 | + padding: "4rem 0 2rem 0", |
| 119 | + textAlign: "center", |
| 120 | + }} |
| 121 | + > |
| 122 | + <div style={{ maxWidth: 1000, margin: "0 auto", padding: "0 1rem" }}> |
| 123 | + <h1 style={{ fontSize: "3rem", fontWeight: 700, margin: "0.5em 0" }}> |
| 124 | + Fedimint Wallets |
| 125 | + </h1> |
| 126 | + <p style={{ fontSize: "1.5rem", maxWidth: 600, margin: "0 auto 2em auto" }}> |
| 127 | + Choose from a growing ecosystem of wallets to hold, send and receive Bitcoin privately. |
| 128 | + </p> |
| 129 | + </div> |
| 130 | + </section> |
| 131 | + |
| 132 | + <main style={{ padding: "2rem 0 4rem 0" }}> |
| 133 | + <div className="container" style={{ maxWidth: 1000 }}> |
| 134 | + <div className={styles.walletsGrid}> |
| 135 | + {wallets.map((wallet) => ( |
| 136 | + <WalletCard key={wallet.name} wallet={wallet} /> |
| 137 | + ))} |
| 138 | + </div> |
| 139 | + |
| 140 | + <div style={{ marginTop: "4rem" }}> |
| 141 | + <h2 style={{ textAlign: "center", fontSize: "2rem", fontWeight: 700, marginBottom: "2rem" }}> |
| 142 | + Developer Tools |
| 143 | + </h2> |
| 144 | + <CLISection /> |
| 145 | + </div> |
| 146 | + </div> |
| 147 | + </main> |
| 148 | + </Layout> |
| 149 | + ); |
| 150 | +} |
0 commit comments