|
| 1 | +--- |
| 2 | +const { lang } = Astro.props; |
| 3 | +
|
| 4 | +import { getEntry } from "astro:content"; |
| 5 | +
|
| 6 | +const strings = await getEntry("strings", `${lang}/strings`); |
| 7 | +
|
| 8 | +const github = "https://github.com/sponsors/FossifyOrg"; |
| 9 | +const patreon = "https://www.patreon.com/naveen3singh"; |
| 10 | +const paypal = "https://paypal.me/naveen3singh"; |
| 11 | +const liberapay = "https://liberapay.com/naveensingh"; |
| 12 | +const opencollective = "https://opencollective.com/fossify"; |
| 13 | +const bitcoin = "bc1q5flmuh5f3canqza07cfekjn64p2aqvd2w7pnn3"; |
| 14 | +const ethereum = "0x9354fC372BC3BdA58766a8a9Fabadf77A76CdE01"; |
| 15 | +const monero = |
| 16 | + "48FkVUcJ7AGeBMR4SC4J7QU5nAt6YNwKZWz6sGDT1s5haEY7reZtJr5CniXLaQzTzGAuZNoc83BQAcETHw1d3Lkn8AAf1XF"; |
| 17 | +const tron = "TGi4VpD1D9A9ZvyP9d3aVowwzMSvev2hub"; |
| 18 | +--- |
| 19 | + |
| 20 | +<section class="wrapper"> |
| 21 | + <h1>{strings?.data.donation.title}</h1> |
| 22 | + <p>{strings?.data.donation.description}</p> |
| 23 | + <div class="support-list"> |
| 24 | + <p> |
| 25 | + <strong>GitHub Sponsors:</strong> |
| 26 | + <a href={github} target="_blank">{github}</a> |
| 27 | + </p> |
| 28 | + <p> |
| 29 | + <strong>Patreon:</strong> |
| 30 | + <a href={patreon} target="_blank">{patreon}</a> |
| 31 | + </p> |
| 32 | + <p> |
| 33 | + <strong>PayPal:</strong> |
| 34 | + <a href={paypal} target="_blank">{paypal}</a> |
| 35 | + </p> |
| 36 | + <p> |
| 37 | + <strong>Liberapay:</strong> |
| 38 | + <a href={liberapay} target="_blank">{liberapay}</a> |
| 39 | + </p> |
| 40 | + <p> |
| 41 | + <strong>OpenCollective:</strong> |
| 42 | + <a href={opencollective} target="_blank">{opencollective}</a> |
| 43 | + </p> |
| 44 | + <p><strong>Bitcoin:</strong> <code>{bitcoin}</code></p> |
| 45 | + <p><strong>Ethereum:</strong><code>{ethereum}</code></p> |
| 46 | + <p><strong>Monero:</strong> <code>{monero}</code></p> |
| 47 | + <p><strong>Tron:</strong> <code>{tron}</code></p> |
| 48 | + </div> |
| 49 | +</section> |
| 50 | + |
| 51 | +<style> |
| 52 | + section > h1 { |
| 53 | + text-align: center; |
| 54 | + font-weight: 600; |
| 55 | + color: var(--primary); |
| 56 | + font-size: var(--fs-lg); |
| 57 | + } |
| 58 | + |
| 59 | + section > p { |
| 60 | + text-align: center; |
| 61 | + margin: 1rem 0; |
| 62 | + } |
| 63 | + |
| 64 | + .support-list a { |
| 65 | + color: var(--primary); |
| 66 | + } |
| 67 | + |
| 68 | + .support-list p > strong { |
| 69 | + font-weight: 600; |
| 70 | + } |
| 71 | + |
| 72 | + .support-list p { |
| 73 | + margin: 0.75rem 0; |
| 74 | + } |
| 75 | + |
| 76 | + .support-list code { |
| 77 | + background-color: var(--surface-container); |
| 78 | + padding: 0.25rem 0.5rem; |
| 79 | + border-radius: 0.25rem; |
| 80 | + margin-right: 0.5rem; |
| 81 | + } |
| 82 | +</style> |
0 commit comments